Skip to main content

Earn Suggest Dialog Earn Suggest Chore Bounty Scope

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

tap suggest button — dialog shows chore + bounty options only

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

fill name and submit — requestChore called with chore itemType

User Actions:
  • Entered text: Water the plants
  • Tapped: widget with key [<'HouseholdPage.choreRequestSubmit'>]
Expect:
  • dialog is dismissed after submit