Skip to content

Improvement: simplify the onboarding experience #5012

Closed

Description

@yannickmonney

The current onboarding flow is too complicated. Simplify it and make it easier for users to understand and complete.

Activity

  1. added
    agent-ready
    on Oct 29, 2026
  2. tale-review-bot commented on Oct 31, 2026

    @tale-review-bot
    Collaborator

    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/tale main df6105cef08a78084439c029d5917611c4adcf54: 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:

    1. 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.
    2. 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.
    3. 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.

  3. added a commit that references this issue on Nov 2, 2026
    59cc2e6
  4. added a commit that references this issue on Nov 2, 2026
    50c2373
  5. tale-code-bot commented on Nov 2, 2026

    @tale-code-bot
    Collaborator

    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.

  6. added 15 commits that reference this issue on Nov 2, 2026
    016b836
    a3b8459
    3f1c6e6
    d128f0f
    c20bee0
    cad05fe
    3c89ff5
    94ccbf3
    2ee81c2
    3d9116d
    45c5b77
    a691126
    81bc8a8
    1d5c759
    3e96952
  7. added a commit that references this issue on Nov 15, 2026
    067edda
  8. added a commit that references this issue on Nov 23, 2026
    be35edb
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    agent-readyimprovementservice: platform

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions