Page MenuHomePhabricator

Fix minor inline comment header button behaviors
ClosedPublic

Authored by epriestley on Jun 8 2017, 2:06 AM.
Tags
None
Referenced Files
F19530799: D18103.diff
Jan 20 2026, 12:22 AM
F19527300: D18103.diff
Jan 19 2026, 12:23 AM
F19357265: D18103.diff
Dec 26 2025, 7:47 AM
F19304225: D18103.diff
Dec 24 2025, 8:10 AM
F18933621: D18103.id.diff
Nov 10 2025, 11:54 AM
F18884294: D18103.diff
Nov 7 2025, 12:49 AM
F18881507: D18103.id.diff
Nov 6 2025, 9:31 PM
F18831103: D18103.id43549.diff
Oct 25 2025, 10:56 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.