Skip to content

AddAccountModal + AccountSwitcher: add and switch between accounts#50

Open
saknarajapakshe wants to merge 3 commits into
OpenGovMail:mainfrom
saknarajapakshe:35/39-feat-accountswitcher-wrap-into-header
Open

AddAccountModal + AccountSwitcher: add and switch between accounts#50
saknarajapakshe wants to merge 3 commits into
OpenGovMail:mainfrom
saknarajapakshe:35/39-feat-accountswitcher-wrap-into-header

Conversation

@saknarajapakshe

@saknarajapakshe saknarajapakshe commented Jul 20, 2026

Copy link
Copy Markdown
Contributor

What this does

  • Adds AddAccountModal - the two-step "add another account" form now lives in a proper dialog: icon + title + close button up top, filled-style inputs, the dots moved below the fields, and a back arrow instead of a separate "Back" button. Finishing step 2 opens the new account in its own tab and closes the modal.
  • Adds AccountSwitcher and wires it into Header.tsx - clicking the avatar in the header now opens a real switcher menu (current account + unread count, "Manage your Account", other linked accounts, "Add another account", "Sign out of all accounts") instead of just navigating to /profile.

Stacked on #48 (and transitively #46, #45) - this diff includes their commits until those land.

Closes #35
Closes #39

Test plan

  • typecheck passes
  • build passes
  • manually click through: add an account (both steps, back arrow, dots), switch to another linked account, open "Manage your Account", sign out of all accounts

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.

AccountSwitcher menu + Header integration Build AddAccountModal

1 participant