-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Description
Description
Design error states for authentication flows: wallet connection failures, transaction rejections, network errors, and invalid credentials.
Requirements and Context
- Must be clear and actionable
- Different error types need different messages
- Include recovery actions
- Helpful error messages
Detailed Design Specifications
Error Types:
Wallet Connection Failed:
- Icon: Warning or error icon
- Title: "Connection Failed"
- Message: "Unable to connect to [Wallet Name]. Please try again."
- Actions: "Retry", "Try Different Wallet", "Get Help"
Transaction Rejected:
- Icon: X icon
- Title: "Transaction Rejected"
- Message: "You rejected the transaction in your wallet."
- Actions: "Try Again", "Cancel"
Network Error:
- Icon: Network icon
- Title: "Network Error"
- Message: "Unable to connect to Stellar network. Please check your connection."
- Actions: "Retry", "Check Status"
Insufficient Balance:
- Icon: Wallet icon
- Title: "Insufficient Balance"
- Message: "Your vault balance is too low. Please deposit USDC."
- Actions: "Deposit USDC", "Cancel"
Invalid Wallet:
- Icon: Warning icon
- Title: "Invalid Wallet"
- Message: "This wallet is not supported or not connected."
- Actions: "Connect Wallet", "Get Help"
Design Pattern:
- Error card/alert component
- Consistent styling (red/orange accent)
- Clear iconography
- Actionable buttons
- Help link
User Flow
- User attempts action (connect, deposit, etc.)
- Error occurs
- Error state displayed
- User reads error message
- User takes recovery action
Design Deliverables
- All error state mockups
- Error component design
- Mobile error states
- Interactive prototype
- Design specifications
Guidelines
- Clear error messages
- Actionable recovery
- Consistent error styling
- Accessible (ARIA alerts)
- Timeframe: 96 hours
- Project details: #
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels