-
[OPIK-6515] [FE][BE] fix: gate onboarding demo-loading flow on demoDataEnabled toggle (#6704)
发布于
2026-05-14 12:35:56 +00:00 Onboarding's Skip path polled for a demo project that's never created on
deployments without demo-data creation (self-hosted-eks, STSaaS), trapping
users in a 5-minute loop with "Back to setup" looping back to the same Skip.Adds a demoDataEnabled toggle to ServiceTogglesConfig (default true so
OSS/prod behavior is unchanged). When false:- NewQuickstart manual Skip marks onboarding done and routes to /home.
- SelectIntentStep "I don't have an AI agent yet" card routes to DONE
(lands on /home via AgentOnboardingQuickstart) instead of the demo
loader. - ConnectAgentStep shows the existing Explore Opik button immediately
in place of ShowDemoProjectButton, giving users an exit before they
send a first trace.
Also gates useDemoProject on the toggle so disabled deployments skip
the HTTP probe entirely.Co-authored-by: Claude Opus 4.7 noreply@anthropic.com
下载附件