[PR #3805] [MERGED] Add a Game mode text effects toggle #6110

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

📋 Pull Request Information

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

Base: staging ← Head: agent/3801-game-text-effects


📝 Commits (1)

  • 7ce68c2 Add Game mode text effects toggle

📊 Changes

4 files changed (+77 additions, -18 deletions)

View changed files

📝 packages/client/src/components/game/AnimatedText.tsx (+10 -5)
📝 packages/client/src/components/game/GameNarration.tsx (+37 -12)
📝 packages/client/src/components/panels/SettingsPanel.tsx (+18 -0)
📝 packages/client/src/stores/ui.store.ts (+12 -1)

📄 Description

Linked issue

Closes #3801

Why this change

  • Game mode automatically animates context-matched words, ALL CAPS text, parenthetical asides, and explicit effect tags. Misclassification can distract users or make dialogue harder to read, so this presentation layer needs an opt-out.

What changed

  • Added a persisted, default-on Game text effects preference under Settings > Appearance > Game Presentation.
  • Applied the preference across live narration, dialogue history, translations, choices, title cards, and other Game text surfaces that use the shared effect renderer.
  • Preserved the readable content of explicit effect tags when effects are disabled instead of exposing tag syntax.

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

  • Manually verify the toggle in Settings > Appearance > Game Presentation.
  • In Game mode, compare context-matched text, ALL CAPS text, parenthetical text, and an explicit effect tag with the toggle on and off.
  • Verify the preference persists after reload and resets with Reset Appearance.

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)

  • Screenshot or recording to be attached after browser verification.

Summary by CodeRabbit

  • New Features

    • Added a Game Presentation setting to enable or disable animated game text effects.
    • The preference is saved automatically and restored across sessions.
    • Text effects now apply consistently across narration, dialogue, readable content, and game logs.
  • Bug Fixes

    • Disabling game text effects now reliably displays the original text without animation or special effects.
    • Resetting appearance settings restores game text effects to enabled.

🔄 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/3805 **Author:** [@SpicyMarinara](https://github.com/SpicyMarinara) **Created:** 7/19/2026 **Status:** ✅ Merged **Merged:** 7/19/2026 **Merged by:** [@SpicyMarinara](https://github.com/SpicyMarinara) **Base:** `staging` ← **Head:** `agent/3801-game-text-effects` --- ### 📝 Commits (1) - [`7ce68c2`](https://github.com/Pasta-Devs/Marinara-Engine/commit/7ce68c2273787c9f749abdae9dd4894581a8f6fe) Add Game mode text effects toggle ### 📊 Changes **4 files changed** (+77 additions, -18 deletions) <details> <summary>View changed files</summary> 📝 `packages/client/src/components/game/AnimatedText.tsx` (+10 -5) 📝 `packages/client/src/components/game/GameNarration.tsx` (+37 -12) 📝 `packages/client/src/components/panels/SettingsPanel.tsx` (+18 -0) 📝 `packages/client/src/stores/ui.store.ts` (+12 -1) </details> ### 📄 Description ## Linked issue Closes #3801 ## Why this change - Game mode automatically animates context-matched words, ALL CAPS text, parenthetical asides, and explicit effect tags. Misclassification can distract users or make dialogue harder to read, so this presentation layer needs an opt-out. ## What changed - Added a persisted, default-on Game text effects preference under Settings > Appearance > Game Presentation. - Applied the preference across live narration, dialogue history, translations, choices, title cards, and other Game text surfaces that use the shared effect renderer. - Preserved the readable content of explicit effect tags when effects are disabled instead of exposing tag syntax. ## 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 - Manually verify the toggle in Settings > Appearance > Game Presentation. - In Game mode, compare context-matched text, ALL CAPS text, parenthetical text, and an explicit effect tag with the toggle on and off. - Verify the preference persists after reload and resets with Reset Appearance. ## 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) - Screenshot or recording to be attached after browser verification. <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit * **New Features** * Added a Game Presentation setting to enable or disable animated game text effects. * The preference is saved automatically and restored across sessions. * Text effects now apply consistently across narration, dialogue, readable content, and game logs. * **Bug Fixes** * Disabling game text effects now reliably displays the original text without animation or special effects. * Resetting appearance settings restores game text effects to enabled. <!-- 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:07:09 +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#6110
No description provided.