mirror of
https://github.com/Pasta-Devs/Marinara-Engine.git
synced 2026-12-03 19:00:50 +07:00
[PR #6198] [MERGED] fix: theme Roleplay action borders and save translator defaults #7086
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#7086
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/6198
Author: @SpicyMarinara
Created: 9/14/2026
Status: ✅ Merged
Merged: 9/14/2026
Merged by: @SpicyMarinara
Base:
staging← Head:fix/chroma-story-combat📝 Commits (3)
73a7f0ddocs: track Chroma action border fixc2f3c38fix: theme Roleplay action borders and save translator defaults7450e85fix: ignore invalid translator profile overrides📊 Changes
16 files changed (+515 additions, -22 deletions)
View changed files
📝
CHANGELOG.md(+3 -0)📝
e2e/chat-sweep.e2e.ts(+169 -0)📝
packages/client/src/components/chat/ChatInput.tsx(+1 -1)📝
packages/client/src/components/chat/ChatSettingsDrawer.tsx(+3 -1)📝
packages/client/src/components/chat/EncounterModal.tsx(+16 -16)📝
packages/client/src/components/game/GameSetupWizard.tsx(+8 -2)📝
packages/client/src/features/chat-settings/sections/TranslationSection.tsx(+46 -2)➕
packages/client/src/hooks/use-translator-defaults.ts(+37 -0)📝
packages/client/src/localization/locales/en.json(+6 -0)📝
packages/server/src/routes/app-settings.routes.ts(+2 -0)📝
packages/server/src/services/storage/chat-presets.storage.ts(+10 -0)📝
packages/server/src/services/storage/chats.storage.ts(+5 -0)📝
packages/shared/src/index.ts(+1 -0)➕
packages/shared/src/utils/translator-defaults.ts(+48 -0)📝
scripts/regressions/chat-wizard-defaults.regression.ts(+33 -0)📝
scripts/regressions/open-issues.regression.ts(+127 -0)📄 Description
Linked issue
Closes #6197
Closes #6199
Why this change
Push Story and Roleplay Combat retain pink outlines after choosing another Chroma accent. Users also have to configure translation again for each new chat.
What changed
Validation
pnpm checkpassed, including localization, formatting, types and production builds. Existing GameNarration hook and Vite circular-chunk warnings remain.Real storage/profile and wizard-default regressions passed (2/2), including malformed defaults/profile values, legacy aliases, explicit overrides, stored-profile preservation and existing-chat preservation.
Translator browser regression passed in desktop Chromium, mobile Chromium and mobile WebKit (3/3). It reproduced an immediate-save race before the fix and now verifies the same held metadata update, reload, all three new-chat modes, Game wizard inheritance and Forget affecting future chats only.
Focused Chroma browser proof passed across both themes and all three browser projects (6/6): all 144 computed-border comparisons matched existing Chroma tokens and changed with blue/orange accents. Screenshots inspected.
Docker runtime validation was unavailable because the local Docker daemon is not running. No live translation provider calls or physical-device testing were performed.
pnpm checkpasses locallyContainer (Docker / Podman) built and ran without issue
Ran the app, clicked through the changes manually
Checked edge cases (light + dark mode, mobile viewport, empty states, error paths)
Above manual verification completed (describe below)
Read and followed
CONTRIBUTING.mdManual verification notes
Manually verify Push Story and Combat with a non-pink accent on desktop and a physical phone. Save Translator defaults immediately after changing a prompt, create a chat in each mode, and verify translation with your configured provider. Check that explicit saved wizard/profile choices still take precedence. Forget defaults and confirm existing chats retain their settings.
Docs and release impact
Both user-facing changes are recorded under CHANGELOG Unreleased. No version or documentation contract changes.
UI evidence
Before/after Chroma borders and desktop/mobile Translator screenshots. Download the HTML and open it to view embedded images. All screenshots use synthetic fixtures.
Summary by CodeRabbit
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.