Closed saltict closed 8 months ago
Please check issues:
[x] Show incorect account
[x] Validator information was transmitted incorrectly
[x] UI bug in case Invalid account type
[x] Handle case use Ledger account
[x] Do not select account after create the first account
[x] Automatic turn-on network
[x] List earning options
[x] Still show "Invalid account type" although choose correct account Steps:
Actual: Show err message "Invalid account type
Disuss more:
Version test :
Demo page: https://4kh56m-5173.csb.app/
[x] Do not select account after import/attach the first account
[x] Do not auto select valid validators
[x] UI bug when select validators name long
Version test :
Demo page: https://h5tyq5.csb.app/
[x] 1. Update logic when using invalid accounts
Steps : In the case when the wallet does not have an account
Expect :
Option 1 : Navigate to Earning options screen , display popup Invalid account type
Option 2 : Navigate to Start earning screen , display popup Invalid account type
[x] 2. Update logic for previously staked account
Steps
Expect :
When the account has been nominated => show popup Pay attention
When the account has been pooled => show popup Pay attention
[x] 3. Added notification when selecting number of validators < max validators
[x] 4. Updated case Account has unstake all (Active stake = 0)
Expect : Show popup with information :
About issue "Automatic turn-on network when user click on "Stake" button on Start earning screen", keep the flow turn on from preview screen @ThaoNguyen998
Discuss more : In case there are many valid accounts and in All account mode Actual : With All account mode, auto select the first account in the list at Select account field on Start earning screen => Moved to issue #2708
Version test :
Improve on issue https://github.com/Koniverse/SubWallet-Extension/issues/2708
Update WebApp for Staking Reward
BA docs: https://www.notion.so/subwallet/Integration-with-Staking-rewards-2b63d60534fa4e4da4b17dd047ca84bd