Page MenuHomePhabricator

When cancelling an inline comment edit, exit the edit state after the response arrives
ClosedPublic

Authored by epriestley on May 14 2020, 6:19 PM.
Tags
None
Referenced Files
F18833169: D21253.diff
Sun, Oct 26, 1:09 AM
F18819589: D21253.id.diff
Wed, Oct 22, 7:20 AM
F18813547: D21253.diff
Mon, Oct 20, 5:19 PM
F18813185: D21253.id50614.diff
Mon, Oct 20, 2:33 PM
F18810451: D21253.diff
Sun, Oct 19, 9:34 PM
F18803560: D21253.diff
Sat, Oct 18, 1:17 AM
F18795233: D21253.id50609.diff
Fri, Oct 17, 1:46 AM
F18784681: D21253.id50609.diff
Mon, Oct 13, 2:25 PM
Subscribers
None

Details

Summary

Ref T13513. This fixes a bug where clicking a line number, then clicking "Cancel" causes the paths panel to briefly update with an extra inline comment counted on the file.

Test Plan
  • Clicked a line number.
  • Typed some text.
  • Clicked "Cancel".
  • Before patch: paths panel flashes "1".
  • After patch: paths panel stays stable.

Diff Detail

Repository
rP Phabricator
Lint
Lint Not Applicable
Unit
Tests Not Applicable