Page MenuHomePhabricator

Fix minor inline comment header button behaviors
ClosedPublic

Authored by epriestley on Jun 8 2017, 2:06 AM.
Tags
None
Referenced Files
Unknown Object (File)
Thu, Nov 21, 4:24 AM
Unknown Object (File)
Thu, Nov 21, 4:24 AM
Unknown Object (File)
Thu, Nov 21, 4:24 AM
Unknown Object (File)
Thu, Nov 21, 3:57 AM
Unknown Object (File)
Mon, Nov 11, 6:03 AM
Unknown Object (File)
Sun, Nov 3, 6:19 AM
Unknown Object (File)
Sat, Nov 2, 12:33 AM
Unknown Object (File)
Oct 23 2024, 3:05 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
Branch
inline1
Lint
Lint Passed
Unit
Tests Passed
Build Status
Buildable 17445
Build 23386: Run Core Tests
Build 23385: arc lint + arc unit

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.