[PR #867] [MERGED] Fix Game Mode session log flicker #4807

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

📋 Pull Request Information

Original PR: https://github.com/Pasta-Devs/Marinara-Engine/pull/867
Author: @cha1latte
Created: 5/15/2026
Status: ✅ Merged
Merged: 5/15/2026
Merged by: @cha1latte

Base: staging ← Head: fix/issue-857-game-log-flicker


📝 Commits (1)

  • 2e03763 Fix Game Mode session log flicker

📊 Changes

3 files changed (+4 additions, -4 deletions)

View changed files

➕ docs/pr-evidence/issue-857/after-stable-session-logs.png (+0 -0)
➕ docs/pr-evidence/issue-857/before-video-frame.png (+0 -0)
📝 packages/client/src/components/game/GameNarration.tsx (+4 -4)

📄 Description

Linked issue

Closes #857

Why this change

  • The Game Mode Session Logs modal could visibly flicker while open because the live narration surface continued repainting behind a translucent blurred overlay.

What changed

  • Pause the Game Mode narration typewriter while the Session Logs modal is open, then resume it when the modal closes.
  • Replace the Session Logs backdrop blur with a stronger dim layer to avoid Chrome/macOS backdrop-filter compositing flicker.
  • Add committed before/after UI evidence for the modal state.

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

  • Codex proof: reviewed the supplied Discord video frame showing the flickering Session Logs modal.
  • Codex proof: ran C:\Users\celia\AppData\Local\Programs\Python\Python310\python.exe scratch\issue-857-log-flicker-repro.py --label=after --expect=stable --require-no-backdrop-filter --exercise-pagination --verify-resume.
  • The Playwright fixture created a Game Mode session with 44 log entries, opened Session Logs, exercised Older and All, sampled 20 frames while open, and reported changedFrames: 0, maxChangedPixels: 0, backdropFilter: "none".
  • The same fixture closed Session Logs and confirmed narration resumed afterward with resumeAfterCloseChangedPixels: 1108.
  • Codex proof: pnpm check passed locally.

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)

No docs, release metadata, schema, dependency, or version files were changed.

UI evidence (if applicable)

Before, from the supplied issue video:

Before: Session Logs over flickering Game Mode surface

After, from the fixed local browser proof:

After: stable Session Logs modal


🔄 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/867 **Author:** [@cha1latte](https://github.com/cha1latte) **Created:** 5/15/2026 **Status:** ✅ Merged **Merged:** 5/15/2026 **Merged by:** [@cha1latte](https://github.com/cha1latte) **Base:** `staging` ← **Head:** `fix/issue-857-game-log-flicker` --- ### 📝 Commits (1) - [`2e03763`](https://github.com/Pasta-Devs/Marinara-Engine/commit/2e0376343dec12f784d962a483487caaa41c67f0) Fix Game Mode session log flicker ### 📊 Changes **3 files changed** (+4 additions, -4 deletions) <details> <summary>View changed files</summary> ➕ `docs/pr-evidence/issue-857/after-stable-session-logs.png` (+0 -0) ➕ `docs/pr-evidence/issue-857/before-video-frame.png` (+0 -0) 📝 `packages/client/src/components/game/GameNarration.tsx` (+4 -4) </details> ### 📄 Description ## Linked issue <!-- Every PR should reference a feature request or issue report. If there isn't one yet, open one first to gather opinions: --> <!-- https://github.com/Pasta-Devs/Marinara-Engine/issues/new/choose --> Closes #857 ## Why this change <!-- What user problem, bug, or goal does this solve? --> - The Game Mode Session Logs modal could visibly flicker while open because the live narration surface continued repainting behind a translucent blurred overlay. ## What changed <!-- List the key changes in this PR --> - Pause the Game Mode narration typewriter while the Session Logs modal is open, then resume it when the modal closes. - Replace the Session Logs backdrop blur with a stronger dim layer to avoid Chrome/macOS backdrop-filter compositing flicker. - Add committed before/after UI evidence for the modal state. ## Validation <!-- Required: include commands run and/or manual checks performed --> - [ ] `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 <!-- Describe exactly what you tested in a real browser/app, step by step. --> <!-- ⚠️ If an AI agent filled out or ticked these boxes for you, treat them --> <!-- as a TO-DO LIST, not as proof the work is done. Verify each item yourself --> <!-- before submitting. If you haven't verified it, untick the box. --> - Codex proof: reviewed the supplied Discord video frame showing the flickering Session Logs modal. - Codex proof: ran `C:\Users\celia\AppData\Local\Programs\Python\Python310\python.exe scratch\issue-857-log-flicker-repro.py --label=after --expect=stable --require-no-backdrop-filter --exercise-pagination --verify-resume`. - The Playwright fixture created a Game Mode session with 44 log entries, opened Session Logs, exercised `Older` and `All`, sampled 20 frames while open, and reported `changedFrames: 0`, `maxChangedPixels: 0`, `backdropFilter: "none"`. - The same fixture closed Session Logs and confirmed narration resumed afterward with `resumeAfterCloseChangedPixels: 1108`. - Codex proof: `pnpm check` passed locally. ## 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) No docs, release metadata, schema, dependency, or version files were changed. ## UI evidence (if applicable) <!-- Add before/after screenshots or recordings for UI changes --> Before, from the supplied issue video: ![Before: Session Logs over flickering Game Mode surface](https://raw.githubusercontent.com/cha1latte/Marinara-Engine/2e0376343dec12f784d962a483487caaa41c67f0/docs/pr-evidence/issue-857/before-video-frame.png) After, from the fixed local browser proof: ![After: stable Session Logs modal](https://raw.githubusercontent.com/cha1latte/Marinara-Engine/2e0376343dec12f784d962a483487caaa41c67f0/docs/pr-evidence/issue-857/after-stable-session-logs.png) --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
bsakaguchi 2026-10-22 04:10:49 +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#4807
No description provided.