Delete without "Are you sure?": Undo instead #90

Merged
jcoffey-dev merged 1 commits from feature/undo-deletes into main 2026-10-06 16:46:14 +00:00
1 Commits
Author SHA1 Message Date
jcoffey-dev 87b4fde1e9 Delete without "Are you sure?": Undo instead
ci / build (pull_request) Skipped
ci / publish (pull_request) Skipped
ci / notices (pull_request) Successful in 14s
github/ci (branch) GitHub Actions
ci / github (pull_request) Successful in 1m43s
Deleting from a list or an object's page no longer asks first. The
objects vanish at once and a toast offers Undo for 8 seconds; the delete
is sent to the server only when that time is up, so Undo just forgets
it and nothing has to be re-created. A delete the server refuses brings
the objects back with the reason. Leaving the page sends what is still
waiting. "All matching" bulk deletes, which can reach past the page,
still ask first.

Toasts now honor their own duration; they all closed after 5 seconds,
which cut short the Security page's 10-second Undo.

Admin UX roadmap, item 9.
2026-10-06 09:38:37 -07:00