All destructive actions mentioned in issue #19797 already have confirmation dialogs properly implemented.
- Button at line 490:
onClick={handleResetRequest} - Handler shows confirmation: line 312-314
- Confirmation dialog: lines 607-616
- Only calls destructive
handleResetConfirmed()after user confirms
- Handler:
handleRemoveCard()line 234-238 - Confirmation dialog: lines 618-632
- Only removes card after user confirms in
handleRemoveCardConfirmed()
- User-facing logout button in
UserProfileDropdown.tsx - Confirmation dialog: lines 531-533
- The auth.tsx lines are cleanup code INSIDE the logout handler (not user-facing buttons)
- Commit #19383: Added confirmation dialog for card removal
- Commit #19388: Updated tests for card removal confirmation dialog
This PR closes #19797 as the issue has been resolved in previous commits.