feat(onboarding): calmer onboarding + local AI download snackbar#134
Merged
Conversation
…download snackbar - Add persisted `onboardingDeferredByUser` state so "Set up later" survives across sessions (no more overlay nagging on every launch) - Add SetupBanner for non-intrusive "Finish setting up" reminder with resume path - Convert LocalAIStep to fire-and-forget download, advancing immediately - Add LocalAIDownloadSnackbar (bottom-left, collapsible) for persistent download progress that doesn't block the main chrome - Extract shared helpers (formatBytes, formatEta, progressFromStatus) to localAiHelpers.ts - Add Vitest tests for overlay gating, banner, and snackbar Closes #101
…orts The OnboardingOverlay test mocked utils/config with only DEV_FORCE_ONBOARDING, which shadowed the global mock from setup.ts and dropped IS_DEV — causing store/index.ts to fail on CI.
senamakel
approved these changes
Mar 31, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
onboardingDeferredByUserin Redux persist — no more full-screen overlay nagging on every launchSetupBannershows a subtle top banner ("Finish setting up OpenHuman") when onboarding is deferred, with "Continue Setup" to re-open the flowLocalAISteptriggers downloads and immediately advances; blocking progress UI removed from the onboarding wizardLocalAIDownloadSnackbar(bottom-left, z-[9998]) shows download progress, speed, and ETA — collapsible to a pill, dismiss hides UI but does NOT cancel downloadformatBytes,formatEta,progressFromStatustolocalAiHelpers.ts(previously duplicated in 3-4 files)Files changed
Modified (7)
app/src/store/authSlice.ts— newonboardingDeferredByUserpersisted field + reducerapp/src/store/authSelectors.ts— newselectOnboardingDeferredselectorapp/src/store/index.ts— added to persist whitelistapp/src/components/OnboardingOverlay.tsx— respects deferred state, passesonDefercallbackapp/src/pages/onboarding/Onboarding.tsx— acceptsonDeferprop, renders "Set up later"app/src/pages/onboarding/steps/LocalAIStep.tsx— fire-and-forget download, no blocking UIapp/src/App.tsx— mountsSetupBanner+LocalAIDownloadSnackbarNew (6)
app/src/components/SetupBanner.tsx— non-intrusive setup reminder bannerapp/src/components/LocalAIDownloadSnackbar.tsx— persistent download progress snackbarapp/src/utils/localAiHelpers.ts— shared formatting helpersapp/src/components/__tests__/OnboardingOverlay.test.tsxapp/src/components/__tests__/SetupBanner.test.tsxapp/src/components/__tests__/LocalAIDownloadSnackbar.test.tsxTest plan
yarn typecheckpassesyarn lintpassesyarn format:checkpassesyarn buildsucceedsyarn tauri devlaunches, core connectsisOnboardedByUserin localStorage, reload — overlay appears with "Set up later"Closes #101