-
Notifications
You must be signed in to change notification settings - Fork 82
[UX] Improve Wallet Selector Connection Feedback #516
Copy link
Copy link
Open
Labels
Stellar WaveIssues in the Stellar wave programIssues in the Stellar wave programcomplexity:mediumenhancementNew feature or requestNew feature or requestfrontendux
Description
Description
The WalletSelector lacks clear feedback when a connection attempt fails or is pending.
Requirements and context
- Add a loading spinner or "Connecting..." state to the selected wallet button.
- Implement user-friendly error messages (e.g., "User rejected request", "Extension not found").
- Ensure the modal remains responsive during async operations.
Suggested execution
- Update state management in
WalletSelector.tsxto include aloadinganderrorstate. - Catch errors from wallet provider promises and map them to friendly messages.
- Add visual feedback (disabled buttons, spinners).
Test and commit
- Mock a failed connection and verify the error message appears.
- Verify the connecting state is shown during the handshake.
Guidelines
- Error messages should be helpful, not technical.
- PR description must include: Closes #[issue_id]
Complexity: Medium (150 points)
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
Stellar WaveIssues in the Stellar wave programIssues in the Stellar wave programcomplexity:mediumenhancementNew feature or requestNew feature or requestfrontendux