mirror of
https://github.com/Pasta-Devs/Marinara-Engine.git
synced 2026-12-03 19:00:50 +07:00
[PR #8840] [MERGED] fix(connections): compact current-model row and align Quick Switcher icons #8837
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#8837
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/8840
Author: @Gunterlie
Created: 11/4/2026
Status: ✅ Merged
Merged: 11/4/2026
Merged by: @Gunterlie
Base:
staging← Head:fix/compact-now-model-row📝 Commits (2)
d4584d5fix(connections): compact current-model row and align switcher iconsd92d6e8fix(connections): align standalone switcher rows with the pane column📊 Changes
2 files changed (+51 additions, -28 deletions)
View changed files
📝
packages/client/src/components/connections/ConnectionSwitcherBody.tsx(+48 -26)📝
packages/client/src/components/connections/ServiceRow.tsx(+3 -2)📄 Description
TL;DR: The current model at the top of the model picker is now one short row (about 40% shorter), and the phone Quick Switcher's icons and buttons line up in one column.
Linked issue
Closes #8839
Why this change
The "Now · this chat only" strip at the top of the chat model picker used a heading line plus a full model row (79–92px), so the catalog below got less room. On phones the Quick Switcher also looked uneven: Starred, account rows and Built-in model each used a different icon size and inset, and the settings / Use default / shuffle buttons had different sizes (32px and 44px) and uneven gaps (9px and 4px).
What changed
ServiceRowsmall density), connections without an account and Built-in model put their icon in one shared 2rem column, so icon centres and text starts line up. The text start ofServiceRowsmall rows does not change, and the picture-button and trailing spacing do not change.Validation
pnpm checkpasses locallyCONTRIBUTING.mdManual verification notes
Agent-run evidence (Playwright on a local
pnpm devwith a copy of real data):tsc --noEmit,eslint(0 errors) andprettier --checkpass on the changed files. Fullpnpm check(impeccable, localization, format, lint, e2e types, token types, build) passed on headd4584d5500(the follow-upd92d6e8d71changes one line; client tsc, eslint and prettier pass on it), run by the agent. An independent agent review found no issues.Please verify by hand:
Known limit: at 390px line 2 of the Now row truncates after "this chat only", so the account is cut there. The account still shows in the list below.
Docs and release impact
docs-i18nbranch updated to match, or a[docs-i18n]follow-up issue opened (see CONTRIBUTING.md § Translated documentation)UI evidence (if applicable)
Before/after screenshots at 390, 768 and 1440px (with context usage) were taken locally; they are not uploaded yet. Measured numbers are listed above.
Summary by CodeRabbit
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.