Skip to content

add delete confirmations for jobs#546

Merged
bgentry merged 2 commits intomasterfrom
bg/delete-confirm-dialog
Apr 10, 2026
Merged

add delete confirmations for jobs#546
bgentry merged 2 commits intomasterfrom
bg/delete-confirm-dialog

Conversation

@bgentry
Copy link
Copy Markdown
Contributor

@bgentry bgentry commented Apr 10, 2026

Deleting jobs is irreversible, but the UI previously dispatched both the single-job and bulk delete actions immediately. That made it too easy to remove the wrong jobs with one stray click, especially from the bulk selection toolbar.

This change adds a shared confirmation dialog built on the existing Headless UI Dialog primitives and routes only delete actions through it. The job detail page now confirms before deleting one job, and the job list now confirms before deleting the current selection while leaving retry and cancel unchanged.

It also raises modal z-index so the backdrop and panel consistently layer over the left navigation rail.

This keeps behavior consistent with the app's existing dialog stack and adds focused test coverage for the single-job and bulk delete flows.

-Users-bgentry-conductor-workspaces-riverui-sao-paulo- context-attachments-Screenshot 2026-04-10 at 1 16 03 PM

Fixes #545.

@bgentry bgentry force-pushed the bg/delete-confirm-dialog branch from 7533063 to 5380d88 Compare April 10, 2026 18:19
@bgentry bgentry changed the title Add delete confirmations for jobs add delete confirmations for jobs Apr 10, 2026
bgentry added 2 commits April 10, 2026 13:50
Deleting jobs is irreversible, but the UI previously dispatched both the
single-job and bulk delete actions immediately. That made it too easy to
remove the wrong jobs with one stray click, especially from the bulk
selection toolbar.

Add a shared confirmation dialog built on the existing Headless UI
`Dialog` primitives and route only delete actions through it. The job
detail page now confirms before deleting one job, and the job list now
confirms before deleting the current selection while leaving retry and
cancel unchanged.

Raise modal z-index so the backdrop and panel consistently layer over the
left navigation rail.

This uses the app's existing dialog stack instead of adding a new UI
library, keeps styling consistent, and adds focused test coverage for the
single-job and bulk delete flows.

Fixes #545.
@bgentry bgentry force-pushed the bg/delete-confirm-dialog branch from fcc483d to d7b0de5 Compare April 10, 2026 18:51
Copy link
Copy Markdown
Collaborator

@brandur brandur left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks great!!

@bgentry bgentry merged commit fa20278 into master Apr 10, 2026
21 checks passed
@bgentry bgentry deleted the bg/delete-confirm-dialog branch April 10, 2026 21:00
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.

Ask for delete confirmation when selecting multiple jobs

2 participants