feat(platform): Add confirmation modal for email verification

- Create reusable ConfirmationModal component with variants (info, warning, danger, success)
- Replace browser confirm() dialogs with styled modal for email verification
- Update PlatformBusinesses and PlatformUsers to use the new modal
- Add translation keys for verification messages
- Unverify test@example.com for testing

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
poduck
2025-12-02 11:26:47 -05:00
parent 42988c0f88
commit dc3210927a
4 changed files with 226 additions and 19 deletions

View File

@@ -602,6 +602,8 @@
"verifyEmail": "Verify Email",
"verify": "Verify",
"confirmVerifyEmail": "Are you sure you want to manually verify this user's email?",
"confirmVerifyEmailMessage": "Are you sure you want to manually verify this user's email address?",
"verifyEmailNote": "This will mark their email as verified and allow them to access all features that require email verification.",
"noUsersFound": "No users found matching your filters.",
"roles": {
"superuser": "Superuser",