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

WebApp - Update some message related to earning and swap feature #3187

Closed
2 tasks done
Sokol142196 opened this issue Jun 10, 2024 · 1 comment · Fixed by #3188
Closed
2 tasks done

WebApp - Update some message related to earning and swap feature #3187

Sokol142196 opened this issue Jun 10, 2024 · 1 comment · Fixed by #3188
Assignees

Comments

@Sokol142196
Copy link

Sokol142196 commented Jun 10, 2024

Describe the task
Update some message related to earning and swap feature

  • Refer: Extension - Update some message related to earning feature #3150

  • Message in case Insufficient balance when withdraw, claim reward and unstake

    • Actual: Show message "Your available balance is [Available balance], you need to leave [ED] as minimal balance (existential deposit) and pay network fees. Make sure you have at least [x tokens] in your transferable balance to proceed."
    • Expect: Change to message "You don't have enough [token] (network name) to pay gas fee. Top up your transferable balance and try again"
  • Message in case Insufficient balance when stake with Liquid staking (re-check lending staking)

    • Example: stake DOT (Acala) and account have xx ACA (xx > ED) and yy (DOT) then input stake amount: DOT > Total DOT on Acala and Polkadot
    • Actual: Show message "You don't have enough ACA (Acala) to pay gas fee. Lower your amount and try again"
      • Incorrect token
    • Expect: Show message "You can only enter a maximum of xx DOT, which is xx1 DOT (Acala) and xx2 DOT (Polkadot). Lower your amount and try again."

Note for tester: Check message in case Insufficient balance when swap

@Sokol142196
Copy link
Author

Sokol142196 commented Jun 11, 2024

Version test: https://pr-3188.subwallet-webapp.pages.dev/

Validation passed
image

image

image

image

image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants