novasamatech / nova-spektr

Nova Spektr — All-in-one Polkadot desktop wallet supporting multisigs, staking, light clients, and more
https://novaspektr.io
Apache License 2.0
40 stars 16 forks source link

Governance. Add new delegation for multishard wallet. Wrong screen order #2359

Closed stepanLav closed 1 month ago

stepanLav commented 1 month ago

Description

When user has already delegated from multishard wallet and want to add delegation from another account - there is a flow to do so, but when user not going through all flow and close window on select track step it will close, but window with delegator list will keep which is generally wrong, moreover that window works wrong.

Example:

https://github.com/user-attachments/assets/e9af4961-48f2-41d1-be02-1f3558f15824

Steps to Reproduce

  1. Select multishard wallet
  2. Delegate for one of the shard
  3. Open your delegations and go to the delegate details
  4. Click "Add new delegation"
  5. Close window with tracks

Expected Behavior

Go back to the delegate details

Actual Behavior

Will keep the list of delegates on top of the delegate details

Environment

https://github.com/novasamatech/nova-spektr/commit/f1261cee0c3c1e45a7fa12992cd9d9ced519ef0f

stepanLav commented 1 month ago

Status verification: ✅