Skip to main content

Activities Activities Management Admin Creates An Auto Approve Activity

EPIC: activities
Admin ยท Activities catalog CRUD + activity-gate editor
STORY: activities_management
As an admin, I can create, edit and archive the household activities and gate them behind a chore + token balance so members have a working, unlockable catalog.
AC: admin_creates_an_auto_approve_activity
Toggling "Auto-approve redemptions" ON persists autoApproveRedemption: true through createActivity.

open the Admin hub and the Manage page (Activities tab)โ€‹

User Actions:
  • Tapped: widget with text "Profile"
  • Tapped: widget with key [<'MorePage.adminEntry'>]
  • Tapped: widget with key [<'AdminHubPage.manageEntry'>]
  • Tapped: widget with text "Activities"
Expect:
  • AdminGuard admits the admin to /manage
  • Activities tab shows the empty state
Events:
  • [ANALYTIC] [page]: ProfileRoute
  • MoreStarted
  • MoreCurrentMemberChanged
  • [ANALYTIC] [page]: AdminRoute
  • [ANALYTIC] [page]: ManageRoute
  • RewardsStarted
  • ActivitiesStarted
  • ChoresManagementStarted
  • ChoreRequestsManageStarted

add an activity with auto-approve redemptions ONโ€‹

User Actions:
  • Tapped: widget with key [<'ActivitiesPage.addButton'>]
  • Entered text: Movie night
  • Entered text: 10
  • Tapped: widget with key [<'ActivityEditor.autoApproveSwitch'>]
  • Tapped: widget with key [<'ActivityEditor.saveButton'>]
Events:
  • ActivitiesCreated
  • [ANALYTIC] [page_popped]: ManageRoute