Skip to content

Only show Delegations and Debonding tabs in Stake view#1985

Merged
lukaw3d merged 5 commits intomasterfrom
lw/staking-subnav
Jul 3, 2024
Merged

Only show Delegations and Debonding tabs in Stake view#1985
lukaw3d merged 5 commits intomasterfrom
lw/staking-subnav

Conversation

@lukaw3d
Copy link
Copy Markdown
Contributor

@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
@github-actions
Copy link
Copy Markdown

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
Copy Markdown
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
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

+1

@lukaw3d lukaw3d force-pushed the lw/staking-subnav branch from 0fb642e to 41b9b82 Compare July 3, 2024 22:09
@lukaw3d lukaw3d force-pushed the lw/staking-subnav branch from 41b9b82 to c714913 Compare July 3, 2024 22:33
@lukaw3d lukaw3d merged commit 97f5078 into master Jul 3, 2024
@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