Skip to main content

Rewards Suggest Dialog Rewards Suggest Activity Reward Scope

EPIC: rewards
Rewards tab
STORY: suggest_dialog
As a member I can tap the Suggest button on the Rewards tab to recommend an activity or reward to admins, without seeing chore or bounty options (Task D5 submit side).
AC: rewards_suggest_activity_reward_scope
RewardsTabPage.suggestButton opens SuggestCatalogItemDialog scoped to [activity, reward]; chore and bounty type options are absent; submitting a name calls requestChore with an itemType in {activity, reward}.
User Actions:
  • Tapped: widget with text "Rewards"
Expect:
  • RewardsTabPage is visible
  • suggest button is present in the Rewards header
Events:
  • [ANALYTIC] [page]: RewardsTabRoute
  • CatalogStarted

tap suggest button — dialog shows activity + reward options only

User Actions:
  • Tapped: widget with key [<'RewardsTabPage.suggestButton'>]
Expect:
  • SuggestCatalogItemDialog title is shown
  • Activity type option is shown (in scope)
  • Reward type option is shown (in scope)
  • Chore type option is absent (out of scope for Rewards)
  • Bounty type option is absent (out of scope for Rewards)

switch to Reward type, fill name, submit — requestChore called with reward itemType

User Actions:
  • Tapped: widget with text "Reward" (ignoring all but last)
  • Entered text: Cinema ticket
  • Entered text: 20
  • Tapped: widget with key [<'HouseholdPage.choreRequestSubmit'>]
Expect:
  • dialog is dismissed after submit