Page MenuHomePhabricator

When rendering changesets, discard empty draft inline comments
ClosedPublic

Authored by epriestley on May 4 2020, 5:18 PM.
Tags
None
Referenced Files
Unknown Object (File)
Thu, Apr 11, 7:20 AM
Unknown Object (File)
Sat, Apr 6, 5:03 PM
Unknown Object (File)
Sun, Mar 31, 2:49 PM
Unknown Object (File)
Sun, Mar 31, 2:49 PM
Unknown Object (File)
Sun, Mar 31, 2:49 PM
Unknown Object (File)
Sun, Mar 31, 2:49 PM
Unknown Object (File)
Thu, Mar 28, 1:55 AM
Unknown Object (File)
Mar 19 2024, 6:01 AM
Subscribers
None

Details

Summary

Ref T13513. When you load a changeset, discard all empty inlines. This is likely a more desirable behavior than keeping empty editors around, even though the rest of the pipeline generally handles them fairly well now.

Test Plan
  • Started an inline, didn't type any text or save, reloaded page.
    • Before: page restores empty editor in the same place.
    • After: we just discard this likely-pointless empty inline.

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:16 PM
This revision was automatically updated to reflect the committed changes.