[PR #3542] [MERGED] Add campaign art style controls and storyboard review #5987

Closed
opened 2026-10-23 04:05:56 +07:00 by bsakaguchi · 0 comments
Owner

📋 Pull Request Information

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

Base: staging ← Head: feat/3541-game-art-style-storyboard-review


📝 Commits (6)

  • 213f1e8 Add campaign art style controls and storyboard review
  • a09de90 Merge branch 'staging' into feat/3541-game-art-style-storyboard-review
  • 9960256 Harden storyboard prompt review
  • 96ed65f Merge branch 'staging' into feat/3541-game-art-style-storyboard-review
  • d2f0224 Address storyboard review feedback
  • c68ead6 Merge remote-tracking branch 'origin/staging' into codex/review-3542

📊 Changes

13 files changed (+480 additions, -141 deletions)

View changed files

📝 docs/game/storyboard.md (+12 -1)
📝 packages/client/src/components/chat/ChatSettingsDrawer.tsx (+75 -1)
📝 packages/client/src/components/game/GameSurface.tsx (+79 -20)
📝 packages/client/src/hooks/use-game-storyboards.ts (+26 -0)
📝 packages/server/src/routes/backgrounds.routes.ts (+3 -2)
📝 packages/server/src/routes/game.routes.ts (+203 -113)
📝 packages/server/src/routes/generate.routes.ts (+2 -1)
📝 packages/server/src/routes/generate/retry-agents-route.ts (+2 -1)
📝 packages/server/src/services/generation/game-gm-prompt-runtime.ts (+2 -1)
📝 packages/shared/src/index.ts (+1 -0)
📝 packages/shared/src/types/game.ts (+5 -1)
➕ packages/shared/src/utils/game-art-style.ts (+10 -0)
📝 scripts/regressions/prompt.regression.ts (+60 -0)

📄 Description

Linked issue

Closes #3541

Why this change

Game setup generates a campaign art style that was always appended to image prompts, but existing games had no supported way to edit, clear, restore, or disable that layer. Manual storyboard creation also skipped the global prompt-review setting, so users could not inspect the final combined style/profile prompt before keyframe generation.

What changed

  • Add per-campaign art style editing, clearing, restore-to-setup, and a Use Campaign Art Style toggle in Game Settings.
  • Resolve the campaign style consistently across Game Mode visual prompt paths while keeping Image Style Profiles independent.
  • Make manual Create storyboard requests preview every compiled positive and negative keyframe prompt when Expose image prompts before sending is enabled.
  • Preserve the reviewed storyboard plan and apply one-off prompt overrides to the matching rendered frames.
  • Keep automatic storyboards non-blocking and document that prompt review is available through manual creation.
  • Add prompt regression coverage and update the storyboard guide.

Validation

Automated evidence:

  • pnpm check — passed

  • pnpm regression:prompt — passed

  • git diff --check — passed

  • pnpm smoke:ui — blocked before test execution because Playwright's configured development server timed out after 180 seconds

  • 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

Manual verification still required:

  1. Manually verify editing, clearing, disabling, and restoring Campaign art style in a Game Mode chat.
  2. Manually verify the selected Image Style Profile remains active when Campaign art style is disabled.
  3. Manually enable Expose image prompts before sending, create a storyboard, edit positive and negative prompts, and confirm the edited prompts reach the provider.
  4. Manually verify canceling storyboard prompt review does not create a storyboard.
  5. Manually verify automatic storyboard generation remains non-blocking.
  6. Check light and dark themes plus a mobile viewport.

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)

docs/game/storyboard.md was updated with campaign style layering, manual review behavior, and the automatic-storyboard boundary. No version or release metadata changed.

UI evidence (if applicable)

Add screenshots or a recording after manual browser verification.

Summary by CodeRabbit

  • New Features

    • Added optional prompt review and editing before manually generating storyboard illustrations.
    • Added campaign art style controls, including enable/disable, editing, and restoring the setup-generated style.
    • Standardized campaign art style usage across generated images and scenes.
    • Added support for storyboard prompt overrides and reviewed storyboard plans.
  • Documentation

    • Clarified manual versus automatic storyboard prompt-review behavior and art-style configuration.
    • Updated troubleshooting guidance for image-preview diagnostics.

🔄 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/3542 **Author:** [@thetopham](https://github.com/thetopham) **Created:** 7/13/2026 **Status:** ✅ Merged **Merged:** 7/13/2026 **Merged by:** [@SpicyMarinara](https://github.com/SpicyMarinara) **Base:** `staging` ← **Head:** `feat/3541-game-art-style-storyboard-review` --- ### 📝 Commits (6) - [`213f1e8`](https://github.com/Pasta-Devs/Marinara-Engine/commit/213f1e8ea3c9daab4e2689dd17f1a53442491b39) Add campaign art style controls and storyboard review - [`a09de90`](https://github.com/Pasta-Devs/Marinara-Engine/commit/a09de90060ba219e96dbc0358c7de9bd43e9fe39) Merge branch 'staging' into feat/3541-game-art-style-storyboard-review - [`9960256`](https://github.com/Pasta-Devs/Marinara-Engine/commit/99602565e0665075f8ad3fb676d8373ce244beb0) Harden storyboard prompt review - [`96ed65f`](https://github.com/Pasta-Devs/Marinara-Engine/commit/96ed65f35534d7871523a3eb7f3093ca4391c596) Merge branch 'staging' into feat/3541-game-art-style-storyboard-review - [`d2f0224`](https://github.com/Pasta-Devs/Marinara-Engine/commit/d2f02245e27fbf1763e4b6ffd602c3760275f81d) Address storyboard review feedback - [`c68ead6`](https://github.com/Pasta-Devs/Marinara-Engine/commit/c68ead6447b2e632d603e168ebaaff554da592b2) Merge remote-tracking branch 'origin/staging' into codex/review-3542 ### 📊 Changes **13 files changed** (+480 additions, -141 deletions) <details> <summary>View changed files</summary> 📝 `docs/game/storyboard.md` (+12 -1) 📝 `packages/client/src/components/chat/ChatSettingsDrawer.tsx` (+75 -1) 📝 `packages/client/src/components/game/GameSurface.tsx` (+79 -20) 📝 `packages/client/src/hooks/use-game-storyboards.ts` (+26 -0) 📝 `packages/server/src/routes/backgrounds.routes.ts` (+3 -2) 📝 `packages/server/src/routes/game.routes.ts` (+203 -113) 📝 `packages/server/src/routes/generate.routes.ts` (+2 -1) 📝 `packages/server/src/routes/generate/retry-agents-route.ts` (+2 -1) 📝 `packages/server/src/services/generation/game-gm-prompt-runtime.ts` (+2 -1) 📝 `packages/shared/src/index.ts` (+1 -0) 📝 `packages/shared/src/types/game.ts` (+5 -1) ➕ `packages/shared/src/utils/game-art-style.ts` (+10 -0) 📝 `scripts/regressions/prompt.regression.ts` (+60 -0) </details> ### 📄 Description ## Linked issue Closes #3541 ## Why this change Game setup generates a campaign art style that was always appended to image prompts, but existing games had no supported way to edit, clear, restore, or disable that layer. Manual storyboard creation also skipped the global prompt-review setting, so users could not inspect the final combined style/profile prompt before keyframe generation. ## What changed - Add per-campaign art style editing, clearing, restore-to-setup, and a **Use Campaign Art Style** toggle in Game Settings. - Resolve the campaign style consistently across Game Mode visual prompt paths while keeping Image Style Profiles independent. - Make manual **Create storyboard** requests preview every compiled positive and negative keyframe prompt when **Expose image prompts before sending** is enabled. - Preserve the reviewed storyboard plan and apply one-off prompt overrides to the matching rendered frames. - Keep automatic storyboards non-blocking and document that prompt review is available through manual creation. - Add prompt regression coverage and update the storyboard guide. ## Validation Automated evidence: - `pnpm check` — passed - `pnpm regression:prompt` — passed - `git diff --check` — passed - `pnpm smoke:ui` — blocked before test execution because Playwright's configured development server timed out after 180 seconds - [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 Manual verification still required: 1. Manually verify editing, clearing, disabling, and restoring Campaign art style in a Game Mode chat. 2. Manually verify the selected Image Style Profile remains active when Campaign art style is disabled. 3. Manually enable **Expose image prompts before sending**, create a storyboard, edit positive and negative prompts, and confirm the edited prompts reach the provider. 4. Manually verify canceling storyboard prompt review does not create a storyboard. 5. Manually verify automatic storyboard generation remains non-blocking. 6. Check light and dark themes plus a mobile viewport. ## 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) `docs/game/storyboard.md` was updated with campaign style layering, manual review behavior, and the automatic-storyboard boundary. No version or release metadata changed. ## UI evidence (if applicable) Add screenshots or a recording after manual browser verification. <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit * **New Features** * Added optional prompt review and editing before manually generating storyboard illustrations. * Added campaign art style controls, including enable/disable, editing, and restoring the setup-generated style. * Standardized campaign art style usage across generated images and scenes. * Added support for storyboard prompt overrides and reviewed storyboard plans. * **Documentation** * Clarified manual versus automatic storyboard prompt-review behavior and art-style configuration. * Updated troubleshooting guidance for image-preview diagnostics. <!-- end of auto-generated comment: release notes by coderabbit.ai --> --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
bsakaguchi 2026-10-23 04:05:56 +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#5987
No description provided.