Skip to content

Edit preferences without a full reset - #17

Merged
valeboth merged 1 commit into
mainfrom
feat/edit-preferences
Aug 25, 2026
Merged

valeboth merged 1 commit into
mainfrom
feat/edit-preferences

Conversation

@valeboth

Copy link
Copy Markdown
Owner

Edit preferences

Returning users skipped onboarding and could only change their taste via Start over (which wipes the account). Now:

  • Profile → Edit preferences opens the quiz pre-filled with the current profile (liked genres with like/love, genres to avoid, seed titles) and saves to the same user — no new account.
  • Genre/avoid chips reflect the current state on render (prefill); seeds now store their title for display.
  • First-time onboarding unchanged (creates the user); edit mode reuses state.userId, hides the name field, and the button reads Save.

Verified local

  • Edit upserts the same profile (genres {28}+seed → genres {18,35}+avoid {27}), no new user created ✅
  • Seed title stored + returned by GET /api/profile/:id ✅
  • lint/typecheck/build ✅

health → v2.9

- Profile screen: 'Edit preferences' opens the quiz PRE-FILLED with the current profile
  (genres like/love, avoid genres, seed titles) and saves to the SAME user (no new account)
- returning users can now tweak genres/avoid/seeds anytime (previously only 'Start over')
- seeds now store the title (for display when editing); onboarding sends it
- genre chips / avoid chips reflect current state on render (prefill)
- health -> v2.9

Tested local: edit upserts the same profile (no new user), seed title stored + returned.
@valeboth
valeboth merged commit cb24104 into main Aug 25, 2026
1 check passed
@valeboth
valeboth deleted the feat/edit-preferences branch August 28, 2026 13:17
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