The confirm dialog for "Cancel plan" offers "Cancel" as its way out #144

Open
opened 2026-09-27 06:20:21 +00:00 by cgalo5758 · 0 comments
Owner

What a member runs into

The shared confirm dialog labels its way out "Cancel" on every action. When the action itself starts with "Cancel", the dialog shows two buttons that both say cancel: "Cancel plan" beside "Cancel", and "Cancel verification" beside "Cancel". A member who wants to back out has to work out which "Cancel" undoes nothing, and a wrong guess ends their plan or their domain claim.

Where

Done when

A trigger can name the dialog's way out the way it names the commit, and no confirm dialog shows two buttons that both read as cancelling. On the member surface the way out states what is kept, as the plan-move preview's "Keep current plan" already does.

## What a member runs into The shared confirm dialog labels its way out "Cancel" on every action. When the action itself starts with "Cancel", the dialog shows two buttons that both say cancel: "Cancel plan" beside "Cancel", and "Cancel verification" beside "Cancel". A member who wants to back out has to work out which "Cancel" undoes nothing, and a wrong guess ends their plan or their domain claim. ## Where - The way out is fixed in the dialog's declaration: `WayOut: forms.DismissModal("Cancel")` in [`internal/server/shell_forms.go`](https://git.coopcloud.tech/wiki-cafe/member-console/src/branch/main/internal/server/shell_forms.go). [`static/confirm-action-modal.js`](https://git.coopcloud.tech/wiki-cafe/member-console/src/branch/main/internal/embeds/static/confirm-action-modal.js) takes the commit's label from the trigger (`data-action-confirm-label`) but has no attribute for the way out. - Triggers whose commit starts with "Cancel": [`member_plans.html`](https://git.coopcloud.tech/wiki-cafe/member-console/src/branch/main/internal/embeds/templates/partials/member_plans.html) (the free rung's move and the current plan's "Cancel plan") and [`member_domains_claim.html`](https://git.coopcloud.tech/wiki-cafe/member-console/src/branch/main/internal/embeds/templates/partials/member_domains_claim.html) ("Cancel verification"). ## Done when A trigger can name the dialog's way out the way it names the commit, and no confirm dialog shows two buttons that both read as cancelling. On the member surface the way out states what is kept, as the plan-move preview's "Keep current plan" already does.
cgalo5758 added the
kind
bug
area/member-ui
labels 2026-09-27 06:20:21 +00:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: wiki-cafe/member-console#144