[PR #4220] [MERGED] Fix assigned Game, TTS, mobile, and Gallery issues #6287

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

📋 Pull Request Information

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

Base: staging ← Head: agent/4216-4219-assigned-issue-sweep


📝 Commits (7)

  • 9a5c626 Start assigned issue sweep
  • dfe1363 Fix Game side-line translation alignment
  • 3564438 Allow custom OpenAI-compatible TTS voices
  • aa9f5c6 Keep iOS keyboard viewport anchored
  • 0a0a028 Route Game Gallery through dynamic image prompts
  • ba800f0 Cover custom Kokoro voice entry
  • 45a867f Apply CodeRabbit review suggestions

📊 Changes

7 files changed (+287 additions, -40 deletions)

View changed files

📝 e2e/core-flows.e2e.ts (+117 -4)
📝 packages/client/src/components/chat/ChatArea.tsx (+4 -6)
📝 packages/client/src/components/game/GameNarration.tsx (+38 -1)
📝 packages/client/src/components/game/GameSurface.tsx (+27 -16)
📝 packages/client/src/components/layout/AppShell.tsx (+8 -1)
📝 packages/client/src/components/panels/settings/TTSConfigCard.tsx (+91 -12)
📝 packages/client/src/localization/locales/en.json (+2 -0)

📄 Description

Why

Four assigned staging regressions left Game translations misaligned, prevented custom Kokoro voice mixes from being entered in the UI, shifted the full app shell when iOS Safari opened its keyboard, and bypassed Game Dynamic LLM Prompt generation from the shared Gallery path.

What changed

  • attach translated Game side-lines to the correct source segment and preserve translation display-only behavior
  • accept arbitrary OpenAI-compatible voice strings, including Kokoro mixes, for global, character, and narrator TTS voices while retaining provider suggestions
  • keep iOS Safari keyboard handling height-based without applying Android visual-viewport offset compensation
  • route the shared Game Gallery trigger into the native Game drawer so Illustration and Background use the dynamic-aware /game/generate-assets pipeline
  • add focused browser regressions for custom Kokoro persistence, iOS viewport anchoring, and Game Gallery generation actions

Fixes #4216
Fixes #4217
Fixes #4218
Fixes #4219

Automated validation evidence

  • pnpm check — passed (one pre-existing Noodle hook warning)
  • pnpm localization:check — passed as part of pnpm check
  • pnpm regression:prompt — passed
  • focused desktop Game Gallery regression — passed
  • focused mobile keyboard viewport regression, including iOS emulation — passed
  • focused custom Kokoro voice persistence regression — passed
  • pnpm smoke:ui — 146 passed, 80 skipped, 6 unrelated existing accent/tracker assertions failed; the new focused regressions passed in the same run

Manual verification

  • Manually verify translated side remarks in Game mode with original + translated display
  • Manually verify a custom Kokoro mixed-voice string in global, per-character, and narrator fields
  • Manually verify Conversation and Roleplay keyboard behavior in iOS Safari
  • Manually verify Game Gallery Illustration and Background buttons invoke Dynamic LLM Prompt when enabled

Summary by CodeRabbit

  • New Features
    • Text-to-speech settings now support custom OpenAI-compatible voices and Kokoro voice mixes.
    • Game narration can display translated side remarks beneath each remark.
    • Game-mode gallery interactions now support an externally controlled gallery panel.
  • Bug Fixes
    • Improved mobile/iOS virtual keyboard layout behavior to prevent incorrect composer movement.
    • Refined chat and game drawer behavior to keep toolbar/drawer toggling consistent across modes.

🔄 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/4220 **Author:** [@SpicyMarinara](https://github.com/SpicyMarinara) **Created:** 7/28/2026 **Status:** ✅ Merged **Merged:** 7/28/2026 **Merged by:** [@SpicyMarinara](https://github.com/SpicyMarinara) **Base:** `staging` ← **Head:** `agent/4216-4219-assigned-issue-sweep` --- ### 📝 Commits (7) - [`9a5c626`](https://github.com/Pasta-Devs/Marinara-Engine/commit/9a5c626907576521495b5aac2a8fbc7c5ececd03) Start assigned issue sweep - [`dfe1363`](https://github.com/Pasta-Devs/Marinara-Engine/commit/dfe13632504db8091b3e3f37a2f1cd3d6c13bdf6) Fix Game side-line translation alignment - [`3564438`](https://github.com/Pasta-Devs/Marinara-Engine/commit/3564438578b3652f181dc471f156217b608cdae8) Allow custom OpenAI-compatible TTS voices - [`aa9f5c6`](https://github.com/Pasta-Devs/Marinara-Engine/commit/aa9f5c6c68e394460dbc8fccf00938ea62427189) Keep iOS keyboard viewport anchored - [`0a0a028`](https://github.com/Pasta-Devs/Marinara-Engine/commit/0a0a028a6d7add2a2407308cb40c7c805ae01053) Route Game Gallery through dynamic image prompts - [`ba800f0`](https://github.com/Pasta-Devs/Marinara-Engine/commit/ba800f04dbe7331a2b08f57288f01bc09498ae7b) Cover custom Kokoro voice entry - [`45a867f`](https://github.com/Pasta-Devs/Marinara-Engine/commit/45a867f04c53809ec21d5de81dc013a47107ee24) Apply CodeRabbit review suggestions ### 📊 Changes **7 files changed** (+287 additions, -40 deletions) <details> <summary>View changed files</summary> 📝 `e2e/core-flows.e2e.ts` (+117 -4) 📝 `packages/client/src/components/chat/ChatArea.tsx` (+4 -6) 📝 `packages/client/src/components/game/GameNarration.tsx` (+38 -1) 📝 `packages/client/src/components/game/GameSurface.tsx` (+27 -16) 📝 `packages/client/src/components/layout/AppShell.tsx` (+8 -1) 📝 `packages/client/src/components/panels/settings/TTSConfigCard.tsx` (+91 -12) 📝 `packages/client/src/localization/locales/en.json` (+2 -0) </details> ### 📄 Description ## Why Four assigned staging regressions left Game translations misaligned, prevented custom Kokoro voice mixes from being entered in the UI, shifted the full app shell when iOS Safari opened its keyboard, and bypassed Game Dynamic LLM Prompt generation from the shared Gallery path. ## What changed - attach translated Game side-lines to the correct source segment and preserve translation display-only behavior - accept arbitrary OpenAI-compatible voice strings, including Kokoro mixes, for global, character, and narrator TTS voices while retaining provider suggestions - keep iOS Safari keyboard handling height-based without applying Android visual-viewport offset compensation - route the shared Game Gallery trigger into the native Game drawer so Illustration and Background use the dynamic-aware `/game/generate-assets` pipeline - add focused browser regressions for custom Kokoro persistence, iOS viewport anchoring, and Game Gallery generation actions Fixes #4216 Fixes #4217 Fixes #4218 Fixes #4219 ## Automated validation evidence - `pnpm check` — passed (one pre-existing Noodle hook warning) - `pnpm localization:check` — passed as part of `pnpm check` - `pnpm regression:prompt` — passed - focused desktop Game Gallery regression — passed - focused mobile keyboard viewport regression, including iOS emulation — passed - focused custom Kokoro voice persistence regression — passed - `pnpm smoke:ui` — 146 passed, 80 skipped, 6 unrelated existing accent/tracker assertions failed; the new focused regressions passed in the same run ## Manual verification - [ ] Manually verify translated side remarks in Game mode with original + translated display - [ ] Manually verify a custom Kokoro mixed-voice string in global, per-character, and narrator fields - [ ] Manually verify Conversation and Roleplay keyboard behavior in iOS Safari - [ ] Manually verify Game Gallery Illustration and Background buttons invoke Dynamic LLM Prompt when enabled <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit * **New Features** * Text-to-speech settings now support custom OpenAI-compatible voices and Kokoro voice mixes. * Game narration can display translated side remarks beneath each remark. * Game-mode gallery interactions now support an externally controlled gallery panel. * **Bug Fixes** * Improved mobile/iOS virtual keyboard layout behavior to prevent incorrect composer movement. * Refined chat and game drawer behavior to keep toolbar/drawer toggling consistent across modes. <!-- 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:08:58 +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#6287
No description provided.