Branched onboarding
Component-composed company, personal, and import branches with explicit skips, reviews, resume, and outcomes.
Company, personal, and import onboarding branches
Branch choice, distinct forms, optional skips, review paths, resume state, validation, saving, and completion.
Complete screen
Build your team
Invite a team or explicitly skip the optional step.
Company branch
Invite teammates
Add teammates now or skip this step and invite them after the workspace is ready.
Viewport
Ruby
test/dummy/app/components/gallery/compositions/onboarding_branches_page.rbworkspace_surface do
render_header
render_branch_context
case state
when "choose-path" then render_path_choice
when "company" then render_company_form
when "solo" then render_solo_form
when "import" then render_import_form
when "invite-team" then render_invitation_form
when "skip-team" then render_skipped("Team invitations skipped", "Invitations can be sent later from workspace members.", "integration")
when "integration" then render_integration_choice
when "skip-integration" then render_skipped("Integrations skipped", "The workspace will start without external delivery destinations.", "review-company")
when "review-company" then render_review(:company)
when "review-solo" then render_review(:solo)
when "validation" then render_company_form(invalid: true)
when "saving" then render_company_form(disabled: true)
when "complete" then render_complete
when "resume" then render_resume
when "long" then render_long
when "mobile" then render_mobile
end
end