[PR #3481] [MERGED] Show storyboard media during game session replay #5959

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

📋 Pull Request Information

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

Base: staging ← Head: codex/3480-game-replay-storyboards


📝 Commits (3)

  • fb6afef Fix storyboard media in game session replay (#3480)
  • 509b6ec Preserve replay storyboard mute preference
  • 7325745 Merge staging into replay storyboard fix

📊 Changes

3 files changed (+411 additions, -6 deletions)

View changed files

📝 packages/client/src/components/game/GameSessionReplay.tsx (+363 -4)
📝 packages/client/src/lib/game-session-replay.ts (+35 -1)
📝 scripts/regressions/open-issues.regression.ts (+13 -1)

📄 Description

Linked issue

Closes #3480

Why this change

  • Completed Game Mode session replays suppress the live storyboard layers but did not load the archived session's storyboard records, so recorded illustrations and animations disappeared during replay.

What changed

  • Query storyboard records by archived session chat, GM message, and active swipe during replay.
  • Select storyboard keyframes as replay narration advances through stored segments.
  • Honor the active chat's floating or background storyboard display setting.
  • Restore floating viewer resizing, preset sizes, replay, play/pause, and mute controls.
  • Reuse background animation controls when replay uses storyboard backgrounds.
  • Add regression coverage for keyframe ordering, exact segment matches, and nearest-frame fallback.
  • Remove the obsolete start-e377a9df.bat pinned launcher.

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

  • Automated: focused ESLint passed for the replay component.
  • Automated: pnpm regression:issues passed.
  • Automated: pnpm build:client passed, including the production bundle budget.
  • Manually verify archived storyboard illustrations and animations in both floating and background replay modes.
  • Manually verify replay, play/pause, mute/unmute, preset sizing, direct resize, desktop layout, and mobile layout.

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)

No screenshots or recording attached yet.

Summary by CodeRabbit

  • New Features

    • Added replay storyboard media viewing with video/image playback, mute controls, replay, and background or floating display modes.
    • Added storyboard navigation with segment indicators, cue text, scrubbing, and resizable viewer controls.
    • Replay playback now selects the appropriate storyboard frame as narration progresses.
  • Bug Fixes

    • Restarting a replay now correctly resets storyboard progress.
  • Tests

    • Added regression coverage for storyboard frame selection across different replay positions.

🔄 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/3481 **Author:** [@thetopham](https://github.com/thetopham) **Created:** 7/11/2026 **Status:** ✅ Merged **Merged:** 7/11/2026 **Merged by:** [@SpicyMarinara](https://github.com/SpicyMarinara) **Base:** `staging` ← **Head:** `codex/3480-game-replay-storyboards` --- ### 📝 Commits (3) - [`fb6afef`](https://github.com/Pasta-Devs/Marinara-Engine/commit/fb6afefec1670f894b488aeca306e22440393ef9) Fix storyboard media in game session replay (#3480) - [`509b6ec`](https://github.com/Pasta-Devs/Marinara-Engine/commit/509b6ec6370d89e253578c9980cc902a55159288) Preserve replay storyboard mute preference - [`7325745`](https://github.com/Pasta-Devs/Marinara-Engine/commit/73257452fdee765a38d6d12ff588a3e39a2c00dd) Merge staging into replay storyboard fix ### 📊 Changes **3 files changed** (+411 additions, -6 deletions) <details> <summary>View changed files</summary> 📝 `packages/client/src/components/game/GameSessionReplay.tsx` (+363 -4) 📝 `packages/client/src/lib/game-session-replay.ts` (+35 -1) 📝 `scripts/regressions/open-issues.regression.ts` (+13 -1) </details> ### 📄 Description ## Linked issue Closes #3480 ## Why this change - Completed Game Mode session replays suppress the live storyboard layers but did not load the archived session's storyboard records, so recorded illustrations and animations disappeared during replay. ## What changed - Query storyboard records by archived session chat, GM message, and active swipe during replay. - Select storyboard keyframes as replay narration advances through stored segments. - Honor the active chat's floating or background storyboard display setting. - Restore floating viewer resizing, preset sizes, replay, play/pause, and mute controls. - Reuse background animation controls when replay uses storyboard backgrounds. - Add regression coverage for keyframe ordering, exact segment matches, and nearest-frame fallback. - Remove the obsolete `start-e377a9df.bat` pinned launcher. ## 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 - Automated: focused ESLint passed for the replay component. - Automated: `pnpm regression:issues` passed. - Automated: `pnpm build:client` passed, including the production bundle budget. - Manually verify archived storyboard illustrations and animations in both floating and background replay modes. - Manually verify replay, play/pause, mute/unmute, preset sizing, direct resize, desktop layout, and mobile layout. ## 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) No screenshots or recording attached yet. <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit * **New Features** * Added replay storyboard media viewing with video/image playback, mute controls, replay, and background or floating display modes. * Added storyboard navigation with segment indicators, cue text, scrubbing, and resizable viewer controls. * Replay playback now selects the appropriate storyboard frame as narration progresses. * **Bug Fixes** * Restarting a replay now correctly resets storyboard progress. * **Tests** * Added regression coverage for storyboard frame selection across different replay positions. <!-- 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:37 +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#5959
No description provided.