Inline confirmation buttons replace modals for destructive actions #1
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
Replace confirmation modals with inline confirmation buttons for destructive actions. On first click, the button transitions into a confirm state — swapping the icon to a Lucide
Checkon a red/danger background with a subtle scale pulse animation. The button reverts after 5 seconds if not clicked again. This provides a faster, more modern UX while still preventing accidental destructive actions.Acceptance Criteria
Confirm-to-delete for removing a combatant
Confirm-to-clear for resetting the encounter
Keyboard-accessible confirmation flow
Edge Cases