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
F15281342: D21253.diff
Mon, Mar 3, 4:59 PM
Unknown Object (File)
Mon, Feb 24, 2:44 AM
Unknown Object (File)
Sun, Feb 23, 10:37 PM
Unknown Object (File)
Fri, Feb 21, 6:10 PM
Unknown Object (File)
Fri, Feb 21, 5:09 PM
Unknown Object (File)
Sun, Feb 9, 9:18 AM
Unknown Object (File)
Sun, Feb 9, 9:18 AM
Unknown Object (File)
Sun, Feb 9, 9:18 AM
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