mirror of
https://github.com/Pasta-Devs/Marinara-Engine.git
synced 2026-12-03 19:00:50 +07:00
[PR #8845] [MERGED] fix(connections): one Download action on the built-in model row; keep row buttons unfilled #8840
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#8840
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/8845
Author: @Gunterlie
Created: 11/4/2026
Status: ✅ Merged
Merged: 11/4/2026
Merged by: @Gunterlie
Base:
staging← Head:fix/builtin-model-row-actions📝 Commits (1)
9865fcafix(connections): one action per state on the built-in model row; pin quiet row buttons unfilled📊 Changes
4 files changed (+49 additions, -45 deletions)
View changed files
📝
packages/client/src/components/connections/BuiltInModelCard.tsx(+16 -40)📝
packages/client/src/localization/locales/en.json(+0 -2)📝
packages/client/src/styles/globals.css(+6 -3)➕
scripts/regressions/quiet-row-buttons.regression.ts(+27 -0)📄 Description
Linked issue
No linked issue — reported on Discord by a tester (built-in model row screenshot). Planned polish, so straight to PR.
Why this change
On Connections → Defaults, the Built-in model row in the "Not downloaded" state offered Download three times:
⋯menu whose only item was Download,On top of that, the row buttons were drawn as filled bubbles at rest. The "quiet" row-button rule was meant to stop that, but it only won by specificity, so every new theme/accent-mode rule that styled
.mari-chrome-controlbrought the fill back (most recently fixed for gradient accent in4e41b10ae8). This is the third-or-so time the bubbles came back.What changed
BuiltInModelCard.tsx: one action per state.⋯menu is removed — it always held exactly one item that repeated the row click.globals.css: the quiet rest rule (.mari-chrome-control--quiet:not(:hover):not(:focus-visible):not([aria-expanded="true"])) now uses!importantfor background, border and box-shadow, so later theme/accent rules cannot refill it. Hover, focus-visible and open-menu states still fill as before.en.json: dropped the two keys only the removed menu used (connections.builtin.card.actions,connections.builtin.card.settings).scripts/regressions/quiet-row-buttons.regression.tspins the!importantrest rule,ROW_BUTTONusing the quiet variant, and the built-in row having no one-item menu.Validation
Agent ran (not checkboxes — for the human to re-run):
node scripts/run-regressions.mjs --filter quiet-row-buttons→ passedtsc --noEmit -p packages/client→ cleaneslintonBuiltInModelCard.tsx→ clean;prettier --checkon changed files → cleanNot run: full
pnpm check, Docker build, browser check.pnpm checkpasses locallyCONTRIBUTING.mdManual verification notes
⋯, no chevron, and clicking the row does nothing.⋯buttons on account/model rows have no fill at rest in default, gradient, RGB and pulse accent modes, and still fill on hover, keyboard focus and while their menu is open.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)
No screenshots yet — see manual verification notes.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.