Skip to content

[UI/UX Design] Design a Network Switcher chain-mismatch modal with resolution steps #505

Description

@thlpkee20-wq

Description

When the connected wallet's chain differs from the app-selected chain, users need guidance not blockage. Design a chain-mismatch modal that names both chains, shows the correct one, and offers "Switch in wallet" and "Change app chain" resolutions.

Requirements and context

  • Must be accessible (WCAG 2.1 AA), responsive, and documented in the design system
  • Should be consistent with existing patterns and easy to review
  • Relevant code: src/components/AppShell
  • Actions must reflect wallet capabilities (some wallets can't auto-switch)

Suggested execution

  • Fork the repo and create a branch
  • git checkout -b uiux/network-switcher-mismatch-modal
  • Implement changes
    • Design modal with side-by-side chain chips
    • Specify per-wallet capability copy
    • Draft the manual-switch help link
  • Validate accessibility and responsive assumptions

Test and commit

  • Run checks
    • npm run lint and component/visual tests
  • Cover edge cases
    • Unknown chains, offline wallet, RTL layout
  • Include screenshots/before-after and accessibility (axe) notes

Example commit message

design: network switcher mismatch modal

Guidelines

  • Minimum 95 percent test coverage
  • Clear documentation
  • Timeframe: 96 hours

Metadata

Metadata

Assignees

Labels

Stellar WaveStellar Wave issue batch

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions