Page MenuHomePhabricator

Fix minor inline comment header button behaviors
ClosedPublic

Authored by epriestley on Jun 8 2017, 2:06 AM.
Tags
None
Referenced Files
F18626870: D18103.diff
Tue, Sep 16, 2:41 AM
F18615029: D18103.diff
Sun, Sep 14, 1:26 PM
F18508906: D18103.id.diff
Fri, Sep 5, 3:05 AM
F18501203: D18103.diff
Thu, Sep 4, 9:36 PM
F18397193: D18103.id43549.diff
Aug 29 2025, 1:16 PM
F18396596: D18103.id43550.diff
Aug 29 2025, 12:31 PM
F18094726: D18103.id.diff
Aug 7 2025, 10:18 PM
F18051434: D18103.id.diff
Aug 3 2025, 11:19 PM
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.