mirror of
https://github.com/Pasta-Devs/Marinara-Engine.git
synced 2026-12-03 19:00:50 +07:00
[PR #5939] [MERGED] Issue Sweep: chat translation, guidance and notifications #6999
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#6999
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/5939
Author: @SpicyMarinara
Created: 9/7/2026
Status: ✅ Merged
Merged: 9/8/2026
Merged by: @SpicyMarinara
Base:
staging← Head:fix/issue-sweep-chat-ux-sep7📝 Commits (8)
c6f51abchore: claim remaining chat issue sweep07827a3chore: claim capability documentation issue53f0940fix: sweep game translations, prompt guidance and notificationsb9b95e8Merge remote-tracking branch 'origin/staging' into fix/issue-sweep-chat-ux-sep71387a0cfix: complete translation hydration and settings search coverage124dab1Merge remote-tracking branch 'origin/staging' into fix/issue-sweep-chat-ux-sep7ebccfb2Merge remote-tracking branch 'origin/staging' into fix/issue-sweep-chat-ux-sep7c4362f0fix(translation): keep delayed results scoped to their chat📊 Changes
24 files changed (+653 additions, -66 deletions)
View changed files
📝
CHANGELOG.md(+5 -0)➕
e2e/chat-sweep.e2e.ts(+216 -0)📝
packages/client/src/App.tsx(+3 -2)📝
packages/client/src/components/chat/ChatArea.tsx(+1 -0)📝
packages/client/src/components/game/GameNarration.tsx(+90 -15)📝
packages/client/src/components/game/GameSetupWizard.tsx(+28 -0)📝
packages/client/src/components/panels/SettingsPanel.tsx(+25 -0)📝
packages/client/src/hooks/use-chats.ts(+1 -1)📝
packages/client/src/hooks/use-translate.ts(+28 -8)📝
packages/client/src/localization/locales/en.json(+5 -0)📝
packages/client/src/stores/translation.store.ts(+1 -0)📝
packages/client/src/stores/ui.store.ts(+6 -0)📝
packages/server/src/routes/game.routes.ts(+51 -25)📝
packages/server/src/routes/generate.routes.ts(+1 -1)📝
packages/server/src/services/game/storyboard-planner-fallback.ts(+22 -0)📝
packages/server/src/services/generation/runtime-agent-sections.ts(+6 -6)📝
packages/server/src/services/professor-mari/workspace-agent.service.ts(+10 -0)📝
packages/shared/src/constants/game-storyboard-prompts.ts(+3 -2)📝
packages/shared/src/features/agents/storyboard-agent-settings.ts(+2 -1)📝
packages/shared/src/types/game.ts(+3 -0)...and 4 more files
📄 Description
Linked issue
Closes #5888
Closes #5886
Closes #5931
Closes #5932
Closes #5933
Why this change
These assigned reports have no existing open/draft implementation PR. Game translations were stale after changed narration and inaccessible in the active panel; preset placement lost explicit Push Story direction; local Mari chat templates rejected trailing system context. Storyboard's hard-coded six-frame truncation and unusable local planner responses also prevented requested output. Notifications needed a saved location preference.
What changed
Validation
Executed:
pnpm check;pnpm localization:check;pnpm regression:prompt(three lanes);pnpm --filter @marinara-engine/server exec tsx ../../scripts/regressions/chat-sweep.regression.ts;pnpm exec playwright test e2e/chat-sweep.e2e.ts --workers=1(6/6 across desktop Chromium, mobile Chromium, mobile WebKit).Native proof covers twelve-frame plans, default/maximum bounds, reasoning-only and invalid planner output, retry ceilings, transport errors, current Director placement, and consecutive Mari command rounds. Browser proof uses mocked translation responses with real chat storage, verifies stale source replacement and hide persistence, and checks notification placement after reload. No paid model calls were made.
Review follow-up:
open-issues.regression.tsnow checks both notification positions/dismissal directions; its full run passed. The expanded browser run passed 6/6, including hidden-translation reload, readable translation and Settings search/focus. A CI WebKit Chroma-clock timeout was inspected from its trace and did not reproduce in three focused runs; no forced clicks, retries or weaker assertions were added for that timeout. A new full matrix is required before merge.Final review proof: a delayed translation/chat-switch regression failed before the fix, confirming the old request repopulated the active cache. Completion/error/loading updates now check the request chat ID; persistence still targets the original chat and reuses the existing cached-message updater, without refetching history. The combined chat/prompt browser suite passed 12/12 on desktop Chromium, mobile Chromium and mobile WebKit, including returning to the saved translation after a real chat switch.
pnpm checkpasses locallyCONTRIBUTING.mdManual verification notes
Docs and release impact
User-facing labels use the canonical English catalog; missing community translations fall back to English. Changelog entries added. No version bump or docs-page changes.
docs-i18nbranch updated to match, or a[docs-i18n]follow-up issue opened (see CONTRIBUTING.md § Translated documentation)UI evidence (if applicable)
The runnable
e2e/chat-sweep.e2e.tsdemonstrates active-panel translation and the saved native notification selector on all three browser projects. Browser traces/screenshots are retained on failure by the existing matrix.Summary by CodeRabbit
New Features
Bug Fixes
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.