Skip to content

feat(web): in-app confirmation modal instead of native window.confirm#77

Merged
Musiker15 merged 1 commit into
mainfrom
feat/in-ui-confirm-dialog
Jun 21, 2026
Merged

feat(web): in-app confirmation modal instead of native window.confirm#77
Musiker15 merged 1 commit into
mainfrom
feat/in-ui-confirm-dialog

Conversation

@Musiker15

Copy link
Copy Markdown
Member

Destructive actions (delete form, withdraw/delete submission) used the browser's native window.confirm/alert, which looks unbranded and unprofessional. Adds a reusable on-brand ConfirmDialog (overlay + card, Escape / overlay-click to cancel, busy state, inline error) and wires it into the form-delete button and the public status-page self-service actions. i18n DE/EN (cancel, deleteFormTitle). typecheck/lint/build green.

Destructive actions used the browser's native confirm/alert dialogs, which look
unbranded and unprofessional. Add a reusable `ConfirmDialog` (overlay + card,
Escape/overlay-click to cancel, busy state, inline error) and use it for:
- deleting a form (dashboard forms list)
- withdrawing / deleting a submission (public status page)

i18n: added `cancel` (status + dashboard) and `deleteFormTitle`, DE/EN.
@Musiker15 Musiker15 merged commit cf045bd into main Jun 21, 2026
3 checks passed
@Musiker15 Musiker15 deleted the feat/in-ui-confirm-dialog branch June 21, 2026 19:01
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