feat: add user onboarding flow and clarify org/team hierarchy - #30
Merged
Merged
Conversation
- Add multi-step onboarding page (/onboarding) that guides new users through workspace creation and team invitations - Update middleware to redirect users without organizations to onboarding - Redirect signup to onboarding instead of dashboard - Login checks for org membership and redirects to onboarding if needed - Rename "Organization" to "Workspace" throughout settings UI - Rename "Team" tab to "Teams" in settings - Hide default team from team list and TeamSwitcher dropdown - TeamSwitcher now shows org name as primary context with building icon - Additional teams shown as optional sub-groups under workspace - Empty state for teams explains the workspace-first model - Sidebar "Team" link renamed to "Members" pointing to workspace tab https://claude.ai/code/session_014ACXuHTJ4gc7oH6woD9dXo
Users now land on a personal dashboard after signup/login instead of being forced through onboarding. The dashboard shows submission stats and recent feedback when no workspace exists, with a CTA to create one. - Add personal dashboard state for users without organizations - Create /submissions page and GET /api/user/submissions endpoint - Add always-visible Personal section to sidebar (My Submissions, Notifications) - Remove forced onboarding redirect from middleware; onboarding is now CTA-accessible - Add submissionMode column to project schema (anonymous vs account_required) - Simplify login/signup to always redirect to /dashboard https://claude.ai/code/session_014ACXuHTJ4gc7oH6woD9dXo
…sers Add a public /get-started page for external links (e.g., marketing site) that routes authenticated users to onboarding and shows a signup CTA for visitors. Signup and login now support a `redirect` query param so the flow chains: /get-started → /signup?redirect=/onboarding → /onboarding. The sidebar and settings page are now context-aware: - Sidebar shows a "Create workspace" CTA in the header for personal users instead of the TeamSwitcher, and hides Feedback/Management sections - Settings page hides Workspace, Teams, and Billing tabs when user has no org - Middleware honors redirect param on auth routes for logged-in users - Dashboard link moved to always-visible Personal section https://claude.ai/code/session_014ACXuHTJ4gc7oH6woD9dXo
Contributor
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
through workspace creation and team invitations
https://claude.ai/code/session_014ACXuHTJ4gc7oH6woD9dXo