mirror of
https://github.com/Pasta-Devs/Marinara-Engine.git
synced 2026-12-03 19:00:50 +07:00
[PR #8021] [MERGED] fix(editors): mobile controls, accent colors, greeting generation and preset parameters #8059
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#8059
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/8021
Author: @SpicyMarinara
Created: 10/21/2026
Status: ✅ Merged
Merged: 10/21/2026
Merged by: @SpicyMarinara
Base:
staging← Head:fix/editor-ui-preset-polish📝 Commits (4)
ed38fdcfix(editors): simplify mobile avatar crop actions0751ef7fix(editors): align theme controls and generate character greetingscdb2c44test(editors): use current labels and settings anchors048ba9ftest(editors): navigate to Card before checking alternatives📊 Changes
29 files changed (+1003 additions, -115 deletions)
View changed files
📝
docs/characters/creating-and-editing-characters.md(+3 -3)📝
docs/prompts/generation-parameters.md(+2 -0)📝
docs/prompts/presets.md(+2 -0)📝
e2e/card-field-generation.e2e.ts(+134 -0)➕
e2e/editor-ui-polish.e2e.ts(+344 -0)📝
packages/client/src/components/characters/CardFieldAlternatives.tsx(+15 -8)📝
packages/client/src/components/characters/CharacterEditor.tsx(+41 -10)➕
packages/client/src/components/characters/CharacterGreetingWand.tsx(+33 -0)📝
packages/client/src/components/diagnostics/use-access-warning-banner.tsx(+1 -0)📝
packages/client/src/components/panels/settings/AccessStatusSettings.tsx(+1 -1)📝
packages/client/src/components/personas/PersonaEditor.tsx(+2 -2)📝
packages/client/src/components/ui/AppBanner.tsx(+15 -4)📝
packages/client/src/components/ui/AvatarCropWidget.tsx(+5 -6)📝
packages/client/src/hooks/use-card-field-generation.ts(+9 -8)📝
packages/client/src/localization/locales/en.json(+1 -0)📝
packages/client/src/styles/globals.css(+9 -2)📝
packages/server/src/db/default-preset.json(+1 -1)📝
packages/server/src/db/seed.ts(+2 -0)📝
packages/server/src/routes/chats.routes.ts(+5 -1)📝
packages/server/src/routes/generate.routes.ts(+36 -23)...and 9 more files
📄 Description
Linked issue
Closes #8020
Why this change
Mobile editor controls wrap or use inconsistent styles, several actions ignore the selected chroma color, and the default editor surface differs from the sidebar. The built-in Universal preset also synthesizes generation parameters when its stored settings are empty, so clearing visible values alone does not remove its overrides.
What changed
Validation
pnpm checkpasses locallyCONTRIBUTING.mdRecorded automated evidence: implementation
pnpm checkpassed; container build and/api/healthpassed; production startup/reload passed 3/3 in desktop Chromium, mobile Chromium and mobile WebKit. Focused generation and stock-parameter regressions passed, including seed upgrades, custom-preset controls, real assembly, all-mode parameter previews, runtime connection/chat precedence, and local HTTP provider captures through real Roleplay/Conversation generation and dry run. Game live provider capture is not claimed; its existing runtime regression and stock parameter preview passed.Final browser results:
e2e/editor-ui-polish.e2e.ts18/18 ande2e/card-field-generation.e2e.ts27/27 across desktop Chromium, mobile Chromium and mobile WebKit; focused alternative-field selection/assignment/deletion/persistence 2/2 in desktop Chromium and mobile WebKit;pnpm smoke:ui7/7. Local CodeRabbit completed with 0 findings across all 29 changed files. The later commits only correct browser-fixture labels, readiness and normal section navigation; final E2E TypeScript checks passed. No product source changed after the full local check and local review.Implementation check/review source:
0751ef76016fd98ca93d982994e46f6a57df0b31. Final source including fixture corrections:048ba9f9fe07a34eb63f76f4247c2af4113f12bd.Commands:
pnpm check;pnpm regression:prompt; focused Node runner filterscard-field-generation,stock-preset-parameters,stock-preset-protection,preset-token-limits,nanogpt-glm-reasoning-off,agent-connection-parameters,chat-variables-preset-precedence,game-generation-parameters;pnpm regression:ui e2e/card-field-generation.e2e.ts --workers=1;pnpm regression:ui e2e/editor-ui-polish.e2e.ts --workers=1; focused alternative-field cases;pnpm smoke:ui;pnpm smoke:production;pnpm check:e2e-types; Docker build/run/health; local CodeRabbitreview --agent --fresh --committed --base-commit c036554bb0b91c2e8f3fc6cae786bae6ce05ef42. Browser commands used disposable existing servers on ports 7840/7842; production checks used the built container on 7849.Initial mobile module-loading failures occurred during shared-package rebuilds; unchanged replay after a clean development-server restart passed. The visual fixture's WebKit cross-section click was reproduced unchanged, then corrected to use the normal Card navigation; no forced click, timeout increase, skipped case, weakened assertion, or production workaround. Earlier failure traces are retained separately from final passing evidence.
Final hosted evidence for
048ba9f9fe07a34eb63f76f4247c2af4113f12bd: 8/8 required checks passed, the complete Node regression suite passed 964/964, and the platform matrix passed 10/10. Dottore's full examination completed Viable, With Notes, recording the exact final head: 54 model calls, four candidates examined and rejected, zero confirmed defects, zero unverified/capped candidates and zero failed verification controls. The first examination timed out in the model stream; the unchanged full retry completed.Review dispositions: two nonblocking style notes (joining existing localized sentences and reusing a predicate) do not require behavior changes. The Game live capture and dedicated macro/preview-endpoint regressions remain explicitly scoped proof gaps. Source tracing confirmed the shared reasoning resolver layers connection/chat settings, Engine formatting defaults remain intact, scene/Mari consumers use only assembled messages, and preview consumers safely accept an empty parameter map. There are no unresolved review threads.
Merged into
stagingat090fd317654d2f5b6ff958887af2f18883de4e98; both the reviewed head and merge commit were verified as ancestors oforigin/staging. Post-merge workflows are separate from these passing PR checks.Manual verification notes
Browser emulation and local provider fixtures do not establish physical-device or external-provider behavior.
Docs and release impact
docs-i18nbranch updated to match, or a[docs-i18n]follow-up issue openedEnglish guides updated. Translation follow-up: #8024. No version bump or changelog edit.
UI evidence (if applicable)
Before/after browser evidence gallery (source gist). Includes the original blue editor/yellow access banner, all six grey editor surfaces, light/SillyTavern preservation, mobile avatar controls, alternative fields, greetings, preset copy placement and accent access warnings. Screenshots contain disposable fixtures; browser emulation only.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.