fix(borne): confirmation avant Abandon de la commande #102

Merged
Corentin merged 1 commit from fix/borne-confirm-abandon into dev 2026-06-24 12:29:33 +02:00
Owner
No description provided.
Corentin added 1 commit 2026-06-24 12:23:17 +02:00
fix(borne): confirmation avant Abandon de la commande (geste destructeur)
All checks were successful
CI / secret-scan (push) Successful in 16s
CI / php-lint (push) Successful in 39s
CI / static-tests (push) Successful in 1m11s
CI / js-tests (push) Successful in 37s
CI / secret-scan (pull_request) Successful in 17s
CI / php-lint (pull_request) Successful in 31s
CI / static-tests (pull_request) Successful in 1m7s
CI / js-tests (pull_request) Successful in 41s
ba660e7d5a
Le bouton Abandon effacait toute la commande au moindre tap. Ajout d'une modale
de confirmation reutilisable (confirm-modal.js, CSP-safe : role=dialog,
aria-modal, focus piege, Echap et clic-fond = annuler, focus rendu au
declencheur, focus initial sur Annuler). Abandon passe par cette confirmation
avant clearCart + retour accueil.

La suppression d'une ligne reste immediate (re-ajoutable, et le stepper offre
le decrement doux) ; les cibles tactiles 44px ont ete posees au lot panier-unique.

Tests : confirm-modal.test.js (6 cas : affichage, confirmer, annuler, Echap,
clic-fond, echappement) + order-panel (Abandon demande confirmation). JS 118 verts.
Corentin scheduled this pull request to auto merge when all checks succeed 2026-06-24 12:23:18 +02:00
Corentin merged commit 3c53908952 into dev 2026-06-24 12:29:33 +02:00
Sign in to join this conversation.
No reviewers
No labels
auto-merge
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: AcadeNice/corentin_wakdo#102
No description provided.