Skip to main content

Chores Today Load States Today Load Failure Retry

EPIC: chores
Today / Home
STORY: today_load_states
Home shows a spinner while loading and a message + retry on failure — never three empty "no items" sections.
AC: today_load_failure_retry
A failed Today load shows one message + retry; retry reloads and renders the sections.

Welcome (signed out)

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

tap Sign in → the sign-in 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

sign in while the Today load throws → message + retry

User Actions:
  • Tapped: widget with key [<'SignInPage.signInButton'>]
Expect:
  • on Home
  • a failed Today load shows a single error message
  • the failure offers a retry (not a dead end)
  • the per-section empty states do NOT show on load failure
Events:
  • AuthSignInRequested
  • AuthUserChanged
  • [ANALYTIC] [page]: HomeTabRoute
  • HouseholdStarted
  • TodayChoresStarted
  • HouseholdMembersChanged

tap Retry with the load now succeeding → sections render

User Actions:
  • Tapped: widget with text "Retry"
Expect:
  • retry reloaded Today and rendered the chore
  • the error/retry is gone once the load succeeds
Events:
  • TodayChoresStarted
  • [ANALYTIC] event: today_section_shown {section: expectations, count: 1}
  • TodayApprovalsChanged