feat(webapp): streamline onboarding v2 landing layout and hero#5897
feat(webapp): streamline onboarding v2 landing layout and hero#5897
Conversation
Made-with: Cursor
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
capJavert
left a comment
There was a problem hiding this comment.
Added some style/events adjustments.
|
@claude review |
|
Claude finished @capJavert's task in 2m 32s —— View job Code Review
Overall this is a clean, well-scoped simplification. ~600 lines of animation state, feed reveal observers, rising tags, dummy sidebar, and live feed preview all removed with no dangling references in the component itself. Two issues worth fixing and one thing to verify before merge: Issues1. Dead
OnboardingFeedEnd = 'onboarding feed end',The inline feed-end chooser that used 2. The PR correctly adds an
Suggested fix for both sites: // before
setStep(shouldShowExtension ? 'extension' : 'complete');
// after
if (isExtensionSeenFetched) {
setStep(shouldShowExtension ? 'extension' : 'complete');
}VerifyHero step body scroll — The PR description says "document.body overflow is hidden on the hero step so the page does not scroll", but the actual code in const isModalOpen = step !== 'hero' && step !== 'complete';
// overflow: hidden is applied on modal steps, NOT on heroOn the hero step, body overflow is whatever the browser default is. The Nits / positives
|
Summary
This PR refreshes the Onboarding V2 landing experience (hero step) to reduce friction: a focused full-viewport layout, clearer headline typography, and footer always visible without scrolling the page.
Feature flag (no new flag)
featureManagement: still gated by existingfeatureOnboardingV2→ keyonboarding_v2(defaultfalse).packages/webapp/pages/onboarding.tsxrenders<OnboardingV2 />when this flag is on; no additional experiment flag was added.UX / layout
OnboardingChooserGrid) lives in the hero; removed the live feed preview on the hero step, dummy left sidebar, animated rising tags, long subtitle, and duplicate hero CTAs (the two paths are only in the chooser cards).typo-title1on small screens andtablet:typo-large-titleplus slightly relaxed line height on tablet+.min-h-dvhflex column whenstep === 'hero'; footer usesmt-auto;document.bodyoverflow is hidden on the hero step so the page does not scroll behind the layout.FooterLinksstays at the bottom of the viewport on the hero step (with safe-area padding where relevant).Flow unchanged
Signup/auth modals, import overlay, tags fallback, extension promo, completion screen, and other steps after leaving the hero are unchanged.
Testing
node ./scripts/typecheck-strict-changed.jspnpm exec eslint components/onboarding/OnboardingV2.tsx(webapp)How to QA: Enable
onboarding_v2for your user/session, open/onboarding, confirm hero-only layout, no page scroll on hero, footer visible, and both chooser paths still work.Made with Cursor
Preview domain
https://feat-onboarding-v2-landing-refre.preview.app.daily.dev