Skip to content

feat: enhance NetworkSwitcher with confirmation dialog, localStorage …#454

Merged
llinsss merged 1 commit into
DogStark:mainfrom
leebernard-web:feature/network-switcher-enhancement
May 28, 2026
Merged

feat: enhance NetworkSwitcher with confirmation dialog, localStorage …#454
llinsss merged 1 commit into
DogStark:mainfrom
leebernard-web:feature/network-switcher-enhancement

Conversation

@leebernard-web
Copy link
Copy Markdown
Contributor

this pr closes #391

…persistence, and service updates

- Add confirmation dialog before network switch to prevent accidental changes
- Persist network selection to localStorage for session persistence
- Dispatch custom events for services to react to network changes
- Update walletBalance and feeEstimation services to listen for network changes
- Add useNetwork hook for reactive network state in components
- Visual distinction for testnet (sky) and mainnet (orange/red warning)
- Add i18n translations for network switcher
@drips-wave
Copy link
Copy Markdown

drips-wave Bot commented May 27, 2026

@leebernard-web Great news! 🎉 Based on an automated assessment of this PR, the linked Wave issue(s) no longer count against your application limits.

You can now already apply to more issues while waiting for a review of this PR. Keep up the great work! 🚀

Learn more about application limits

@llinsss llinsss merged commit 93e6173 into DogStark:main May 28, 2026
9 of 12 checks passed
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.

Implement Network Switcher Component

2 participants