mirror of
https://github.com/jjbrunton/Sauci.git
synced 2026-10-31 10:19:43 +00:00
feat(onboarding): skippable avatar with first-match prompt and usage-reason pack picks
Lets new users skip the onboarding avatar step and instead defers the ask to a lightweight, dismissible prompt shown once after the couple's first match. Also personalizes the home screen's first pack recommendation using the usage_reason already collected during onboarding, which now round-trips through GET /v1/me. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
1 parent
f22d4a3649
commit
fd8981fa28
14 files changed
+567
-77
No files matched your search
@@ -1,3 +1,12 @@
|
||||
/** Why the user says they came to Sauci, collected during onboarding. */
|
||||
export type UsageReason =
|
||||
| 'improve_communication'
|
||||
| 'reconnect'
|
||||
| 'spice_up_intimacy'
|
||||
| 'deeper_connection'
|
||||
| 'have_fun'
|
||||
| 'strengthen_relationship';
|
||||
|
||||
// User profile (extends Supabase auth.users)
|
||||
export interface Profile {
|
||||
id: string;
|
||||
@@ -8,6 +17,8 @@ export interface Profile {
|
||||
is_premium: boolean;
|
||||
couple_id: string | null;
|
||||
gender: 'male' | 'female' | 'non-binary' | 'prefer-not-to-say' | null;
|
||||
/** Why the user came to Sauci, if they shared it during onboarding. */
|
||||
usage_reason?: UsageReason | null;
|
||||
show_explicit_content: boolean;
|
||||
max_intensity: 1 | 2 | 3 | 4 | 5;
|
||||
created_at: string;
|
||||
|
||||
Reference in new issue
Block a user