[PR #3800] [MERGED] fix: address July 19 issue sweep #6108

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/3800
Author: @SpicyMarinara
Created: 7/18/2026
Status: ✅ Merged
Merged: 7/19/2026
Merged by: @SpicyMarinara

Base: staging ← Head: agent/issue-sweep-2026-07-19


📝 Commits (7)

  • 936c344 chore: start July 19 issue sweep
  • 86a6aac fix(game): preserve live widget values
  • b309c52 fix(avatars): support Unicode NPC names
  • a64de1c fix(tts): use PocketTTS speech API
  • 3a166d3 fix(roleplay): add reduced paint effects
  • dfdfdad test(noodle): match modal close label
  • 9d5f29d fix: address CodeRabbit feedback

📊 Changes

12 files changed (+399 additions, -83 deletions)

View changed files

📝 e2e/core-flows.e2e.ts (+270 -1)
📝 packages/client/src/components/chat/ChatMessage.tsx (+1 -0)
📝 packages/client/src/components/chat/ChatRoleplaySurface.tsx (+5 -1)
📝 packages/client/src/components/panels/SettingsPanel.tsx (+18 -0)
📝 packages/client/src/stores/ui.store.ts (+12 -1)
📝 packages/client/src/styles/globals.css (+28 -0)
📝 packages/server/src/routes/avatars.routes.ts (+2 -4)
📝 packages/server/src/routes/chats.routes.ts (+2 -5)
📝 packages/server/src/routes/game.routes.ts (+12 -12)
📝 packages/server/src/routes/generate.routes.ts (+3 -9)
📝 packages/server/src/routes/tts.routes.ts (+39 -50)
📝 packages/server/src/services/game/npc-avatar-utils.ts (+7 -0)

📄 Description

Linked issues

Closes #3799
Closes #3796
Closes #3791
Closes #3786

Why this change

The current issue queue exposed four focused regressions: editing a Game HUD widget reset its live gauge value, Cyrillic NPC names could not round-trip through avatar filenames, Firefox could stall while painting the layered Roleplay surface, and PocketTTS requests still used an obsolete multipart /tts contract.

What changed

  • Preserve current numeric HUD values during runtime widget edits while retaining setup-time default normalization.
  • Reuse one Unicode-aware NPC avatar slug helper for uploads, lookup, generation, and Game avatar URLs.
  • Add a persisted, opt-in Reduced paint effects Roleplay setting that flattens costly bubble shadows, scene overlays, and the vignette without overriding semantic rings or custom card CSS.
  • Send PocketTTS JSON requests to its OpenAI-compatible /v1/audio/speech endpoint and use its alba default voice.
  • Correct one stale Noodle smoke assertion to match the reusable Modal's existing accessible close label.

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

Automated verification notes

  • pnpm check — passed (TypeScript, ESLint, production builds).
  • pnpm smoke:ui — 72 passed, 46 intentional viewport skips.
  • Focused Chromium run — all four issue regressions passed together.
  • Focused Firefox run — Reduced Roleplay paint regression passed.
  • The Roleplay regression verifies immediate application, persistence after reload, flattened computed paint styles, preserved semantic rings, transparent bubbles, and custom card CSS precedence.

Manual verification requested from reviewer

  • Manually edit a live Game gauge and confirm its current value survives.
  • Manually upload/select a Cyrillic-named NPC avatar.
  • Manually speak through a running PocketTTS server.
  • Manually compare Roleplay navigation in Firefox with Reduced paint effects off and on.

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 release metadata changed. The new setting is self-described in Appearance settings.

UI evidence

Reduced paint effects enabled in Appearance → Roleplay Messages:

Reduced paint effects enabled

Open the full-size proof image

Summary by CodeRabbit

  • New Features

    • Added a “Reduced paint effects” option for Roleplay messages to simplify visual effects and improve navigation smoothness.
    • Improved support for PocketTTS speech requests.
    • NPC avatar filenames now support names with international characters more reliably.
  • Bug Fixes

    • Preserved game widget values when widgets are updated.
    • Improved transparent message bubble styling in reduced-effects mode.
  • Tests

    • Expanded coverage for widget persistence, avatar uploads, PocketTTS routing, mobile composer controls, and Roleplay appearance settings.

🔄 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/3800 **Author:** [@SpicyMarinara](https://github.com/SpicyMarinara) **Created:** 7/18/2026 **Status:** ✅ Merged **Merged:** 7/19/2026 **Merged by:** [@SpicyMarinara](https://github.com/SpicyMarinara) **Base:** `staging` ← **Head:** `agent/issue-sweep-2026-07-19` --- ### 📝 Commits (7) - [`936c344`](https://github.com/Pasta-Devs/Marinara-Engine/commit/936c3448219e020c58501c502970f932cbafd368) chore: start July 19 issue sweep - [`86a6aac`](https://github.com/Pasta-Devs/Marinara-Engine/commit/86a6aacc5ea56ddc2a7d59fd3e77dfddd3a4918e) fix(game): preserve live widget values - [`b309c52`](https://github.com/Pasta-Devs/Marinara-Engine/commit/b309c52c59c4621d263c571c9d14d9b8023ee1d6) fix(avatars): support Unicode NPC names - [`a64de1c`](https://github.com/Pasta-Devs/Marinara-Engine/commit/a64de1c58ed0f6b78ff00223d3088b683a569668) fix(tts): use PocketTTS speech API - [`3a166d3`](https://github.com/Pasta-Devs/Marinara-Engine/commit/3a166d378e37f6c961ed16c9782bb881ba71eabe) fix(roleplay): add reduced paint effects - [`dfdfdad`](https://github.com/Pasta-Devs/Marinara-Engine/commit/dfdfdad19506117f978cf10534d55fc778bd11b6) test(noodle): match modal close label - [`9d5f29d`](https://github.com/Pasta-Devs/Marinara-Engine/commit/9d5f29d1f11642b2fb4c3f2be94073d2a911cc0d) fix: address CodeRabbit feedback ### 📊 Changes **12 files changed** (+399 additions, -83 deletions) <details> <summary>View changed files</summary> 📝 `e2e/core-flows.e2e.ts` (+270 -1) 📝 `packages/client/src/components/chat/ChatMessage.tsx` (+1 -0) 📝 `packages/client/src/components/chat/ChatRoleplaySurface.tsx` (+5 -1) 📝 `packages/client/src/components/panels/SettingsPanel.tsx` (+18 -0) 📝 `packages/client/src/stores/ui.store.ts` (+12 -1) 📝 `packages/client/src/styles/globals.css` (+28 -0) 📝 `packages/server/src/routes/avatars.routes.ts` (+2 -4) 📝 `packages/server/src/routes/chats.routes.ts` (+2 -5) 📝 `packages/server/src/routes/game.routes.ts` (+12 -12) 📝 `packages/server/src/routes/generate.routes.ts` (+3 -9) 📝 `packages/server/src/routes/tts.routes.ts` (+39 -50) 📝 `packages/server/src/services/game/npc-avatar-utils.ts` (+7 -0) </details> ### 📄 Description ## Linked issues Closes #3799 Closes #3796 Closes #3791 Closes #3786 ## Why this change The current issue queue exposed four focused regressions: editing a Game HUD widget reset its live gauge value, Cyrillic NPC names could not round-trip through avatar filenames, Firefox could stall while painting the layered Roleplay surface, and PocketTTS requests still used an obsolete multipart `/tts` contract. ## What changed - Preserve current numeric HUD values during runtime widget edits while retaining setup-time default normalization. - Reuse one Unicode-aware NPC avatar slug helper for uploads, lookup, generation, and Game avatar URLs. - Add a persisted, opt-in **Reduced paint effects** Roleplay setting that flattens costly bubble shadows, scene overlays, and the vignette without overriding semantic rings or custom card CSS. - Send PocketTTS JSON requests to its OpenAI-compatible `/v1/audio/speech` endpoint and use its `alba` default voice. - Correct one stale Noodle smoke assertion to match the reusable Modal's existing accessible close label. ## 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` ### Automated verification notes - `pnpm check` — passed (TypeScript, ESLint, production builds). - `pnpm smoke:ui` — 72 passed, 46 intentional viewport skips. - Focused Chromium run — all four issue regressions passed together. - Focused Firefox run — Reduced Roleplay paint regression passed. - The Roleplay regression verifies immediate application, persistence after reload, flattened computed paint styles, preserved semantic rings, transparent bubbles, and custom card CSS precedence. ### Manual verification requested from reviewer - Manually edit a live Game gauge and confirm its current value survives. - Manually upload/select a Cyrillic-named NPC avatar. - Manually speak through a running PocketTTS server. - Manually compare Roleplay navigation in Firefox with Reduced paint effects off and on. ## 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 release metadata changed. The new setting is self-described in Appearance settings. ## UI evidence Reduced paint effects enabled in Appearance → Roleplay Messages: ![Reduced paint effects enabled](https://gist.githubusercontent.com/SpicyMarinara/d03aadaf4de5f62a64ef953e35b2254b/raw/roleplay-reduced-paint.png) [Open the full-size proof image](https://gist.github.com/SpicyMarinara/d03aadaf4de5f62a64ef953e35b2254b) <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit * **New Features** * Added a “Reduced paint effects” option for Roleplay messages to simplify visual effects and improve navigation smoothness. * Improved support for PocketTTS speech requests. * NPC avatar filenames now support names with international characters more reliably. * **Bug Fixes** * Preserved game widget values when widgets are updated. * Improved transparent message bubble styling in reduced-effects mode. * **Tests** * Expanded coverage for widget persistence, avatar uploads, PocketTTS routing, mobile composer controls, and Roleplay appearance settings. <!-- 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#6108
No description provided.