Page MenuHomePhabricator

Fix minor inline comment header button behaviors
ClosedPublic

Authored by epriestley on Jun 8 2017, 2:06 AM.
Tags
None
Referenced Files
F13060923: D18103.diff
Fri, Apr 19, 6:35 PM
Unknown Object (File)
Wed, Apr 17, 2:52 PM
Unknown Object (File)
Sun, Apr 14, 5:49 AM
Unknown Object (File)
Sat, Apr 6, 5:57 AM
Unknown Object (File)
Wed, Mar 27, 8:13 PM
Unknown Object (File)
Feb 21 2024, 6:37 PM
Unknown Object (File)
Feb 7 2024, 9:00 PM
Unknown Object (File)
Feb 4 2024, 8:27 AM
Subscribers
None

Details

Summary

Fixes T12806. Ref T12733.

  • Don't count synthetic (lint) comments as anything.
  • When you begin writing an inline then cancel it, don't count it as anything.
  • When we would show "0 / X", just show "X".
Test Plan
  • Viewed a diff with synthetic comments, no button.
  • Wrote, then cancelled an inline. No "X comments".
  • Clicked / unlicked "Done", saw "X" -> "1 / X".

Diff Detail

Repository
rP Phabricator
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

This revision is now accepted and ready to land.Jun 8 2017, 2:09 AM
This revision was automatically updated to reflect the committed changes.