feat: add the 'chain id toggler' instead of the 'chain type toggler'#571
Open
feat: add the 'chain id toggler' instead of the 'chain type toggler'#571
Conversation
Preview stand statusStand was demolished |
4 tasks
DiRaiks
reviewed
Jan 20, 2025
DiRaiks
reviewed
Jan 20, 2025
…-changes-wallet-chain' into feature/si-1638-NEW_chain-toggle-changes-wallet-chain
Jeday
requested changes
Jan 21, 2025
Jeday
requested changes
Jan 21, 2025
…, use the useChainId
Jeday
previously approved these changes
Jan 23, 2025
Jeday
previously approved these changes
Jan 23, 2025
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
Demo
On the wrap page:
On the Stake, WQ, Rewards, Settings pages (Testnet, for Prod the chain switcher is locked):
The switchChain button in the Fallback banner (testnet widget demo):
On prod will be "Switch to Mainnet"
Waiting the wallet (arrow is hidden)

Code review notes
Pay attention that the 'wrap/unwrap' page has its own separate 'DappChainContext' context (the Stake, WQ, Rewards, Settings pages have a different common context). This is due to history.
Testing notes
Checklist: