Skip to main content

Auth Setup Wizard Child Invite Code Collects Name

EPIC: auth
Authentication + Onboarding
STORY: setup_wizard
As a new household admin, I can walk the full onboarding wizard — household, first kid, parental consent, token value, first chore — and land on Today with everything set up.
AC: child_invite_code_collects_name
A child invite code shows a display-name prompt; entering the name and submitting completes the join and lands on Home.

open dialog, enter a CHILD code → peek shows name prompt

User Actions:
  • Tapped: widget with key [<'SetupPage.haveInviteCode'>]
  • Entered text: CODE-CHILD-99
  • Tapped: widget with key [<'SetupPage.inviteCodeSubmit'>]
Expect:
  • child code transitions dialog to the display-name field
  • the code field is replaced by the name field
Events:
  • SetupInviteCodeSubmitted

enter display name "Robin" and submit → redeemAndActivate → Home

User Actions:
  • Entered text: Robin
  • Tapped: widget with key [<'SetupPage.inviteCodeSubmit'>]
Expect:
  • child attach lands in the household (Home)
Events:
  • SetupInviteNameSubmitted
  • [ANALYTIC] [page_popped]: SetupRoute
  • [ANALYTIC] [page]: HomeTabRoute
  • HouseholdStarted
  • TodayChoresStarted
  • HouseholdMembersChanged