feat(desktop): new user landing screen without sidebar or topbar#1153
Conversation
📝 WalkthroughWalkthroughAdds onboarding layout and welcome route; changes several navigation calls to use history replacement ( Changes
Estimated code review effort🎯 3 (Moderate) | ⏱️ ~20 minutes Possibly related PRs
Poem
🚥 Pre-merge checks | ✅ 2 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (2 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing touches
🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Show a clean onboarding layout when user has no projects. All navigations in the onboarding flow use history.replace so setup screens never appear in back-button history.
cf42981 to
5b56ad2
Compare
🧹 Preview Cleanup CompleteThe following preview resources have been cleaned up:
Thank you for your contribution! 🎉 |
Summary
_onboardingpathless layout route parallel to_dashboardhistory.replaceso setup screens never appear in back-button historyChanges
_onboarding/layout.tsx— minimal layout with only a drag region for window controls_onboarding/welcome/page.tsx— rendersStartViewinside the clean layoutworkspace/page.tsx— redirects to/welcomewhen no workspaces (instead of renderingStartViewinside dashboard layout)StartView/index.tsx— navigate to project withreplace: trueuseCreateWorkspace.ts— navigate to workspace withreplace: trueTest plan
Summary by CodeRabbit
New Features
Bug Fixes
Chores