Skip to content
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

Only show Delegations and Debonding tabs in Stake view #1985

Merged
merged 5 commits into from
Jul 3, 2024

Conversation

lukaw3d
Copy link
Member

@lukaw3d lukaw3d commented Jul 2, 2024

Supersedes #1946

Fixes part of #276

image

@lukaw3d lukaw3d requested review from buberdds and lubej July 2, 2024 20:26
Copy link

github-actions bot commented Jul 2, 2024

Deployed to Cloudflare Pages

Latest commit: c7149136aafb630ce8214a2e1c0c9d56c2b27d93
Status:✅ Deploy successful!
Preview URL: https://7f66e6dd.oasis-wallet.pages.dev

</a>
<a
class="c2"
href="/account/undefined/active-delegations"
Copy link
Contributor

@buberdds buberdds Jul 3, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can we add data-testid to elements that were root previously in all views that now use StakeSubnav?
In tests we could switch from (component.baseElement).toMatchSnapshot() to expect(screen.getByTestId('WHATEVER')).toMatchSnapshot(). I just don't see a value in extra 1k lines of duplicated snapshots here.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

+1

@lukaw3d lukaw3d merged commit 97f5078 into master Jul 3, 2024
13 checks passed
@lukaw3d lukaw3d deleted the lw/staking-subnav branch July 3, 2024 22:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants