[PR #3355] [MERGED] Add storyboard background display mode #5898

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

📋 Pull Request Information

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

Base: staging ← Head: storyboard-background-mode


📝 Commits (5)

  • 9001c7e Add storyboard background display mode
  • d54c1be Disable background generation for storyboard backgrounds
  • aa8e7ac Fit storyboard background visuals without cropping
  • ee4d074 Merge branch 'staging' into storyboard-background-mode
  • b31d5d2 Merge remote-tracking branch 'origin/staging' into pr-3355-storyboard-background-mode

📊 Changes

9 files changed (+688 additions, -28 deletions)

View changed files

📝 packages/client/src/components/chat/ChatSettingsDrawer.tsx (+35 -1)
📝 packages/client/src/components/game/GameSurface.tsx (+115 -20)
📝 packages/client/src/components/game/game-asset-generation-payload.ts (+5 -1)
📝 packages/server/src/routes/game.routes.ts (+9 -3)
📝 packages/server/src/routes/generate.routes.ts (+8 -3)
📝 packages/server/src/services/generation/game-gm-prompt-runtime.ts (+1 -0)
📝 packages/shared/src/types/chat.ts (+4 -0)
➕ start-e377a9df.bat (+318 -0)
➕ start-local.bat (+193 -0)

📄 Description

Linked issue

Closes #3354

Why this change

Storyboard visuals can feel disconnected or get in the way when they only appear as a floating viewer. The requested background display mode lets storyboard media act like a scene visual while keeping the normal game UI, sprites, and controls above it.

This also fixes the follow-up visual mismatch: background-mode storyboard media now renders opaque and without the extra dark overlay/gradient, so the image or video is not dimmed compared with the Gallery view.

What changed

  • Added shared chat metadata for gameStoryboardViewerDisplayMode with floating and background modes.
  • Added a Storyboards settings control for choosing Floating or Background display.
  • Rendered background-mode storyboard images/videos as a pointer-events-none layer above the normal game background and below game UI/sprites.
  • Kept floating viewer behavior as the default for existing chats.
  • Added opt-in Windows launcher helpers: start-e377a9df.bat for the pinned e377 checkout and start-local.bat for rebuilding/running the local checkout without Git updates.

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

  • pnpm.cmd --filter @marinara-engine/shared build passed locally.
  • pnpm.cmd --filter @marinara-engine/client build passed locally.
  • pnpm.cmd check passed before the final no-filter visual tweak; the final tweak was revalidated with the focused client build.
  • Human manual verification still needed: set Storyboards > Viewer Display to Background, open Game Mode fullscreen, compare storyboard visual brightness against Gallery, and confirm UI/sprites remain above the storyboard layer.

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)

Manual screenshots or recordings still need to be attached by a human verifier.


🔄 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/3355 **Author:** [@thetopham](https://github.com/thetopham) **Created:** 7/8/2026 **Status:** ✅ Merged **Merged:** 7/8/2026 **Merged by:** [@SpicyMarinara](https://github.com/SpicyMarinara) **Base:** `staging` ← **Head:** `storyboard-background-mode` --- ### 📝 Commits (5) - [`9001c7e`](https://github.com/Pasta-Devs/Marinara-Engine/commit/9001c7efcf11a64a28b7c8103a330d101244f093) Add storyboard background display mode - [`d54c1be`](https://github.com/Pasta-Devs/Marinara-Engine/commit/d54c1bee940db9e8ddd9b3050d452b00a7af8235) Disable background generation for storyboard backgrounds - [`aa8e7ac`](https://github.com/Pasta-Devs/Marinara-Engine/commit/aa8e7ac99dfb633c6dbbfc4beec5c2b8dff12da3) Fit storyboard background visuals without cropping - [`ee4d074`](https://github.com/Pasta-Devs/Marinara-Engine/commit/ee4d074a0694461ea107b4916175087c3be69e3b) Merge branch 'staging' into storyboard-background-mode - [`b31d5d2`](https://github.com/Pasta-Devs/Marinara-Engine/commit/b31d5d2fb34403e1045d85e6f7645a13accc949a) Merge remote-tracking branch 'origin/staging' into pr-3355-storyboard-background-mode ### 📊 Changes **9 files changed** (+688 additions, -28 deletions) <details> <summary>View changed files</summary> 📝 `packages/client/src/components/chat/ChatSettingsDrawer.tsx` (+35 -1) 📝 `packages/client/src/components/game/GameSurface.tsx` (+115 -20) 📝 `packages/client/src/components/game/game-asset-generation-payload.ts` (+5 -1) 📝 `packages/server/src/routes/game.routes.ts` (+9 -3) 📝 `packages/server/src/routes/generate.routes.ts` (+8 -3) 📝 `packages/server/src/services/generation/game-gm-prompt-runtime.ts` (+1 -0) 📝 `packages/shared/src/types/chat.ts` (+4 -0) ➕ `start-e377a9df.bat` (+318 -0) ➕ `start-local.bat` (+193 -0) </details> ### 📄 Description ## Linked issue Closes #3354 ## Why this change Storyboard visuals can feel disconnected or get in the way when they only appear as a floating viewer. The requested background display mode lets storyboard media act like a scene visual while keeping the normal game UI, sprites, and controls above it. This also fixes the follow-up visual mismatch: background-mode storyboard media now renders opaque and without the extra dark overlay/gradient, so the image or video is not dimmed compared with the Gallery view. ## What changed - Added shared chat metadata for `gameStoryboardViewerDisplayMode` with `floating` and `background` modes. - Added a Storyboards settings control for choosing `Floating` or `Background` display. - Rendered background-mode storyboard images/videos as a pointer-events-none layer above the normal game background and below game UI/sprites. - Kept floating viewer behavior as the default for existing chats. - Added opt-in Windows launcher helpers: `start-e377a9df.bat` for the pinned e377 checkout and `start-local.bat` for rebuilding/running the local checkout without Git updates. ## 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 - `pnpm.cmd --filter @marinara-engine/shared build` passed locally. - `pnpm.cmd --filter @marinara-engine/client build` passed locally. - `pnpm.cmd check` passed before the final no-filter visual tweak; the final tweak was revalidated with the focused client build. - Human manual verification still needed: set Storyboards > Viewer Display to Background, open Game Mode fullscreen, compare storyboard visual brightness against Gallery, and confirm UI/sprites remain above the storyboard layer. ## 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) Manual screenshots or recordings still need to be attached by a human verifier. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
bsakaguchi 2026-10-23 04:04: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#5898
No description provided.