mirror of
https://github.com/Pasta-Devs/Marinara-Engine.git
synced 2026-12-03 19:00:50 +07:00
[PR #6026] [MERGED] Fix assigned Roleplay and Game workflows, visuals, and command context #7033
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#7033
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/6026
Author: @SpicyMarinara
Created: 9/10/2026
Status: ✅ Merged
Merged: 9/10/2026
Merged by: @SpicyMarinara
Base:
staging← Head:codex/assigned-issue-sweep-20260910📝 Commits (6)
d6606a2Track assigned issue sweep in Unreleased notes40af1f1Fix assigned Roleplay and Game workflows and command context7c902dfVerify sweep controls and preserve compatible context and scroll handling0a42b25Cover model macros in preset and chat previews0de2524Finish browser proof and keep context matching linear286cd95Use the current persistence schema in legacy migration proof📊 Changes
32 files changed (+972 additions, -99 deletions)
View changed files
📝
CHANGELOG.md(+13 -1)📝
e2e/assigned-chat-sweep.e2e.ts(+166 -4)📝
e2e/core-flows.e2e.ts(+2 -1)📝
e2e/roleplay-vn.e2e.ts(+113 -3)📝
packages/client/src/components/chat/ChatHelpOverlay.tsx(+2 -0)📝
packages/client/src/components/chat/ChatInput.tsx(+3 -1)📝
packages/client/src/components/chat/ChatMessage.tsx(+53 -30)📝
packages/client/src/components/chat/ChatRoleplaySurface.tsx(+95 -9)📝
packages/client/src/components/chat/ChatSettingsDrawer.tsx(+17 -2)📝
packages/client/src/components/chat/SpriteOverlay.tsx(+11 -2)📝
packages/client/src/components/game/GameSurface.tsx(+1 -1)📝
packages/client/src/components/panels/SettingsPanel.tsx(+21 -0)📝
packages/client/src/components/ui/AvatarGenerationModal.tsx(+4 -4)📝
packages/client/src/hooks/use-characters.ts(+3 -0)📝
packages/client/src/hooks/use-settings-sync.ts(+2 -0)📝
packages/client/src/lib/ui-persistence.ts(+1 -1)📝
packages/client/src/localization/locales/en.json(+6 -0)📝
packages/client/src/stores/ui.store.ts(+19 -1)📝
packages/server/src/routes/characters.routes.ts(+4 -4)📝
packages/server/src/routes/chats.routes.ts(+6 -0)...and 12 more files
📄 Description
Linked issue
Closes #6018
Closes #6019
Closes #6020
Closes #6021
Closes #6022
Closes #6023
Closes #6024
Closes #6025
Closes #6027
Why this change
Restore the assigned Roleplay and Game workflows reported by @SpicyMarinara: automatic Illustrator stopped running when commands were enabled, character and DM controls were missing or stale, and Visual Novel history/art ignored the intended presentation. Keep private command state in the tracker Context block and make character-sheet dimensions independent of backgrounds.
What changed
Outside-contributor work remains excluded: #5963 / #5965, #5868 and #5869 / #5872, #5836 / #5837, #5833 / #5835, and #5856 / #5771. Translation follow-ups #5968 and #5834 were implemented in merged docs-i18n PR #5993 and depend on those source PRs. #5779 is a contributor notice.
Validation
pnpm checkpasses locallyCONTRIBUTING.mdAutomated evidence:
pnpm check(format, TypeScript, lint, localization, build),pnpm version:check, andpnpm regression:promptpassed. The final focused browser run passed 67 tests, with 2 intentional mobile skips for the 4K desktop case, across desktop Chromium, mobile Chromium, and mobile WebKit. The standard Dockerfile rebuilt successfully; its fresh isolated container serves built app assets and reports healthy/api/health.Real-route regressions capture requests at a deterministic local provider and verify selected/overridden model names, both preview paths, Illustrator interval 3, interval 0/manual-only, the disabled master switch, and explicit commands replacing automatic decisions. Storage fixtures verify party deletion across chats while preserving history, NPCs, and unrelated modes. Image-size proofs cover legacy defaults, independent settings, clamping, migration, synchronization selection, and reload. Prompt proofs cover all three Context formats, character/narrator privacy, history exclusion, literal note contents, malformed Context text, and per-character reminder eviction/update order.
All hosted checks passed on the final commit, including 244/244 Node regression files, all ten browser shards and their project gates, build/lint/localization, container checks, and CodeQL. CodeRabbit completed its review. The legacy UI migration browser proof also passed locally using the shared current preference version.
The local full Node suite encounters a pre-existing macOS symlink assertion in
mari-guard-sibling-paths.regression.ts, reproduced on untouched staging; hosted Linux passes. Checkboxes remain unchecked as required for AI-generated PRs.Manual verification notes
Browser automation uses isolated fixture data on desktop Chromium, mobile Chromium, and mobile WebKit. Model calls use deterministic local fixture providers; no paid image-provider run or physical-phone check is claimed.
Docs and release impact
docs-i18nbranch updated to match, or a[docs-i18n]follow-up issue openedCHANGELOG Unreleased and canonical English UI copy are updated. UI preference schema advances to 100 for migration; the app version remains 2.4.5. No user documentation paths changed.
UI evidence (if applicable)
All 21 after screenshots and fixture details. Original before screenshots.
Desktop scene layering:
Mobile scene and expanded history (WebKit):
Independent character-sheet dimensions · Game library pickers · Light-theme history
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.