Repository navigation
feat(local-ui): add chat and image model steps to onboarding, with server dialogs and a logo loader - #1906
Conversation
…age, not only in settings
…he Add model section headings
…let the box take focus
…open new servers on their models
…ed chat model and a skippable image model
…t and image steps
… loader shows once without restarting
|
@AnishSarkar22 is attempting to deploy a commit to the Rohan Verma's projects Team on Vercel. A member of the Team first needs to authorize it. |
|
Important Review skippedAuto reviews are disabled on base/target branches other than the default branch. Please check the settings in the CodeRabbit UI or the ⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Advanced Run ID: You can disable this status message by setting the Use the checkbox below for a quick retry:
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
…t finishes before unmounting
Resolves the models UI rework (#1906) against local audio: Electron stages both sd.cpp and audio.cpp, predev builds both, and the catalog doc says which sections offer Delete. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
What
selection.md,catalog.mdandconnections.mdare updated to describe the new onboarding flow and the server dialog.Why
Fixes #
How to test
High-level PR Summary
This PR implements a complete onboarding flow with model selection UI. Users progress through a welcome screen followed by two steps: choosing a chat model and optionally adding an image model. The onboarding interface displays local models in a scrollable list with download/use/delete actions, supports Hugging Face search for chat models, and allows connecting to remote servers. The implementation includes a new animated logo loader, converts the server connection form into a dialog component, and unifies model management between onboarding and settings pages. The chat model step is required while the image model step can be skipped.
⏱️ Estimated Review Time: 30-90 minutes
💡 Review Order Suggestion
docs/architecture/local-models/selection.mddocs/architecture/local-models/catalog.mddocs/architecture/connections.mdsurfsense_local/frontend/src/features/onboarding/model-step/slot.tssurfsense_local/frontend/src/features/onboarding/model-step/local-choices.tssurfsense_local/frontend/src/features/onboarding/model-step/use-slot-models.tssurfsense_local/frontend/src/features/onboarding/model-step/use-onboarding-install.tssurfsense_local/frontend/src/features/onboarding/model-step/use-slot-delete.tssurfsense_local/frontend/src/features/models/local/chat/describe-hardware.tssurfsense_local/frontend/src/features/models/local/chat/hardware-summary.tsxsurfsense_local/frontend/src/features/models/local/chat/use-chat-install.tssurfsense_local/frontend/src/features/models/local/image/use-image-install.tssurfsense_local/frontend/src/features/models/your-models/your-model-row.tssurfsense_local/frontend/src/features/onboarding/model-step/model-ready.tsxsurfsense_local/frontend/src/features/onboarding/offline-state.tsxsurfsense_local/frontend/src/features/onboarding/use-finish-onboarding.tssurfsense_local/frontend/src/app/logo-fill-loader.tsxsurfsense_local/frontend/src/index.csssurfsense_local/frontend/src/app/load-dashboard.tssurfsense_local/frontend/src/app/app-bootstrap.tsxsurfsense_local/frontend/src/app/app-bootstrap.test.tsxsurfsense_local/frontend/src/features/models/remote/connections/connection-dialog.tsxsurfsense_local/frontend/src/features/models/remote/connections/connection-form.tsxsurfsense_local/frontend/src/features/models/remote/connections/connection-form.test.tsxsurfsense_local/frontend/src/features/models/add-model/server-card.tsxsurfsense_local/frontend/src/features/models/add-model/add-model-options.tsxsurfsense_local/frontend/src/features/settings/models/model-slot-settings.tsxsurfsense_local/frontend/src/features/settings/models/chat-models-settings.test.tsxsurfsense_local/frontend/src/features/settings/models/chat-models-settings.tsxsurfsense_local/frontend/src/features/models/remote/models/server-models.tsxsurfsense_local/frontend/src/features/models/remote/models/server-model-picker.tsxsurfsense_local/frontend/src/features/models/remote/models/server-model-picker.test.tsxsurfsense_local/frontend/src/features/models/local/chat/model-search.tsxsurfsense_local/frontend/src/features/onboarding/model-step/hugging-face-search.tsxsurfsense_local/frontend/src/features/models/local/chat/download-chat-models.tsxsurfsense_local/frontend/src/features/models/local/chat/download-chat-models.test.tsxsurfsense_local/frontend/src/features/models/local/image/download-image-models.tsxsurfsense_local/frontend/src/features/models/local/image/download-image-models.test.tsxsurfsense_local/frontend/src/features/onboarding/model-step/local-model-list.tsxsurfsense_local/frontend/src/features/onboarding/model-step/server-option.tsxsurfsense_local/frontend/src/features/onboarding/model-step/server-path.tsxsurfsense_local/frontend/src/features/onboarding/model-step/model-step.tsxsurfsense_local/frontend/src/features/onboarding/onboarding-dither.tsxsurfsense_local/frontend/src/features/onboarding/onboarding-page.tsxsurfsense_local/frontend/src/features/onboarding/onboarding-page.test.tsxsurfsense_local/frontend/src/features/chat/chat-composer.tsxsurfsense_local/frontend/src/features/chat/chats-dialog.tsx