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)
Tue, Dec 17, 8:51 PM
Unknown Object (File)
Sat, Dec 14, 1:45 AM
Unknown Object (File)
Sun, Dec 1, 2:21 AM
Unknown Object (File)
Oct 31 2024, 10:59 AM
Unknown Object (File)
Oct 26 2024, 12:30 PM
Unknown Object (File)
Oct 22 2024, 3:57 PM
Unknown Object (File)
Oct 13 2024, 3:11 AM
Unknown Object (File)
Oct 12 2024, 2: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