-
Notifications
You must be signed in to change notification settings - Fork 12
feat(staking): [LW-8877] Add activity tab to staking, show rewards list #684
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-8877] Add activity tab to staking, show rewards list #684
Conversation
0340060
to
7fea290
Compare
40495e0
to
2d1b7b2
Compare
c0f823e
to
62528d4
Compare
… used by staking activity
62528d4
to
483284e
Compare
@@ -44,7 +44,7 @@ export const StakingView = () => { | |||
</Box> | |||
<Navigation> | |||
{(activePage) => ( | |||
<Box mt="$40"> | |||
<Box mt="$40" h="$fill"> |
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.
This makes the "Activity" page (and any other "Staking" tab) container fill the available vertical space, which in turns allows me to align vertically to the center the "No staking activity yet" component. TBH I find this a bit fragile as the code lacks any clear connection and therefore it's easy to break. Do you perhaps have some nicer solution on your mind @mrcnk ?
* feat(staking): add activity tab * feat(staking): [LW-8877] Add activity tab to staking, show rewards list (#684) * feat(staking): add rewards list to Staking Activity tab * feat(staking): expose activity detail drawer in staking section to be used by staking activity * feat(staking): add "no staking activity yet" screen * fix(staking): align "no staking activity" component to center vertically
Checklist
Proposed solution
Add new tab to Staking section called "Activities" and add there the "History" section as shown in designs
This PR also adds the screen for the scenario where the user has no staking activity yet
see figma designs in JIRA issue
Testing
Go to
Staking
->Activity
, check that the events are properly shown and that correct details appear when you click on an event.Screenshots
Allure report
allure-report-publisher
generated test report!smokeTests: ❌ test report for 7fea2909