Open Frank-Schaeske opened 1 year ago
As a user I want to be able to confirm my action after hitting the Delete Player button So that I can avoid accidental deletion
Delete Player
Delete
Cancel
feature/confirm-deletion
In case you're not opposed to react-modal, you may use that package for creating the modal. It's an accessible piece and easy to use. But you can build your own modal, too of course.
react-modal
Value Proposition
As a user I want to be able to confirm my action after hitting the
Delete Player
button So that I can avoid accidental deletion Description
Acceptance Criteria
Delete Player
button a modal opensDelete
andCancel
are visibleDelete
closes the modal and redirects the user to the player list view where the deleted player is missingCancel
closes the modal and redirects the user back to the player details view Tasks
feature/confirm-deletion