mirror of
https://github.com/Pasta-Devs/Marinara-Engine.git
synced 2026-12-03 19:00:50 +07:00
[PR #8456] [MERGED] Connections: account-first redesign #8613
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#8613
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/8456
Author: @Gunterlie
Created: 10/29/2026
Status: ✅ Merged
Merged: 11/1/2026
Merged by: @Gunterlie
Base:
staging← Head:feat/connections-accounts📝 Commits (10+)
ee53990Cost badges: each card loads its saved model list once, and proxy nanogpt/ models get NanoGPT plan badges after the user allows reading NanoGPT's public list4035e28Folders come back as a Group by view: ••• › Group by folder shows one card per folder (rename, colour, delete, fold) with Not in a folder last; rows and multi-select get Folder › to move models; the quick picker follows the same choiced89bfb1Folder rows: via first, then the Connection, so a cut line keeps the route7e3bf77Model rows: one badge column (role on line 1, cost on line 2); NanoGPT plan matches an unlisted id by its last part when unique; LinkAPI joins Most people start here as Recommended, our sponsor63db633Connections: a straight blue rail on the left edge of every model well (Defaults box excepted)b3cefb5Folder view: role and cost badges on a third line, folder rows get their cost badges, and folders wear an icon (12 to choose from, in the folder's colour)6305aedAdd connection copy: Sponsor and Plan or pay per use badges, one network-error sentence, a key link for every key service, and a no-result row that leads to any OpenAI-compatible address592a950Model picker: adding shows + and an Added check instead of a star, and the Add window never says favorite665d86bAdd connection list: Recommended (LinkAPI first, Sponsor), plan, Services A–Z with Show all N, Your own server (with self-hosted image tools), On this device and a folded Other; kind chips filter it, tiles show their kinds as icons, ChatGPT takes the Codex image tile (search: codex) and LinkAPI adds Image7f56d3fConnections: balance per Connection (LinkAPI, OpenRouter, DeepSeek, Moonshot) and a price catalog for models without a price📊 Changes
411 files changed (+39401 additions, -12457 deletions)
View changed files
📝
README.md(+13 -11)📝
docs/FAQ.md(+4 -4)📝
docs/chats/chat-settings.md(+3 -3)📝
docs/chats/managing-chats.md(+1 -1)📝
docs/connections/connecting-to-a-provider.md(+54 -43)📝
docs/connections/decision-models.md(+27 -26)📝
docs/connections/local-self-hosted.md(+19 -21)📝
docs/connections/organizing-connections.md(+46 -55)📝
docs/connections/providers-reference.md(+14 -13)📝
docs/connections/subscription-clis.md(+14 -15)📝
docs/development/optional-agent-packages.md(+15 -0)📝
docs/home/welcome.md(+1 -1)📝
docs/lorebooks/semantic-search.md(+1 -1)📝
docs/media/image-providers.md(+7 -5)📝
docs/settings/settings-overview.md(+1 -1)➕
e2e/add-connection-media.e2e.ts(+600 -0)➕
e2e/add-connection.e2e.ts(+564 -0)📝
e2e/advanced-memory.e2e.ts(+8 -6)📝
e2e/agent-activation-questions.e2e.ts(+23 -8)📝
e2e/avatar-generation.e2e.ts(+6 -1)...and 80 more files
📄 Description
Why
Connections was built around single connections. Users think in accounts. This change makes the Connections panel account-first and improves the setup and job-selection flows.
What changed
The account-first chooser no longer has a Models toggle. Its saved
quickSwitcherShowModelspreference no longer hides catalogs. This is part of the agreed account-first chooser change. The replacement browser tests prove that legacy disabled preferences cannot hide the current catalog controls.AUTH_REJECTEDerrors and a Continue anyway path when required fields are complete.Local review notes
CodeRabbit found no defects in the nine-file server/storage repair. Its later reviews questioned removed browser assertions and a potentially ambiguous search locator. The old “Applies to this chat only” copy and Models toggle do not exist in the current chooser. The tests now check the dialog name, persisted chat-only model overrides, unchanged saved model rows, and catalog access with a legacy disabled preference. The Chat Settings assertion uses its current “Only this chat. Main stays …” help text. The browser test retains the mobile 44px target checks for catalog controls. The search-locator concern does not reproduce:
ConnectionSwitcherBodyrenders either the catalog or the account list, and the desktop/mobile reload tests pass with the shared close helper. These findings were traced and dismissed; they were not reported as zero findings.Validation
heavy pnpm checkpassed on the final source revision7eac418a35.pnpm localization:checkpassed.pnpm smoke:uipassed (7/7).cf75e02a9c. The three CodeQL alert sites use server-generated image filenames, explicit connection-test limits, and HMAC probe identities. The follow-up audio identity fix is7eac418a35; CodeQL is now neutral because the staging workflow configuration is unavailable, with no new alert reported.connections-account-safetyopen-issuesagent-activation-questionsconnection-auth-error-codepnpm version:checkpasses.Translation follow-up: #8464 covers README and every changed guide under
docs/, for all language packs ondocs-i18n.Manual verification
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.