-
Notifications
You must be signed in to change notification settings - Fork 5
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(staking): [LW-7508] add un-delegation functionality #634
feat(staking): [LW-7508] add un-delegation functionality #634
Conversation
packages/staking/src/features/drawer/preferences/NoPoolsSelected.tsx
Outdated
Show resolved
Hide resolved
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.
only minor suggestions, other than that LGTM
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.
Just a few minor nitpicks. Approving already 😉
packages/staking/src/features/drawer/StakePoolConfirmation.module.scss
Outdated
Show resolved
Hide resolved
packages/staking/src/features/drawer/preferences/NoPoolsSelected.css.ts
Outdated
Show resolved
Hide resolved
packages/staking/src/features/Drawer/preferences/sad-smiley.svg
Outdated
Show resolved
Hide resolved
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.
Sorry, I wanted to approve 😄 These are just a couple of minor improvements that can be done.
cc7308a
to
430d524
Compare
Blocked by a bug in js sdk - https://input-output.atlassian.net/browse/LW-8993 Once a new sdk version is released - update sdk in lace, test and merge this, no further code edits needed |
SonarCloud Quality Gate failed. 0 Bugs No Coverage information Catch issues before they fail your Quality Gate with our IDE extension SonarLint |
Allure report
smokeTests: ✅ test report for 8cadf68e
|
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.
My issues described in Jira.
c45a62d
to
3cab8ca
Compare
e3b8a60
to
0b9494a
Compare
Changes unknown |
22b90f3
to
4eed6a2
Compare
4eed6a2
to
8cadf68
Compare
Quality Gate failedFailed conditions |
Checklist
Proposed solution
Always allow removing pools from preferences drawer. If the last pool was removed, render the sad smiley content. I chose the easier alternative to get this out quick - i.e., you can remove pools not just in overview Management drawer, but also in Browse pools to not complicate the code. Also adjusted the result screen (see screenshots).
Testing
Manage current portfolio > Remove all pools > continue, sign the transaction
Screenshots
Allure report
allure-report-publisher
generated test report!smokeTests: ✅ test report for 430d524c