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)
Sun, Mar 17, 1:05 AM
Unknown Object (File)
Feb 26 2024, 9:29 AM
Unknown Object (File)
Feb 8 2024, 2:05 PM
Unknown Object (File)
Jan 30 2024, 11:49 PM
Unknown Object (File)
Jan 30 2024, 11:47 PM
Unknown Object (File)
Jan 29 2024, 3:19 PM
Unknown Object (File)
Jan 16 2024, 8:11 PM
Unknown Object (File)
Jan 14 2024, 6:54 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