Page MenuHomePhabricator

Don't publish "empty" inline comments
ClosedPublic

Authored by epriestley on May 4 2020, 4:26 PM.
Tags
None
Referenced Files
F19387938: D21211.id50525.diff
Sat, Dec 27, 4:02 AM
F19318244: D21211.id50525.diff
Thu, Dec 25, 6:31 AM
F19312970: D21211.id50525.diff
Thu, Dec 25, 12:57 AM
F19269182: D21211.id50525.diff
Mon, Dec 22, 9:33 PM
F19154336: D21211.diff
Thu, Dec 11, 2:30 PM
F19152698: D21211.diff
Thu, Dec 11, 4:33 AM
F19095342: D21211.id.diff
Thu, Dec 4, 4:53 AM
F19088334: D21211.diff
Wed, Dec 3, 3:51 AM
Subscribers
None

Details

Summary

Ref T13513. Currently, if you start an inline and then submit overall comments, we publish an empty inline. This is literally faithful to what you did, but almost certainly not the intent.

Instead, simply ignore empty inlines at publishing time (and ignore "done" state changes for those comments).

We could delete them outright, but if we do, they'll break if you have another window open with the empty inline (since the stored comment won't exist anymore). At least for now, leave them in place.

Test Plan

Created empty inlines, submitted comments, no longer saw them publish.

Diff Detail

Repository
rP Phabricator
Branch
inline6
Lint
Lint Passed
Unit
Tests Passed
Build Status
Buildable 24329
Build 33516: Run Core Tests
Build 33515: arc lint + arc unit

Event Timeline

This revision was not accepted when it landed; it landed in state Needs Review.May 4 2020, 8:14 PM
This revision was automatically updated to reflect the committed changes.