Skip to content
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

Merged
merged 12 commits into from
Nov 25, 2024

Conversation

khanti42
Copy link
Collaborator

@khanti42 khanti42 commented Nov 24, 2024

This PR addresses a QA request to improve messaging.

PR Description:

This PR improves the user experience for fee token selection by adding a default disclaimer and clearer error messaging:

  1. Disclaimer: A default message informs users about the fallback mechanism:

If the chosen token has no funds, the system will automatically switch to a funded token.

  1. Error Messaging: When an unfunded token is selected, the disclaimer is replaced with:

Not enough STRK to pay for fees. The fee token has been switched back to ETH.

Why This Change?

  • Clarifies fallback behavior to reduce user confusion.
  • Enhances feedback during token selection and transaction submission.

BEGIN_COMMIT_OVERRIDE
chore: Improve Fee Token selection UX with better Error Messaging and Disclaimer
END_COMMIT_OVERRIDE

@khanti42 khanti42 requested a review from a team as a code owner November 24, 2024 21:29
@khanti42 khanti42 requested review from Akaryatrh and wantedsystem and removed request for a team November 24, 2024 21:29
Copy link
Collaborator

@stanleyyconsensys stanleyyconsensys left a 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

Copy link

sonarcloud bot commented Nov 25, 2024

Quality Gate Passed Quality Gate passed for 'consensys_starknet-snap-wallet-ui'

Issues
0 New issues
0 Accepted issues

Measures
0 Security Hotspots
0.0% Coverage on New Code
0.0% Duplication on New Code

See analysis details on SonarQube Cloud

Copy link

sonarcloud bot commented Nov 25, 2024

Quality Gate Passed Quality Gate passed for 'consensys_starknet-snap-starknet-snap'

Issues
0 New issues
0 Accepted issues

Measures
0 Security Hotspots
0.0% Coverage on New Code
0.0% Duplication on New Code

See analysis details on SonarQube Cloud

@khanti42 khanti42 added this pull request to the merge queue Nov 25, 2024
Merged via the queue into main with commit d7d2151 Nov 25, 2024
13 checks passed
@khanti42 khanti42 deleted the feat/qa-chg-request branch November 25, 2024 11:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants