mirror of
https://github.com/Pasta-Devs/Marinara-Engine.git
synced 2026-12-03 19:00:50 +07:00
[PR #8945] [MERGED] fix(client): lay out Custom Agents settings like the other agent menus #8899
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#8899
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/8945
Author: @SpicyMarinara
Created: 11/7/2026
Status: ✅ Merged
Merged: 11/7/2026
Merged by: @SpicyMarinara
Base:
staging← Head:fix/custom-agents-checkbox📝 Commits (2)
555efd2fix(client): lay out Custom Agents settings like the other agent menus59ae4f8test(e2e): pin custom agent lorebook switch to the card edge📊 Changes
2 files changed (+9 additions, -4 deletions)
View changed files
📝
e2e/agent-lorebook-attachment.e2e.ts(+4 -0)📝
packages/client/src/components/chat/ChatSettingsDrawer.tsx(+5 -4)📄 Description
Linked issue
Closes #8932
Why this change
In RolePlay settings, the Custom Agents section looked broken: its "Attach lorebook for the specific agent" switch sat in a box inside a box of the same colour, pressed against the agent's description. Every other agent card puts that switch straight on the card. The Custom Agents card (
renderActiveCustomAgentSettingsCard) wrapped each attached agent in its own bordered box. That box was styled like the switch's own box, andc0fe8a3e2dadded the switch inside it with no spacing.What changed
packages/client/src/components/chat/ChatSettingsDrawer.tsx:e2e/agent-lorebook-attachment.e2e.ts: the custom agent's switch has the same x and width as Prose Guardian's, which pins the layout.Validation
pnpm checkpasses locallyCONTRIBUTING.mdManual verification notes
Run by the agents (not a substitute for the boxes above):
pnpm check: exit 0. The 15 regressions that read the drawer or cover agent lorebooks pass.e2e/agent-lorebook-attachment.e2e.tson desktop-chromium and mobile-chromium, light and dark: 4 passed.stagingdon't run this e2e in CI (only manual dispatch, PRs tomainand the nightly run).Still to verify by hand:
Docs and release impact
🤖 Generated with Claude Code
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.
[PR #8945] fix(client): lay out Custom Agents settings like the other agent menusto [PR #8945] [MERGED] fix(client): lay out Custom Agents settings like the other agent menus