mirror of
https://github.com/Pasta-Devs/Marinara-Engine.git
synced 2026-12-03 19:00:50 +07:00
[PR #7660] [MERGED] fix(chat): tap a connection row to switch, arrow for models (mobile + Prof Mari) #7862
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#7862
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/7660
Author: @ylli-selmani
Created: 10/14/2026
Status: ✅ Merged
Merged: 10/14/2026
Merged by: @ylli-selmani
Base:
staging← Head:fix/mobile-quick-switcher-model-tap📝 Commits (6)
8c1c0b4fix(chat): tap a mobile connection row to switch, arrow for modelsf8afa52fix(chat): put the model-arrow divider before the checkmark374749eMerge remote-tracking branch 'origin/staging' into fix/mobile-quick-switcher-model-tap67e3bdbfix(mari): tap a connection row to switch, arrow for models when narrowd4be8e1fix(chat): return focus to the switcher after a connection switchbe50b7bfix(chat): checkmark beside the name, 48px model arrow in both pickers📊 Changes
5 files changed (+135 additions, -30 deletions)
View changed files
📝
packages/client/src/components/chat/QuickSwitcherMobile.tsx(+45 -23)📝
packages/client/src/components/chat/mari-primitives.tsx(+11 -1)📝
packages/client/src/components/chat/mari/MariComposer.tsx(+39 -5)📝
packages/client/src/localization/locales/en.json(+1 -0)📝
packages/client/src/styles/mari.css(+39 -1)📄 Description
Requested by Ylli
Linked issue
Closes #7659
Why this change
What changed
QuickSwitcherMobile: each connection row is now two buttons. Tapping the row switches to that connection and closes the menu. The arrow on the right, set off by a soft inset divider (the same hairline as the persona group rail in this menu), opens the connection's model list. The active checkmark stays on the row's selecting side, left of the divider. The arrow area is 48px wide (w-12), meeting Material's 48dp and Apple's 44pt touch-target sizes.MariComposer,mari.css): on narrow composers the row switches and closes the menu, and a new arrow at the row's end (behind a--mari-hairlinedivider) opens the models step. The arrow area is 3rem wide, matching the chat switcher. Wide composers are unchanged: tapping a row still shows its models beside the list, and the arrow is hidden.MariRowgains an optionalactionslot, built on the existingmari-row__togglepattern (a row whose text is one button with another button beside it).ConnectionModelPickeralready switches the chat when a model is picked, so browsing another connection's models is side-effect free until you choose one.connections.modelPicker.showModelsfor the arrow's accessible label.Validation
pnpm checkpasses locallyCONTRIBUTING.mdManual verification notes
Agent-run checks (still to be verified by a human):
pnpm checkexited 0; local CodeRabbit reported no findings on the whole branch. In a 375×812 viewport, in both the chat quick switcher and Professor Mari's composer, tapping a connection row switched the connection and closed the menu; tapping another row's arrow opened that connection's models and left the connection unchanged. At 1280×800, Professor Mari's picker kept its side-by-side layout with the arrows hidden.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)
Screenshots are attached in the review thread; to be added here.
🤖 Generated with Claude Code
Summary by CodeRabbit
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.