Skip to main content

Auth Sign In Double Submit Double Submit Fires Once

EPIC: auth
Authentication
STORY: sign_in_double_submit
As a household member, tapping sign-in twice while it is submitting fires the request once and shows the loading state.
AC: double_submit_fires_once
A second submit while the first is in flight is a no-op: exactly one AuthSignInRequested, button loading, still on the sign-in page.

Welcome (signed out)

Expect:
  • booting signed out lands on Welcome
Events:
  • [ANALYTIC] [page]: WelcomeRoute

tap Sign in → the form; enter credentials

User Actions:
  • Tapped: widget with key [<'WelcomePage.signIn'>]
  • Entered text: [email protected]
  • Entered text: hunter2
Expect:
  • the sign-in form is shown
Events:
  • [ANALYTIC] [page]: SignInRoute

tap submit TWICE while the sign-in is gated → one request, loading state holds

User Actions:
  • Tapped: widget with key [<'SignInPage.signInButton'>]
  • Tapped: widget with key [<'SignInPage.signInButton'>]
Expect:
  • the gated sign-in keeps us on the sign-in page
  • the submit button shows its loading state while in flight
Events:
  • AuthSignInRequested