-
Notifications
You must be signed in to change notification settings - Fork 10
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
Add UnlockFunds and UnlockOperator actions #572
Add UnlockFunds and UnlockOperator actions #572
Conversation
✅ Deploy Preview for storybook-pr canceled.
|
✅ Deploy Preview for astral-prod ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
PR Description updated to latest commit (91462ea) |
PR Review
Code feedback:
✨ Review tool usage guide:Overview: The tool can be triggered automatically every time a new PR is opened, or can be invoked manually by commenting on any PR.
See the review usage page for a comprehensive guide on using this tool. |
PR Code Suggestions
✨ Improve tool usage guide:Overview:
See the improve usage page for a comprehensive guide on using this tool. |
I'm waiting to confirm the flow, it's likely missing a check to display the unlock operator only after deregistration, and unlock funds only after withdrawal... |
✅ Deploy Preview for dev-astral ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
I don't believe the current squid allow us to know if a nominator has withdraw (else than his stake will have change) unlike the operatorConnection object, that has the status and the unlock at block number |
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
User description
Add UnlockFunds and UnlockOperator actions
Related issues
Screenshot
Type
enhancement, bug_fix
Description
UnlockFunds
andUnlockOperator
to the operator actions modal.Changes walkthrough
ActionsDropdown.tsx
Enhance text color condition in ActionsDropdown
explorer/src/components/Operator/ActionsDropdown.tsx
list
ActionsInRed
.ActionsModal.tsx
Add UnlockFunds and UnlockOperator actions and handlers
explorer/src/components/Operator/ActionsModal.tsx
UnlockFunds
andUnlockOperator
toOperatorActionType
.ActionsInRed
to include actions that shouldbe styled in red.
handleUnlockFunds
andhandleUnlockOperator
to handlethese actions.
NominationManagement.tsx
Update action exclusions in NominationManagement
explorer/src/components/Operator/NominationManagement.tsx
excludeActions
to includeUnlockOperator
.NominatorsList.tsx
Update action exclusions in NominatorsList
explorer/src/components/Operator/NominatorsList.tsx
excludeActions
to include multiple actions includingUnlockOperator
andUnlockFunds
.OperatorManagement.tsx
Update action exclusions in OperatorManagement
explorer/src/components/Operator/OperatorManagement.tsx
excludeActions
to includeUnlockFunds
.OperatorsList.tsx
Update action exclusions in OperatorsList
explorer/src/components/Operator/OperatorsList.tsx
excludeActions
to include multiple actions such asUnlockFunds
and
UnlockOperator
.OperatorsListCard.tsx
Enhance operator status display in OperatorsListCard
explorer/src/components/Operator/OperatorsListCard.tsx
contexts.