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)
Sun, Dec 8, 5:23 AM
Unknown Object (File)
Tue, Dec 3, 12:12 AM
Unknown Object (File)
Nov 19 2024, 12:05 PM
Unknown Object (File)
Oct 24 2024, 6:14 AM
Unknown Object (File)
Oct 21 2024, 10:26 AM
Unknown Object (File)
Oct 21 2024, 10:15 AM
Unknown Object (File)
Oct 20 2024, 11:38 AM
Unknown Object (File)
Oct 20 2024, 7:04 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.