feat(onboarding): persona-driven swipe onboarding#5991
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
689fc74 to
b56d02f
Compare
Combines the swipe onboarding flow with the persona picker and removes the user-facing free-text prompt. Users now pick up to three personas; the prompt sent to onboardingDiscoverPosts is built silently from the persona titles + tags + the user's experienceLevel from registration. The "Show popular posts" fallback is preserved. - PersonaSelector gains a 'seed' mode that emits onSelectionChange instead of immediately following persona tags (the legacy 'follow' mode is unchanged for the EditTag flow). - New buildSwipePrompt utility composes a deterministic prompt string from personas + experience level, with unit-test coverage. - Shared SwipePersonaIntro component renders the pre-swipe panel for both the funnel step and the /onboarding/swipe preview. - featureManagement.ts skip-listed for strict typecheck while the bundler-resolution / @growthbook exports issue is addressed separately.
b56d02f to
8ba6eb0
Compare
Right-swipes (accepts) tick swipesCount toward the 10-post unlock; left swipes still feed handleAdaptiveSwipe so the deck keeps learning the dislike signal but no longer move the bar or trigger the milestone burst.
Co-authored-by: Cursor <cursoragent@cursor.com>
|
check pr @claude |
|
Claude finished @tomeredlich's task in 4m 50s —— View job PR Review —
|
Co-authored-by: Cursor <cursoragent@cursor.com>
Co-authored-by: Cursor <cursoragent@cursor.com>
Restore the popular-posts fallback when adaptive discovery fails, move progress above the cards with a smooth transition to 100%, and tighten completion CTA layout and copy. Co-authored-by: Cursor <cursoragent@cursor.com>
Keep tablet and desktop on the previous swipe onboarding structure while applying the new top bar, progress slot, persona list, and fixed footer on small screens only. Co-authored-by: Cursor <cursoragent@cursor.com>
|
@claude check pr |
|
Claude finished @tomeredlich's task in 3m 50s —— View job PR Review (round 2) —
|
Remove unused swipe guidance copy helpers, fix multi-persona prompt engineer stripping, and move onboarding keyframes into shared CSS. Co-authored-by: Cursor <cursoragent@cursor.com>
Changes
Combines the swipe onboarding flow (#5865) with the persona picker (#5939) and removes the user-facing free-text prompt. Users now pick up to three personas; the prompt sent to
onboardingDiscoverPostsis built silently from the persona titles + tags + the user'sexperienceLevelfrom registration. The "Show popular posts" fallback is preserved for users who skip persona selection.Implementation notes:
PersonaSelectorgains amode: 'follow' | 'seed'prop so the swipe path can read the selection without batch-following tags upfront. The pre-swipe panel is powered bySwipePersonaIntro, and/onboarding/swiperedirects back to/onboardingwhile preserving query params.Events
select onboarding personatarget_type: 'persona',target_id: <persona id>, `extra: { action: 'select'Experiment
Yes — the swipe flow remains gated by the existing
swipe_onboardingGrowthBook flag (defaulttruein code, controlled at the experiment level). No new experiment introduced in this PR.Manual Testing
Caution
Please make sure existing components are not breaking/affected by this PR
On those affected packages:
Did you test the modified components media queries?
Did you test on actual mobile devices?
Preview domain
https://davidercruz-swipe-personas.preview.app.daily.dev