Skip to content

Upgraders from 2.3.1 get onboarding when setup isn't ready - #475

Merged
kitlangton merged 1 commit into
devfrom
upgrader-onboarding
Oct 30, 2026
Merged

kitlangton merged 1 commit into
devfrom
upgrader-onboarding

Conversation

@kitlangton

@kitlangton kitlangton commented Oct 30, 2026 •

Copy link
Copy Markdown
Collaborator

Hex 2.3.1 and earlier used the same hex folder, but the new anomaly.hex bundle ID starts with no macOS permissions. An upgrader's existing settings.json and onboarding-complete made Hex skip the tour, so they opened on General with permission warnings.

Before

launch
├── settings.json exists or onboarding-complete -> onboarding done
└── tour skipped -> General shows "Permissions needed"

After

launch (macOS)
├── settings lack migrations["anomaly-hex-identity"]   // 2.3.1, or earlier dev builds
│   ├── permissions or model not ready -> drop old completion + step -> tour at Welcome
│   └── everything ready -> no tour
│   └── either way: record the ID (no other settings change)
└── new settings start with the ID -> fresh-install flow is unchanged

Tests: a_fresh_install_onboards_without_the_identity_check, an_upgrader_without_permissions_gets_the_tour_once, an_upgrader_whose_setup_is_ready_skips_the_tour. Nothing the window draws changes, so the goldens are the same.

Where an upgrader ends up after Welcome (--scene mac-onboarding-setup, dark):

(The --snap render matches the committed golden rune-mac-onboarding-setup-dark.png, shown here.)

Read: a real 2.3.1 → anomaly.hex upgrade on a Mac hasn't been tried yet. The new onboarding from #409 (onboarding_kit) is still only in the playground; this PR leaves the shipping tour as it is.

@kitlangton
kitlangton merged commit b98a00a into dev Oct 30, 2026
1 of 6 checks passed
@kitlangton
kitlangton deleted the upgrader-onboarding branch October 30, 2026 14:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant