Page MenuHomePhabricator

Don't publish "empty" inline comments
ClosedPublic

Authored by epriestley on May 4 2020, 4:26 PM.
Tags
None
Referenced Files
F18788714: D21211.id50525.diff
Wed, Oct 15, 6:09 AM
F18750863: D21211.diff
Sat, Oct 4, 9:06 AM
F18736011: D21211.id.diff
Wed, Oct 1, 4:31 AM
F18724485: D21211.diff
Tue, Sep 30, 3:45 AM
F18699578: D21211.id50512.diff
Sat, Sep 27, 1:05 PM
F18646550: D21211.id.diff
Fri, Sep 19, 10:15 AM
F18430785: D21211.id.diff
Aug 31 2025, 4:25 AM
F18409107: D21211.diff
Aug 30 2025, 3:40 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
Lint
Lint Not Applicable
Unit
Tests Not Applicable

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.