Skip to content

Use design-system dialog to confirm task deletion - #1351

Merged
selfcontained merged 1 commit into
mainfrom
agt_eb6ab65be881/use-design-system-dialog-to-confirm-task
Oct 30, 2026
Merged

selfcontained merged 1 commit into
mainfrom
agt_eb6ab65be881/use-design-system-dialog-to-confirm-task

Conversation

@selfcontained

Copy link
Copy Markdown
Owner

Task deletion now opens the existing styled AlertDialog from both the task drawer and the task modal. The dialog identifies the task, explains permanent deletion, initially focuses Cancel, and requires explicit destructive confirmation. Pending submissions cannot duplicate or escape through global shortcuts; failures stay visible for retry or cancellation. Switching tasks discards an open confirmation and late responses cannot close the replacement task.

The existing deletion API and backend policy are unchanged. Column deletion and archival are outside this change.

Validation: pnpm run check, pnpm run finalize:web, full isolated pnpm run test:e2e, and 41 focused dialog/drawer/modal tests. Desktop and 390px mobile Playwright flows exercise Cancel/Escape/focus, nested modal behavior, shortcut isolation, pending/error/retry and real deletion of disposable tasks without native browser dialogs. Screenshots and retained isolated LAN preview are in the task acceptance handoff.

Owner reviews: frontend-react-review and code-review completed. The frontend review's shortcut-isolation finding was fixed and verified; no unresolved findings.

@selfcontained
selfcontained merged commit 97d42d7 into main Oct 30, 2026
1 check passed
@selfcontained
selfcontained deleted the agt_eb6ab65be881/use-design-system-dialog-to-confirm-task branch October 30, 2026 03:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant