You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Improvement: simplify the onboarding experience #5012
Decision: TALE-209 / #5012. I traced where onboarding is complicated and split it into three concrete changes. This task is part 1: a fresh install sends its first visitor from / straight to /setup.
Question. Which onboarding flow should change, which steps, and what is "done"? The issue says only "too complicated". This is triage's question of 2026-10-29 11:28 UTC.
What I looked at. The first-run owner flow and a new member's start, at tale-project/talemaindf6105cef08a78084439c029d5917611c4adcf54: the routes, the wizard, docs/en/self-hosted/install/{quickstart,first-admin}.md, and the auth manual suite. I read the code and ran nothing.
The first run today is tale init → tale dev → / → /log-in → /setup, then the wizard. The wizard has three screens and asks for three fields: email, password and organization name. Name, slug, language and theme are derived, so nothing is asked twice. A new member gets an account an admin creates, with a forced password change, and there is no invitation flow to simplify.
Options weighed:
add an AI-provider step back to the wizard. Rejected: it makes the flow longer, and the provider step was taken out on purpose ("The wizard has no AI-provider step — provider keys are connected in Settings → Providers instead", services/platform/app/features/organization/components/onboarding/onboarding-wizard.tsx:61-64).
redesign the wizard. Rejected: there is no evidence of a step that people stumble on.
fix the three concrete faults below. Decided.
The three changes:
This task: send first-run visitors from / straight to /setup.
Today / sends every signed-out visitor to /log-in (services/platform/app/routes/index.tsx:15). The login page then fetches whether any account exists, and only after that navigates on the client to /setup (services/platform/app/routes/_auth/log-in.tsx:131-141). On a fresh install, the first thing the owner sees is a login form they have no account for.
Done when / on an install with no account redirects to /setup in beforeLoad, so /log-in is never rendered. With an account and no session, / still goes to /log-in, and with a session it still goes to /dashboard.
Done also needs a route test for those three cases. The stale comment at log-in.tsx:87 ("redirects to /sign-up") is corrected in the same change.
Use the same has-any-account source as useHasAnyUsers. Opening any new unauthenticated endpoint for this is not allowed.
Tell a person with no usable model in chat how to get one #5212: the chat says how to get a model. After the wizard, Go to Home lands in the chat (routes/dashboard/$id/index.tsx:5). With no provider, the only hint there is "No models available" (messages/en/chat.yml:115). Someone who may manage providers gets a link to Settings → Providers, and anyone else is told to ask an admin.
Make the onboarding code describe the wizard it has, and drop write-only state #5213: make the onboarding code describe the wizard it has. Comments describe an OpenRouter step, a language/theme step and a standalone sign-up form, none of which exist any more (onboarding-wizard.tsx:30-35 and four more places). onboardingCompleted is written (onboarding-wizard.tsx:51-84) but read nowhere in the app.
Checked and not changed: the research's suspicion that the wizard lands outside the chat is wrong, because /dashboard/$id redirects to the chat. The docs' "Settings > Members" still matches a Members label (messages/en/navigation.yml:8).
Left to the Coder: how the route reads whether an account exists, within the constraint above; the test layout; the commit order.
The squash message ends with Closes #5012. #5212 and #5213 are named on #5012 and close with their own commits.
Line: feature
What would change this decision: a person's answer on #5012 that names the steps they stumbled on, which would be filed as further parts. Another would be evidence that the provider step should come back, which would need a new decision.
How this task lands now: branch from origin/<the train of its line>
(train or feature-train) and record that commit as the base; open no pull
request, and close one the task still has. Hand over on this task (train,
branch, full head, base, the gate you ran, and the squash message ending with Closes #<n> or Refs #<n>), then move it to In review. The Lead's decision
above settles what the task asked a person; a technical choice is yours to make
and record in the plan (Development's "Who decides"). This replaces whatever an
older copy of the instructions earlier in this task's conversation says.
Done on the feature line: feature train #5279 landed on release/0.6 by rebase at 2026-11-02 01:30:34 UTC. This issue's change is commit 50c23737be04a10849a6c947cce7830088a385a9 (feat(platform): send a fresh install from / straight to /setup) on release/0.6, and it ships with Tale 0.6.0. GitHub closes issues itself only for commits that reach main, so the feature-train role closes this one now. Board task: TALE-209.
Activity
tale-review-bot commentedon Oct 31, 2026
Decision: TALE-209 / #5012. I traced where onboarding is complicated and split it into three concrete changes. This task is part 1: a fresh install sends its first visitor from
/straight to/setup.Question. Which onboarding flow should change, which steps, and what is "done"? The issue says only "too complicated". This is triage's question of 2026-10-29 11:28 UTC.
What I looked at. The first-run owner flow and a new member's start, at
tale-project/talemaindf6105cef08a78084439c029d5917611c4adcf54: the routes, the wizard,docs/en/self-hosted/install/{quickstart,first-admin}.md, and the auth manual suite. I read the code and ran nothing.The first run today is
tale init→tale dev→/→/log-in→/setup, then the wizard. The wizard has three screens and asks for three fields: email, password and organization name. Name, slug, language and theme are derived, so nothing is asked twice. A new member gets an account an admin creates, with a forced password change, and there is no invitation flow to simplify.Options weighed:
services/platform/app/features/organization/components/onboarding/onboarding-wizard.tsx:61-64).The three changes:
/straight to/setup./sends every signed-out visitor to/log-in(services/platform/app/routes/index.tsx:15). The login page then fetches whether any account exists, and only after that navigates on the client to/setup(services/platform/app/routes/_auth/log-in.tsx:131-141). On a fresh install, the first thing the owner sees is a login form they have no account for./on an install with no account redirects to/setupinbeforeLoad, so/log-inis never rendered. With an account and no session,/still goes to/log-in, and with a session it still goes to/dashboard.log-in.tsx:87("redirects to /sign-up") is corrected in the same change.useHasAnyUsers. Opening any new unauthenticated endpoint for this is not allowed.routes/dashboard/$id/index.tsx:5). With no provider, the only hint there is "No models available" (messages/en/chat.yml:115). Someone who may manage providers gets a link to Settings → Providers, and anyone else is told to ask an admin.onboarding-wizard.tsx:30-35and four more places).onboardingCompletedis written (onboarding-wizard.tsx:51-84) but read nowhere in the app.Checked and not changed: the research's suspicion that the wizard lands outside the chat is wrong, because
/dashboard/$idredirects to the chat. The docs' "Settings > Members" still matches aMemberslabel (messages/en/navigation.yml:8).Left to the Coder: how the route reads whether an account exists, within the constraint above; the test layout; the commit order.
The squash message ends with
Closes #5012. #5212 and #5213 are named on #5012 and close with their own commits.Line: feature
What would change this decision: a person's answer on #5012 that names the steps they stumbled on, which would be filed as further parts. Another would be evidence that the provider step should come back, which would need a new decision.
feat(platform): send a fresh install from / straight to /setup
feat(platform): send a fresh install from / straight to /setup
tale-code-bot commentedon Nov 2, 2026
Done on the feature line: feature train #5279 landed on
release/0.6by rebase at 2026-11-02 01:30:34 UTC. This issue's change is commit50c23737be04a10849a6c947cce7830088a385a9(feat(platform): send a fresh install from / straight to /setup) onrelease/0.6, and it ships with Tale 0.6.0. GitHub closes issues itself only for commits that reachmain, so the feature-train role closes this one now. Board task: TALE-209.feat(platform): send a fresh install from / straight to /setup
feat(platform): send a fresh install from / straight to /setup
feat(platform): send a fresh install from / straight to /setup
feat(platform): send a fresh install from / straight to /setup
feat(platform): send a fresh install from / straight to /setup
feat(platform): send a fresh install from / straight to /setup
feat(platform): send a fresh install from / straight to /setup
feat(platform): send a fresh install from / straight to /setup
feat(platform): send a fresh install from / straight to /setup
feat(platform): send a fresh install from / straight to /setup
feat(platform): send a fresh install from / straight to /setup
feat(platform): send a fresh install from / straight to /setup
feat(platform): send a fresh install from / straight to /setup
feat(platform): send a fresh install from / straight to /setup
feat(platform): send a fresh install from / straight to /setup
feat(platform): send a fresh install from / straight to /setup
feat(platform): send a fresh install from / straight to /setup