[PR #3298] [MERGED] [codex] Respect game storyboard prompt presets #5870

Closed
opened 2026-10-22 04:20:21 +07:00 by bsakaguchi · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/Pasta-Devs/Marinara-Engine/pull/3298
Author: @thetopham
Created: 7/6/2026
Status: ✅ Merged
Merged: 7/6/2026
Merged by: @SpicyMarinara

Base: staging ← Head: codex/storyboard-prompt-cleanup


📝 Commits (7)

  • d0e5eec Clean up game storyboard prompt overrides
  • c492c37 Add game storyboard prompt modes
  • 841e5da Add storyboard manga prompt presets
  • 9ea29fc Use still storyboard preset for manual creation
  • 922fef2 Respect storyboard chat prompt presets
  • c4e042f Add editable game video prompt presets
  • e0f4c72 Merge branch 'staging' into codex/storyboard-prompt-cleanup

📊 Changes

25 files changed (+1290 additions, -276 deletions)

View changed files

📝 CHANGELOG.md (+2 -1)
📝 README.md (+1 -1)
📝 docs/CONFIGURATION.md (+3 -1)
📝 docs/FAQ.md (+2 -2)
📝 docs/GAME_MODE.md (+1 -1)
📝 docs/SCENE_VIDEO_GENERATION.md (+21 -14)
📝 docs/STORYBOARD_ENGINE_GUIDE.md (+35 -17)
📝 packages/client/src/components/chat/ChatSettingsDrawer.tsx (+689 -4)
📝 packages/client/src/components/game/GameSurface.tsx (+3 -5)
📝 packages/client/src/components/panels/SettingsPanel.tsx (+3 -2)
📝 packages/client/src/components/panels/settings/PromptOverridesEditor.tsx (+6 -2)
📝 packages/client/src/hooks/use-prompt-overrides.ts (+3 -0)
📝 packages/server/src/routes/gallery.routes.ts (+20 -16)
📝 packages/server/src/routes/game.routes.ts (+175 -96)
📝 packages/server/src/routes/prompt-overrides.routes.ts (+3 -0)
📝 packages/server/src/services/prompt-overrides/index.ts (+1 -2)
📝 packages/server/src/services/prompt-overrides/registry.ts (+1 -4)
📝 packages/server/src/services/prompt-overrides/registry/game-assets.ts (+13 -101)
📝 packages/server/src/services/prompt-overrides/types.ts (+2 -0)
➕ packages/server/src/services/video/game-video-prompt.ts (+81 -0)

...and 5 more files

📄 Description

Linked issue

Closes #3297

Why this change

  • Game Mode storyboard prompt routing had drifted between prompt overrides, storyboard illustration presets, and animation/comic-page experiments.
  • Gallery -> Create storyboard should use the chat's current Storyboards settings: illustration-only mode should use the selected Illustration Prompt, and animation mode should use the selected Animation Prompt.
  • Non-animation storyboards should avoid comic-page prompts because comic panels can reveal later beats before the normal reader reaches them.

What changed

  • Added Game Mode storyboard prompt presets for still keyframes, comic pages, colored manga, and B&W manga.
  • Added Chat Settings -> Agents -> Storyboards controls for choosing Illustration Prompt and Animation Prompt separately.
  • Added an Edit Storyboard Presets section where built-ins can be copied into chat-local editable presets.
  • Routed Gallery/manual and automatic storyboard creation through the chat's current storyboard mode.
  • Changed server prompt selection so built-in and custom chat presets render directly instead of being overridden by the global storyboard prompt override.
  • Cleaned up unused storyboard prompt override surface from the current Game Mode path.
  • Added prompt regression coverage for the storyboard prompt override registry changes.

Validation

  • pnpm check passes locally
  • Container (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.md

Manual verification notes

  • cmd /c pnpm check passed locally.
  • Browser/app manual verification has not been completed in this PR session.
  • Code path traced: Gallery -> Create storyboard sends the chat storyboard mode, /game/storyboard/generate resolves the matching chat preset field, then renders the selected built-in/custom preset directly.

Docs and release impact

  • No docs changes needed
  • Updated docs (README / CONTRIBUTING / android/README / CHANGELOG) as needed
  • Version/release files updated (only if this PR includes a version bump)

UI evidence (if applicable)

  • Not attached. This changes Chat Settings storyboard controls and should receive manual browser verification before ready-for-review.

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/Pasta-Devs/Marinara-Engine/pull/3298 **Author:** [@thetopham](https://github.com/thetopham) **Created:** 7/6/2026 **Status:** ✅ Merged **Merged:** 7/6/2026 **Merged by:** [@SpicyMarinara](https://github.com/SpicyMarinara) **Base:** `staging` ← **Head:** `codex/storyboard-prompt-cleanup` --- ### 📝 Commits (7) - [`d0e5eec`](https://github.com/Pasta-Devs/Marinara-Engine/commit/d0e5eecaef231c84f60b720fa1ce54b2fc40c85f) Clean up game storyboard prompt overrides - [`c492c37`](https://github.com/Pasta-Devs/Marinara-Engine/commit/c492c379bdcc302b7edee34f61954ad1fb7b00af) Add game storyboard prompt modes - [`841e5da`](https://github.com/Pasta-Devs/Marinara-Engine/commit/841e5dab879e67bbd25e561a90f9020fe2c4722b) Add storyboard manga prompt presets - [`9ea29fc`](https://github.com/Pasta-Devs/Marinara-Engine/commit/9ea29fc487b1800cad73ad78b7db247b66b21ff0) Use still storyboard preset for manual creation - [`922fef2`](https://github.com/Pasta-Devs/Marinara-Engine/commit/922fef203ed1ff74e6acda63962d34252f2319fa) Respect storyboard chat prompt presets - [`c4e042f`](https://github.com/Pasta-Devs/Marinara-Engine/commit/c4e042f6618c12370de69a91a41080b676949c33) Add editable game video prompt presets - [`e0f4c72`](https://github.com/Pasta-Devs/Marinara-Engine/commit/e0f4c723f9cc7e0e6a1cf3a34131015f76daade9) Merge branch 'staging' into codex/storyboard-prompt-cleanup ### 📊 Changes **25 files changed** (+1290 additions, -276 deletions) <details> <summary>View changed files</summary> 📝 `CHANGELOG.md` (+2 -1) 📝 `README.md` (+1 -1) 📝 `docs/CONFIGURATION.md` (+3 -1) 📝 `docs/FAQ.md` (+2 -2) 📝 `docs/GAME_MODE.md` (+1 -1) 📝 `docs/SCENE_VIDEO_GENERATION.md` (+21 -14) 📝 `docs/STORYBOARD_ENGINE_GUIDE.md` (+35 -17) 📝 `packages/client/src/components/chat/ChatSettingsDrawer.tsx` (+689 -4) 📝 `packages/client/src/components/game/GameSurface.tsx` (+3 -5) 📝 `packages/client/src/components/panels/SettingsPanel.tsx` (+3 -2) 📝 `packages/client/src/components/panels/settings/PromptOverridesEditor.tsx` (+6 -2) 📝 `packages/client/src/hooks/use-prompt-overrides.ts` (+3 -0) 📝 `packages/server/src/routes/gallery.routes.ts` (+20 -16) 📝 `packages/server/src/routes/game.routes.ts` (+175 -96) 📝 `packages/server/src/routes/prompt-overrides.routes.ts` (+3 -0) 📝 `packages/server/src/services/prompt-overrides/index.ts` (+1 -2) 📝 `packages/server/src/services/prompt-overrides/registry.ts` (+1 -4) 📝 `packages/server/src/services/prompt-overrides/registry/game-assets.ts` (+13 -101) 📝 `packages/server/src/services/prompt-overrides/types.ts` (+2 -0) ➕ `packages/server/src/services/video/game-video-prompt.ts` (+81 -0) _...and 5 more files_ </details> ### 📄 Description ## Linked issue Closes #3297 ## Why this change - Game Mode storyboard prompt routing had drifted between prompt overrides, storyboard illustration presets, and animation/comic-page experiments. - Gallery -> Create storyboard should use the chat's current Storyboards settings: illustration-only mode should use the selected Illustration Prompt, and animation mode should use the selected Animation Prompt. - Non-animation storyboards should avoid comic-page prompts because comic panels can reveal later beats before the normal reader reaches them. ## What changed - Added Game Mode storyboard prompt presets for still keyframes, comic pages, colored manga, and B&W manga. - Added Chat Settings -> Agents -> Storyboards controls for choosing Illustration Prompt and Animation Prompt separately. - Added an Edit Storyboard Presets section where built-ins can be copied into chat-local editable presets. - Routed Gallery/manual and automatic storyboard creation through the chat's current storyboard mode. - Changed server prompt selection so built-in and custom chat presets render directly instead of being overridden by the global storyboard prompt override. - Cleaned up unused storyboard prompt override surface from the current Game Mode path. - Added prompt regression coverage for the storyboard prompt override registry changes. ## Validation - [x] `pnpm check` passes locally - [ ] Container (Docker / Podman) built and ran without issue - [x] 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.md` ### Manual verification notes - `cmd /c pnpm check` passed locally. - Browser/app manual verification has not been completed in this PR session. - Code path traced: Gallery -> Create storyboard sends the chat storyboard mode, `/game/storyboard/generate` resolves the matching chat preset field, then renders the selected built-in/custom preset directly. ## Docs and release impact - [ ] No docs changes needed - [x] Updated docs (README / CONTRIBUTING / android/README / CHANGELOG) as needed - [ ] Version/release files updated (only if this PR includes a version bump) ## UI evidence (if applicable) - Not attached. This changes Chat Settings storyboard controls and should receive manual browser verification before ready-for-review. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
bsakaguchi 2026-10-22 04:20:21 +07:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
Pasta-Devs/Marinara-Engine#5870
No description provided.