-
Notifications
You must be signed in to change notification settings - Fork 27
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix: improve Fee Token Selection UX with Disclaimer and Error Messaging #433
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
minor comment, mainly missing test
and add changelog comment, it is not a feat, please use chore/ next time
packages/starknet-snap/src/ui/controllers/user-input-event-controller.ts
Show resolved
Hide resolved
packages/starknet-snap/src/ui/controllers/user-input-event-controller.test.ts
Outdated
Show resolved
Hide resolved
Quality Gate passed for 'consensys_starknet-snap-wallet-ui'Issues Measures |
Quality Gate passed for 'consensys_starknet-snap-starknet-snap'Issues Measures |
PR Description:
This PR improves the user experience for fee token selection by adding a default disclaimer and clearer error messaging:
If the chosen token has no funds, the system will automatically switch to a funded token.
Not enough STRK to pay for fees. The fee token has been switched back to ETH.
Why This Change?
BEGIN_COMMIT_OVERRIDE
chore: Improve Fee Token selection UX with better Error Messaging and Disclaimer
END_COMMIT_OVERRIDE