Page MenuHomePhabricator

When deleting inline comments, offer "undo" instead of prompting
ClosedPublic

Authored by epriestley on Mar 9 2015, 10:59 PM.
Tags
None
Referenced Files
Unknown Object (File)
Thu, Apr 18, 1:32 AM
Unknown Object (File)
Mon, Apr 8, 1:08 AM
Unknown Object (File)
Tue, Apr 2, 8:32 AM
Unknown Object (File)
Mar 9 2024, 2:03 PM
Unknown Object (File)
Feb 28 2024, 3:46 PM
Unknown Object (File)
Feb 15 2024, 6:50 PM
Unknown Object (File)
Jan 29 2024, 12:09 AM
Unknown Object (File)
Jan 18 2024, 5:21 PM
Subscribers
Tokens
"Haypence" token, awarded by btrahan.

Details

Summary

Ref T2009. Ref T1460.

Fixes T2618. When users hit "Delete" on inline comments, delete immediately and offer them "Undo". If they delete indirectly (e.g., by clicking "Delete" from the preview at the bottom of the page), we still prompt them, because the "Undo" action either won't be available or may not be easy to find. This is a "refdelete".

Fixes T6464. This was just a mess. Make it not as much of a mess. It should work now. Pretty sure.

Fixes T4999. We did not refresh these links often enough to find targets for them, so they could race with content. Reevaluate them after loading new changes.

Test Plan
  • Deleted and undid deletion of inlines from main view and preview.
  • Clicked "View" on inlines.

Diff Detail

Repository
rP Phabricator
Branch
uni37
Lint
Lint Passed
Unit
Tests Passed
Build Status
Buildable 4825
Build 4841: [Placeholder Plan] Wait for 30 Seconds