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
F18805026: D17890.id43052.diff
Sat, Oct 18, 1:14 PM
F18776981: D17890.id.diff
Sat, Oct 11, 12:24 AM
F18774138: D17890.diff
Thu, Oct 9, 3:23 PM
F18599666: D17890.diff
Sep 13 2025, 7:55 AM
F18508792: D17890.id.diff
Sep 5 2025, 3:01 AM
F18501028: D17890.diff
Sep 4 2025, 9:30 PM
F18124420: D17890.diff
Aug 13 2025, 12:38 PM
F18097577: D17890.id43052.diff
Aug 8 2025, 2:26 PM
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