-
Notifications
You must be signed in to change notification settings - Fork 18
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
feat(wallet-dashboard): add unstake timelocked objects flow #4300
feat(wallet-dashboard): add unstake timelocked objects flow #4300
Conversation
This pull request has been deployed to Vercel. Latest commit: 3ed6d5e ✅ Preview: https://apps-ui-r4bic3i8t-iota1.vercel.app |
This pull request has been deployed to Vercel. Latest commit: 3ed6d5e ✅ Preview: https://apps-backend-29a719c9ccbdb9b80c97b599a599d8953354da-n380w1pu2.vercel.app |
This pull request has been deployed to Vercel. Latest commit: 3ed6d5e ✅ Preview: https://iota-rebased-explorer-092603f1de8088243ccb8b861b23e-7khl91e9e.vercel.app |
This pull request has been deployed to Vercel. Latest commit: 3ed6d5e ✅ Preview: https://wallet-dashboard-a225fcfa1e2f852205a61a7cd1d5d93e92-i0eq5wrjd.vercel.app |
apps/wallet-dashboard/components/Dialogs/Staking/timelock/UnstakeTimelockedObjectsDialog.tsx
Outdated
Show resolved
Hide resolved
apps/wallet-dashboard/components/Dialogs/Staking/timelock/UnstakeTimelockedObjectsDialog.tsx
Outdated
Show resolved
Hide resolved
apps/wallet-dashboard/components/Dialogs/Staking/timelock/UnstakeTimelockedObjectsDialog.tsx
Outdated
Show resolved
Hide resolved
apps/wallet-dashboard/components/Dialogs/Staking/timelock/UnstakeTimelockedObjectsDialog.tsx
Outdated
Show resolved
Hide resolved
apps/wallet-dashboard/components/Dialogs/Staking/timelock/UnstakeTimelockedObjectsDialog.tsx
Outdated
Show resolved
Hide resolved
apps/ui-kit/src/lib/components/atoms/key-value-info/KeyValueInfo.tsx
Outdated
Show resolved
Hide resolved
This pull request has been deployed to Vercel. Latest commit: 068a798 ✅ Preview: https://apps-ui-9dtnaz8cl-iota1.vercel.app |
This pull request has been deployed to Vercel. Latest commit: 068a798 ✅ Preview: https://apps-backend-29a719c9ccbdb9b80c97b599a599d8953354da-e8b5d0gvn.vercel.app |
This pull request has been deployed to Vercel. Latest commit: 068a798 ✅ Preview: https://iota-rebased-explorer-092603f1de8088243ccb8b861b23e-3kwcmmol5.vercel.app |
This pull request has been deployed to Vercel. Latest commit: 068a798 ✅ Preview: https://wallet-dashboard-a225fcfa1e2f852205a61a7cd1d5d93e92-8sp4a5l0h.vercel.app |
This pull request has been deployed to Vercel. Latest commit: c70f4f1 ✅ Preview: https://iota-rebased-explorer-092603f1de8088243ccb8b861b23e-erpqd9l0j.vercel.app |
This pull request has been deployed to Vercel. Latest commit: c70f4f1 ✅ Preview: https://apps-ui-c0atp1gkw-iota1.vercel.app |
This pull request has been deployed to Vercel. Latest commit: c70f4f1 ✅ Preview: https://apps-backend-29a719c9ccbdb9b80c97b599a599d8953354da-apvhdhb14.vercel.app |
This pull request has been deployed to Vercel. Latest commit: c70f4f1 ✅ Preview: https://wallet-dashboard-a225fcfa1e2f852205a61a7cd1d5d93e92-dk4fla1dw.vercel.app |
This pull request has been deployed to Vercel. Latest commit: da6de48 ✅ Preview: https://apps-ui-n6cvit0nk-iota1.vercel.app |
This pull request has been deployed to Vercel. Latest commit: d2cc8d1 ✅ Preview: https://wallet-dashboard-a225fcfa1e2f852205a61a7cd1d5d93e92-1rkby0ldd.vercel.app |
This pull request has been deployed to Vercel. Latest commit: 411d0c9 ✅ Preview: https://apps-ui-abalzd7xv-iota1.vercel.app |
This pull request has been deployed to Vercel. Latest commit: 411d0c9 ✅ Preview: https://apps-backend-29a719c9ccbdb9b80c97b599a599d8953354da-kte6g2lt0.vercel.app |
This pull request has been deployed to Vercel. Latest commit: 411d0c9 ✅ Preview: https://iota-rebased-explorer-092603f1de8088243ccb8b861b23e-c1n2vys0m.vercel.app |
This pull request has been deployed to Vercel. Latest commit: 411d0c9 ✅ Preview: https://wallet-dashboard-a225fcfa1e2f852205a61a7cd1d5d93e92-l5a8r2mdo.vercel.app |
apps/wallet-dashboard/components/Dialogs/Staking/views/EnterAmountView.tsx
Show resolved
Hide resolved
This pull request has been deployed to Vercel. Latest commit: 7b3e80b ✅ Preview: https://apps-ui-oov3y313a-iota1.vercel.app |
This pull request has been deployed to Vercel. Latest commit: 7b3e80b ✅ Preview: https://apps-backend-29a719c9ccbdb9b80c97b599a599d8953354da-3lchpg6w1.vercel.app |
This pull request has been deployed to Vercel. Latest commit: 7b3e80b ✅ Preview: https://iota-rebased-explorer-092603f1de8088243ccb8b861b23e-hycdrlab9.vercel.app |
This pull request has been deployed to Vercel. Latest commit: 7b3e80b ✅ Preview: https://wallet-dashboard-a225fcfa1e2f852205a61a7cd1d5d93e92-dov84x688.vercel.app |
This pull request has been deployed to Vercel. Latest commit: 29a46ac ✅ Preview: https://apps-ui-628cop6ke-iota1.vercel.app |
This pull request has been deployed to Vercel. Latest commit: 29a46ac ✅ Preview: https://apps-backend-29a719c9ccbdb9b80c97b599a599d8953354da-47h5eiysv.vercel.app |
This pull request has been deployed to Vercel. Latest commit: 29a46ac ✅ Preview: https://iota-rebased-explorer-092603f1de8088243ccb8b861b23e-d0oznmvyj.vercel.app |
This pull request has been deployed to Vercel. Latest commit: 29a46ac ✅ Preview: https://wallet-dashboard-a225fcfa1e2f852205a61a7cd1d5d93e92-cq5381yc6.vercel.app |
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.
LGTM
This pull request has been deployed to Vercel. Latest commit: b336b19 ✅ Preview: https://apps-backend-29a719c9ccbdb9b80c97b599a599d8953354da-9rho1dj6s.vercel.app |
This pull request has been deployed to Vercel. Latest commit: b336b19 ✅ Preview: https://apps-ui-p3jm14pan-iota1.vercel.app |
This pull request has been deployed to Vercel. Latest commit: b336b19 ✅ Preview: https://iota-rebased-explorer-092603f1de8088243ccb8b861b23e-qglqnr6qs.vercel.app |
This pull request has been deployed to Vercel. Latest commit: b336b19 ✅ Preview: https://wallet-dashboard-a225fcfa1e2f852205a61a7cd1d5d93e92-fnbm7mroh.vercel.app |
* feat(dashboard): add unstake timelocked objects view * refactor: improve function * feat: add more unstaking information and rename constant * refactor: imports * fix: imports * fix: remove duplication collapsible * refactor: include both single stake and grouped in a unstake hook * refactor: unify usntake panel * fix: go back correctly to previous screen in staking * refactor: cleanup * refactor: remove popups * refactor: remove popups * revert "refactor: remove popups" * refactor: remove only unnecessary popups * refactor: divide hooks and move deeper inside components * fix: resolve re rendering issue * feat: remove redundant code * fix: update conditionally showing the stake dialog * fix(tooling-dashboard): improve stake wizard (#4454) * fix: improve stake wizzard * fix: add set view helper function * fix: add check for stake details --------- Co-authored-by: evavirseda <evirseda@boxfish.studio> * refactor: imports / exports * feat: add wait for transaction and refresh * feat: improve dialogs * feat(dashboard): minor fixes * fix: query key for timelocked staking * fix: revert constants changes * fix: disable stake button if no available amount for staking * fix: query key for timelocked staking transaction * fix: bigint serialization * fix: remove or check in the useNewStakeTimelockedTransaction --------- Co-authored-by: Bran <52735957+brancoder@users.noreply.github.com> Co-authored-by: evavirseda <evirseda@boxfish.studio> Co-authored-by: cpl121 <100352899+cpl121@users.noreply.github.com> Co-authored-by: cpl121 <cpeon@boxfish.studio> Co-authored-by: Branko <brankobosnic1@gmail.com>
* feat(dashboard): add unstake timelocked objects view * refactor: improve function * feat: add more unstaking information and rename constant * refactor: imports * fix: imports * fix: remove duplication collapsible * refactor: include both single stake and grouped in a unstake hook * refactor: unify usntake panel * fix: go back correctly to previous screen in staking * refactor: cleanup * refactor: remove popups * refactor: remove popups * revert "refactor: remove popups" * refactor: remove only unnecessary popups * refactor: divide hooks and move deeper inside components * fix: resolve re rendering issue * feat: remove redundant code * fix: update conditionally showing the stake dialog * fix(tooling-dashboard): improve stake wizard (#4454) * fix: improve stake wizzard * fix: add set view helper function * fix: add check for stake details --------- Co-authored-by: evavirseda <evirseda@boxfish.studio> * refactor: imports / exports * feat: add wait for transaction and refresh * feat: improve dialogs * feat(dashboard): minor fixes * fix: query key for timelocked staking * fix: revert constants changes * fix: disable stake button if no available amount for staking * fix: query key for timelocked staking transaction * fix: bigint serialization * fix: remove or check in the useNewStakeTimelockedTransaction --------- Co-authored-by: Bran <52735957+brancoder@users.noreply.github.com> Co-authored-by: evavirseda <evirseda@boxfish.studio> Co-authored-by: cpl121 <100352899+cpl121@users.noreply.github.com> Co-authored-by: cpl121 <cpeon@boxfish.studio> Co-authored-by: Branko <brankobosnic1@gmail.com>
Description of change
Fixes #4263
Type of change
How the change has been tested
Get a timelocked coin with the sdk, stake one or multiple times, then test the unstaking flow in the Vesting page.
Change checklist
Tick the boxes that are relevant to your changes, and delete any items that are not.