Skip to main content

Rewards Rewards Management Admin Gates A Reward With A Prerequisite

EPIC: rewards
Admin · Rewards catalog CRUD
STORY: rewards_management
As an admin, I can create, edit and archive the household rewards so members have a working catalog to spend tokens on.
AC: admin_gates_a_reward_with_a_prerequisite
An admin opens a reward editor, taps Unlock requirements, and adds a minimum-balance gate — reusing the shared spend-gate sheet with targetKind reward (G-8).

open the Manage page (Rewards tab) with a seeded reward

User Actions:
  • Tapped: widget with text "Profile"
  • Tapped: widget with key [<'MorePage.adminEntry'>]
  • Tapped: widget with key [<'AdminHubPage.manageEntry'>]
Expect:
  • the seeded reward is available to gate
Events:
  • [ANALYTIC] [page]: ProfileRoute
  • MoreStarted
  • MoreCurrentMemberChanged
  • [ANALYTIC] [page]: AdminRoute
  • [ANALYTIC] [page]: ManageRoute
  • RewardsStarted
  • ActivitiesStarted
  • ChoresManagementStarted
  • ChoreRequestsManageStarted

open the reward editor and its Unlock requirements sheet

User Actions:
  • Tapped: widget with key [<'RewardsPage.rewardTile_reward-movie'>]
  • Tapped: widget with key [<'RewardEditor.gatesButton'>]
Expect:
  • a never-gated reward opens to the empty state
Events:
  • SpendGatesStarted

gate the reward behind a 15-token balance

User Actions:
  • Entered text: 15
  • Tapped: widget with key [<'SpendGatesSheet.addGateButton'>]
Expect:
  • the new reward gate appears after the reload
Events:
  • SpendGateAdded