Skip to content

[Feat] AddAccountForm: Two-Step Form to Link a New Account#45

Merged
maneeshaxyz merged 1 commit into
OpenGovMail:mainfrom
saknarajapakshe:34-feat-add-account-form
Jul 15, 2026
Merged

[Feat] AddAccountForm: Two-Step Form to Link a New Account#45
maneeshaxyz merged 1 commit into
OpenGovMail:mainfrom
saknarajapakshe:34-feat-add-account-form

Conversation

@saknarajapakshe

@saknarajapakshe saknarajapakshe commented Jul 13, 2026

Copy link
Copy Markdown
Contributor

Summary

  • New src/view/moles/AddAccountForm.tsx is added here: a two-step form (Fill Account Details → the Email Service Configuration) built for the upcoming "Add another account" functionality.
  • This is not a replacement for RegistrationForm.tsx - the first registration flow (RegisterPage.tsx) keep as the existing single form.
  • Step 1 is asking the User Name and email and the step 2 is asking email service configuration details and App Password.
  • The component only calls onSubmit and, on success, hands the created account to onSuccess/successCtaLabel — it never switches accounts, navigates, or opens tabs itself, so it can be reused regardless of what the caller wants to happen next.

Closes #34

@saknarajapakshe
saknarajapakshe force-pushed the 34-feat-add-account-form branch from cc865f9 to fb7601d Compare July 13, 2026 04:56
@saknarajapakshe
saknarajapakshe force-pushed the 34-feat-add-account-form branch from fb7601d to 3654ae3 Compare July 15, 2026 04:50
@saknarajapakshe saknarajapakshe changed the title AddAccountForm: two-step form for linking another account [Feat] AddAccountForm: Two-Step Form to Link a New Account Jul 15, 2026
@saknarajapakshe
saknarajapakshe force-pushed the 34-feat-add-account-form branch from 3654ae3 to 46c53ce Compare July 15, 2026 06:23
@maneeshaxyz

Copy link
Copy Markdown
Collaborator

LGTM.

@maneeshaxyz
maneeshaxyz merged commit a5dceb3 into OpenGovMail:main Jul 15, 2026
6 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.

AddAccountForm: two-step "Add another account" form component

2 participants