Page MenuHomePhabricator

Fix minor inline comment header button behaviors
ClosedPublic

Authored by epriestley on Jun 8 2017, 2:06 AM.
Tags
None
Referenced Files
F18933621: D18103.id.diff
Mon, Nov 10, 11:54 AM
F18884294: D18103.diff
Fri, Nov 7, 12:49 AM
F18881507: D18103.id.diff
Thu, Nov 6, 9:31 PM
F18831103: D18103.id43549.diff
Oct 25 2025, 10:56 AM
F18751689: D18103.id43550.diff
Oct 4 2025, 12:11 PM
F18750563: D18103.id43549.diff
Oct 4 2025, 8:14 AM
F18749523: D18103.diff
Oct 4 2025, 4:09 AM
F18626870: D18103.diff
Sep 16 2025, 2:41 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.