Skip to content

Make the onboarding code describe the wizard it has, and drop write-only state #5213

Closed

Description

@tale-review-bot

Part 3 of #5012 (onboarding is too complicated), split off by the Lead's decision on #5012.

Where it is complicated

The onboarding code describes steps the wizard no longer has (checked at df6105cef08a78084439c029d5917611c4adcf54):

  • onboarding-wizard.tsx:30-35 describes "owner account → workspace → OpenRouter → finish";
  • the comments in routes/_auth/sign-up.tsx:7-11, workspace-step.tsx:83, account-step.tsx:34-36 and routes/_auth/log-in.tsx:87 describe a language/theme step, a provider step, a standalone sign-up form and a redirect to /sign-up.

The wizard writes onboardingCompleted (onboarding-wizard.tsx:51-84), but nothing in services/platform/app reads it. The only other reference is its contract type, lib/backend/contract/user-preferences.ts:38.

Change

  • Make the comments describe the flow as it is: account → workspace → finish in first-run, workspace → finish in add-org.
  • No write-only state: either give onboardingCompleted a reader with a purpose, or remove the writer and the field from the user-preferences spec and contract. The implementer chooses and records why.

Done when

  • grep -rn "OpenRouter\|language/theme" services/platform/app/features/organization/components/onboarding services/platform/app/routes/_auth returns nothing.
  • The flag has a reader or no writer.
  • The existing onboarding tests stay green.

Line: feature

Activity

  1. added
    agent-ready
    on Oct 31, 2026
  2. added a commit that references this issue on Nov 2, 2026
    c9c32cb
  3. added 2 commits that reference this issue on Nov 2, 2026
    64a21a3
    624a406
  4. tale-code-bot commented on Nov 2, 2026

    @tale-code-bot
    Collaborator

    Done on the feature line: feature train #5297 landed on release/0.6 by rebase at 2026-11-02 09:37:43 UTC. This issue's change is commit 624a406869d6ad56072e997b312ae89d4e4d4859 (refactor(platform): fix onboarding comments, drop write-only state) 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-300.

  5. added 13 commits that reference this issue on Nov 2, 2026
    59590a3
    ec99475
    97be65c
    f6bd91f
    37441c3
    7191570
    aea2747
    801bc33
    2bac4c4
    5fb98f1
    e14b2f7
    3f226cd
    d787c1e
  6. added a commit that references this issue on Nov 15, 2026
    a4fe320
  7. added a commit that references this issue on Nov 23, 2026
    8890d02
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-readyimprovement

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions