Page MenuHomePhabricator

Make new DiffInline code handle most "delete" operations
ClosedPublic

Authored by epriestley on May 15 2017, 10:10 PM.
Tags
None
Referenced Files
Unknown Object (File)
Fri, Jun 5, 9:56 AM
Unknown Object (File)
Apr 4 2026, 8:20 AM
Unknown Object (File)
Mar 29 2026, 10:01 AM
Unknown Object (File)
Mar 28 2026, 2:14 PM
Unknown Object (File)
Mar 14 2026, 3:12 AM
Unknown Object (File)
Mar 12 2026, 9:58 PM
Unknown Object (File)
Mar 1 2026, 8:56 PM
Unknown Object (File)
Jan 15 2026, 9:55 AM
Subscribers
None

Details

Summary

Ref T12616. This moves the delete actions to the new, more stateful way of doing things.

These are a little tricky because you can click "Delete" on an inline, but you can also click "Delete" from the preview area at the bottom of the page. If you do, the inline you are deleting may or may not be present on the page.

This has a few bugs -- notably, deleting from the preview without interacting with the on-page inline first won't actually delete the on-page inline yet -- but nothing too serious.

Test Plan

Deleted inlines, undid deletion, deleted from preview.

Diff Detail

Repository
rP Phabricator
Lint
Lint Not Applicable
Unit
Tests Not Applicable