Page MenuHomePhabricator

Fix an issue where inline comments with only edit suggestions are considered empty
ClosedPublic

Authored by epriestley on May 23 2020, 3:18 PM.
Tags
None
Referenced Files
F13099172: D21287.id.diff
Fri, Apr 26, 1:41 PM
F13098517: D21287.id.diff
Fri, Apr 26, 7:45 AM
F13097108: D21287.id50690.diff
Thu, Apr 25, 9:08 PM
Unknown Object (File)
Wed, Apr 24, 11:52 PM
Unknown Object (File)
Tue, Apr 23, 8:37 PM
Unknown Object (File)
Tue, Apr 23, 5:50 PM
Unknown Object (File)
Sat, Apr 20, 12:16 AM
Unknown Object (File)
Thu, Apr 11, 8:08 AM
Subscribers

Details

Summary

Ref T13513. An inline is not considered empty if it has a suggestion, but some of the shared transaction code doesn't test for this properly.

Update the shared transaction code to be aware that application comments may have more complex emptiness rules.

Test Plan
  • Posted an inline with only an edit suggestion, comment went through.
  • Tried to post a normal empty comment, got an appropriate warning.

Diff Detail

Repository
rP Phabricator
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

@epriestley - empty inline comment with suggestion renders rather peculiar transaction which is somewhat confusing and odd... Any plans on tackling it? Like See context greyed out...

image.png (155×1 px, 21 KB)