feat(onboarding): surface-aware download strip and model-library intro fact#252
Merged
Conversation
…o fact Signed-off-by: Logan Nguyen <lg.131.dev@gmail.com>
Signed-off-by: Logan Nguyen <lg.131.dev@gmail.com>
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.
Overview
Polishes the first-run experience around the built-in engine. The onboarding intro now tells users they can run any open-source model, and the download status strip adapts its copy to where it is shown so the call to action always matches what the user can actually do at that moment.
What changed
DownloadStatusStriptakes asurfaceprop ('askbar' | 'onboarding') in place of the previousalternateboolean. The ready line reads "Send your first message!" on the ask bar and "Hit Get Started to start chatting!" during onboarding, where the compose surface is not yet available.docs/models-and-providers.md) and gains a short "Since v0.15" summary of the local-first shift.How it works
surfaceis a required, explicit discriminator, so every call site declares its context rather than relying on a defaulted flag. The ask-bar surface keeps the alternating "safe to close" hint; onboarding shows a steady label and a ready line pointing at the Get Started button. Behavior is preserved exactly:alternatewasfalseduring onboarding andtrueon the ask bar, which maps tosurface === 'askbar'.Testing
bun run typecheck,bun run lint:frontend, and the Prettier check are clean.bun run test:coverage: 96 files, 2129 tests pass, 100% coverage held across lines, branches, functions, and statements.Note: the change is frontend and docs only; no backend files are touched, so the Rust gates are unchanged from main and confirmed in CI.