Page MenuHomePhabricator

Don't publish "empty" inline comments
ClosedPublic

Authored by epriestley on May 4 2020, 4:26 PM.
Tags
None
Referenced Files
Unknown Object (File)
Tue, Mar 5, 12:06 PM
Unknown Object (File)
Jan 11 2024, 12:04 PM
Unknown Object (File)
Jan 9 2024, 8:12 AM
Unknown Object (File)
Jan 5 2024, 6:29 PM
Unknown Object (File)
Dec 25 2023, 6:08 PM
Unknown Object (File)
Dec 22 2023, 8:09 AM
Unknown Object (File)
Dec 19 2023, 11:36 PM
Unknown Object (File)
Dec 19 2023, 6:44 PM
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.