mirror of
https://github.com/Pasta-Devs/Marinara-Engine.git
synced 2026-12-03 19:00:50 +07:00
[PR #8677] [MERGED] feat(client): two-pane model picker — Starred and accounts left, models right #8743
Labels
No labels
android
bug
bugfix
ci
client
code freeze pause
container
dependencies
docs
documentation
duplicate
enhancement
feature
feature
feature
feature-creep
fixed-in-refactor
fixed-in-staging
good first issue
help wanted
in-pr
in-pr
needs-codeowner-decision
normal-scope
old-codebase
old-codebase
pull-request
qol
question
refactor
regression
revisit later
roadmap
scope-risk
scope-risk
server
server
shared
soup
upstream
windows
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Pasta-Devs/Marinara-Engine#8743
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/Pasta-Devs/Marinara-Engine/pull/8677
Author: @Gunterlie
Created: 11/2/2026
Status: ✅ Merged
Merged: 11/2/2026
Merged by: @Gunterlie
Base:
staging← Head:feat/model-picker-two-panes📝 Commits (5)
e3f08ddfeat(client): bring back two panes in the model picker60fc141test(e2e): follow the two-pane model pickerb050515fix(client): keep the picker's Add key button inside the phone panea2c4ab1fix(client): stop the picker refetching a failed model list forevere6edd2afix(client): keep the Shuffle dice reachable on the phone Quick Switcher📊 Changes
11 files changed (+691 additions, -639 deletions)
View changed files
📝
e2e/add-connection.e2e.ts(+17 -7)📝
e2e/connection-model-switcher.e2e.ts(+79 -163)📝
e2e/connections-inline-settings.e2e.ts(+11 -2)📝
e2e/connections-layout.e2e.ts(+20 -13)📝
packages/client/src/components/chat/QuickConnectionSwitcher.tsx(+27 -9)📝
packages/client/src/components/chat/QuickSwitcherMobile.tsx(+0 -2)📝
packages/client/src/components/chat/mari/MariComposer.tsx(+0 -1)📝
packages/client/src/components/connections/ConnectionSwitcherBody.tsx(+523 -437)📝
packages/client/src/components/connections/ModelPicker.tsx(+1 -2)📝
packages/client/src/features/chat-settings/sections/ConnectionSection.tsx(+1 -3)📝
packages/client/src/localization/locales/en.json(+12 -0)📄 Description
Linked issue
No GitHub issue. Tester feedback on Discord (#pasta-testers, #me-bugs-features-feedback) after #8456: "that new model selector in chat is way less readable and usable than the one before … Before it was super clear - providers (connections) on the left, models on the right."
Why this change
The #8456 picker is one long column: Now, Follow Main, Recent, Starred, then the accounts. The same account shows in two or three places, Starred mixes whole Connections with models, and some accounts open an "All models" list while others list flat. Testers could not find their way around it.
This brings back the old two-pane layout on top of the new account + ★ model. Mockup approved by the maintainer before implementation.
What changed
ConnectionSwitcherBodyis shared, so every model picker gets the new layout: the chat chip, the phone Quick Switcher, Chat Settings, Professor Mari's composer, andModelPicker(every job field viaConnectionSelect: Main, Agents, Decision, Embeddings, Images, Voice, …).ServiceRow), then Add account. Folders, the built-in model and fix buttons for accounts that need a key or are off live here.connections.switcher.*English keys.Validation
Client
tsc --noEmitpasses;pnpm localization:checkpasses; Prettier clean.e2e updated:
connection-model-switcher,connections-inline-settings,connections-layout,add-connection.connection-model-switcher.e2e.tsdesktop-chromium: 6/6 pass (fixed a refetch loop on a failed model list).Not run locally: mobile projects,
add-connectione2e (6 failed locally earlier in the Add model dialog this branch does not change; not compared with staging). CI covers both.Full
pnpm checkand full e2e left to CI.pnpm checkpasses locallyContainer (Docker / Podman) built and ran without issue
Ran the app, clicked through the changes manually
Checked edge cases (light + dark mode, mobile viewport, empty states, error paths)
Above manual verification completed
Read and followed
CONTRIBUTING.mdManual verification notes
Docs and release impact
UI evidence
Mockup: two panes, Starred and accounts on the left, models on the right. Screenshots to be attached by the reviewer.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.