Skip to content

feat(team_1): Occasion Selector (Zoë)#131

Open
zoe-barnswell wants to merge 1 commit intoRperry2174:mainfrom
zoe-barnswell:team1/setup
Open

feat(team_1): Occasion Selector (Zoë)#131
zoe-barnswell wants to merge 1 commit intoRperry2174:mainfrom
zoe-barnswell:team1/setup

Conversation

@zoe-barnswell
Copy link
Contributor

Summary

Adds Feature 4: Occasion Selector from the Team 1 PRD (assigned to Zoë).

Changes

  • OccasionSelector component: dropdown with options Any Occasion, Casual, Work, Party, Sport
  • Outfit generation filters TOPS, BOTTOMS, and SHOES by tags when an occasion is selected; fallback to full wardrobe if no items match
  • Integrated in App.jsx with selectedOccasion state above the outfit card

Files

  • teams/team_1/base_mvp/src/components/OccasionSelector.jsx
  • teams/team_1/base_mvp/src/components/OccasionSelector.css
  • teams/team_1/base_mvp/src/App.jsx (state, filter helper, render selector)

Success criteria (from PRD)

  • Row of occasion options (dropdown) plus "Any Occasion"
  • "Generate Outfit" only picks items whose tags include the selected occasion
  • Feature works independently and does not block other filters (e.g. season)

Made with Cursor

…t generation

- Add OccasionSelector component with Casual, Work, Party, Sport + Any Occasion
- Filter TOPS, BOTTOMS, SHOES by tags in generateOutfit; fallback to full list if empty
- Wire selectedOccasion state and selector above outfit card in App.jsx

Co-authored-by: Cursor <cursoragent@cursor.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant