-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Description
Description
Design confirmation modals for destructive actions (delete API, withdraw funds, disconnect wallet) and important confirmations (publish API, approve transaction).
Requirements and Context
- Must be clear and prevent accidents
- Different styles for different action types
- Include cancel option
- Accessible
Detailed Design Specifications
Modal Types:
Destructive Actions (Delete, etc.):
- Warning icon (red/orange)
- Title: "Are you sure?"
- Message: Clear explanation of what will happen
- Actions:
- "Cancel" (secondary, left)
- "Delete" or action name (red/destructive, right)
- Visual: Red/orange accent
Important Confirmations (Publish, etc.):
- Info icon (blue)
- Title: Action name
- Message: What will happen
- Actions:
- "Cancel" (secondary)
- "Confirm" (primary)
- Visual: Blue accent
Transaction Confirmations:
- Transaction details displayed
- Amount, recipient, fees
- Actions:
- "Cancel"
- "Approve Transaction"
- Visual: Transaction preview card
Modal Structure:
- Overlay (semi-transparent)
- Centered modal card
- Icon + title + message
- Action buttons
- Close button (X, optional for destructive)
Accessibility:
- Focus trap
- ESC to cancel
- ARIA labels
- Screen reader announcements
User Flow
- User triggers action (delete, publish, etc.)
- Confirmation modal appears
- User reads confirmation
- User confirms or cancels
- Modal closes, action proceeds or cancels
Design Deliverables
- All modal type mockups
- Modal component design
- Mobile modal design
- Interactive prototype
- Design specifications
Guidelines
- Clear confirmations
- Prevent accidents (destructive actions prominent)
- Accessible
- Consistent styling
- Timeframe: 96 hours
- Project details: #
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels