feat(frontend): separate post-signup survey from onboarding get-started page #3558
+316
−388
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Summary
/post-signup(EE-only survey) from a new/get-startedpage (onboarding path selection) that works in both OSS and EE/get-startedinstead of rendering onboarding inline/get-startedafter signup (no survey needed)Changes
New files (OSS):
web/oss/src/components/GetStarted/GetStarted.tsx— Main onboarding component with URL-based sub-views (?path=trace,?path=eval)web/oss/src/components/GetStarted/views/RunEvaluationView.tsx— Eval SDK instructions (moved from EE)web/oss/src/pages/get-started/index.tsx— Page with bare layoutNew files (EE):
web/ee/src/pages/get-started/index.tsx— EE version with org selector in headerModified:
PostSignupForm.tsx— Removed OnboardingScreen, navigates to/get-startedafter submitLayout.tsx— Added/get-startedto bare-layout route detectionusePostAuthRedirect.ts— OSS new users →/get-started, EE →/post-signupOnboardingWidget.tsx— Hidden on auth/onboarding routesDeleted:
OnboardingScreen.tsx(moved to OSS as GetStarted)RunEvaluationView.tsx(moved to OSS)Flow
/post-signup(survey) →/get-started(onboarding) → workspace/get-started(onboarding) → workspace