openhuman icon indicating copy to clipboard operation
openhuman copied to clipboard

[Bug] Onboarding totalSteps is 7 but only 6 steps exist

Open graycyrus opened this issue 8 months ago • 1 comments

Summary

Progress indicator shows 7 dots but only 6 onboarding steps are rendered.

Problem

Onboarding.tsx:39 sets const totalSteps = 7 but the renderStep() switch only handles cases 0-5 (6 steps: Welcome, LocalAI, ScreenPermissions, Tools, Skills, Mnemonic). The progress indicator at the bottom of the onboarding modal shows an extra dot that is never reached.

Solution

Change totalSteps from 7 to 6.

Acceptance criteria

  • [ ] Repro gone — Progress indicator matches actual step count
  • [ ] Regression safety — Derive totalSteps from the step array length if possible

Related

Parent: #189 File: app/src/pages/onboarding/Onboarding.tsx:39

graycyrus avatar Apr 02 '26 09:04 graycyrus

Fixed in #279 — totalSteps now matches the actual step count (5 steps after removing MnemonicStep). The progress indicator dots align with the rendered steps.

graycyrus avatar Apr 02 '26 16:04 graycyrus