vocdoni / ui-components

Vocdoni UI components libs
GNU General Public License v3.0
3 stars 2 forks source link

Add action confirmation modal #157

Closed selankon closed 4 months ago

selankon commented 5 months ago

Fix https://github.com/vocdoni/ui-components/issues/156

image

jpaulet commented 5 months ago

Also, the CTA model should explain the action. Instead of "Confirm" change to "End Voting" or "Cancel process".

elboletaire commented 5 months ago

Also, the CTA model should explain the action. Instead of "Confirm" change to "End Voting" or "Cancel process".

Totally agree.

selankon commented 4 months ago

This will fix the cta button text ed410c7

But for the other requested change, the cancel button, I added translations here: ca3aa44

But the cancel button is disabled at ui-scaffold level, so we have to think how we have to fix it https://github.com/vocdoni/ui-scaffold/blob/refs/heads/develop/src/themes/default/components/ConfirmModal.ts#L19-L21