Skip to content

Build AddAccountModal #35

Description

@saknarajapakshe

What to build

AddAccountModal.tsx — opened from the account switcher, wraps the form from #34. On success, opens the new account in a new tab and closes the modal, leaving the current tab untouched. Doesn't touch RegisterPage.tsx; first-time signup keeps its own form.

Done when

  • Adding an account opens it in a new tab, current tab stays as-is, modal closes.
  • The new-tab call fires directly from the button click (not after an await), so pop-up blockers don't interfere — verified in Chrome and Firefox.
  • /register is completely unaffected.

Depends on

#33, #34

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions