[PR #4093] [MERGED] Resolve remaining issue sweep regressions #6230

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

📋 Pull Request Information

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

Base: staging ← Head: agent/open-issue-sweep-july25-2


📝 Commits (4)

  • 583ff7c Fix TTS audio response detection
  • e363bea Resolve remaining issue sweep UI defects
  • b15f58d Apply CodeRabbit TTS and import safeguards
  • 4475374 Finish CodeRabbit localization cleanup

📊 Changes

22 files changed (+698 additions, -144 deletions)

View changed files

📝 e2e/core-flows.e2e.ts (+123 -29)
📝 packages/client/src/components/agents/AgentCatalogView.tsx (+15 -3)
📝 packages/client/src/components/agents/AgentEditor.tsx (+9 -3)
📝 packages/client/src/components/agents/CustomAgentRepositoriesModal.tsx (+4 -1)
📝 packages/client/src/components/characters/CharacterEditor.tsx (+4 -12)
📝 packages/client/src/components/chat/ChatSettingsDrawer.tsx (+51 -12)
📝 packages/client/src/components/game/GameNarration.tsx (+8 -5)
📝 packages/client/src/components/game/GameSurface.tsx (+4 -1)
📝 packages/client/src/components/lorebooks/LorebookEditor.tsx (+8 -4)
📝 packages/client/src/components/lorebooks/LorebookFolderRow.tsx (+1 -1)
📝 packages/client/src/components/modals/STBulkImportModal.tsx (+170 -46)
📝 packages/client/src/components/panels/AgentsPanel.tsx (+25 -5)
📝 packages/client/src/components/panels/SettingsPanel.tsx (+8 -3)
📝 packages/client/src/components/panels/settings/PersonalExtensionsSettings.tsx (+1 -1)
📝 packages/client/src/components/ui/MacroTextarea.tsx (+12 -2)
📝 packages/client/src/components/ui/Modal.tsx (+4 -3)
📝 packages/client/src/components/ui/SpriteGenerationModal.tsx (+5 -1)
➕ packages/client/src/hooks/use-backdrop-dismiss.ts (+46 -0)
📝 packages/client/src/localization/locales/en.json (+55 -0)
📝 packages/client/src/localization/locales/ko.json (+53 -0)

...and 2 more files

📄 Description

Why

The four remaining open issues are user-facing regressions across provider audio validation, agent settings ergonomics, resizable overlays, and localization-safe UI copy. This sweep resolves them together against staging so the issue queue and branch return to a known-good state.

What changed

  • Detect valid MP3, WAV, Ogg, FLAC, WebM, and MP4 audio signatures before rejecting mislabeled ElevenLabs TTS responses.
  • Make individual agent settings cards collapsible with localized, accessible controls.
  • Dismiss modal and Game log backdrops only when a pointer gesture begins and ends on the backdrop.
  • Replace extracted sentence fragments with semantic pluralized messages, including Korean word-order coverage and the missing bulk-import separator.
  • Refresh stale smoke assertions for the current storage schema and explicit setup toggles.

Closes #4092
Closes #4090
Closes #4089
Closes #4087

Automated validation

  • pnpm check
  • pnpm regression:prompt
  • pnpm smoke:ui — 123 passed, 65 intentional viewport skips
  • git diff --check

Manual verification requested

  • Manually verify an ElevenLabs voice can speak when its audio response is missing or has an incorrect Content-Type.
  • Manually verify agent settings cards collapse and expand in Conversation, Roleplay, and Game chat settings.
  • Manually resize a Game window beyond the panel boundary and verify it remains open.
  • Manually inspect the corrected English and Korean UI sentences in the affected import, agent, lorebook, and connection flows.

Summary by CodeRabbit

  • New Features
    • Added expandable/collapsible chat agent settings cards (with toggle controls).
  • Bug Fixes
    • Improved backdrop/outside-click dismissal behavior across modals to avoid accidental closing during drag/interaction edge cases.
    • Enhanced TTS audio response validation and Content-Type resolution using byte detection for supported audio formats.
  • Localization
    • Refreshed English/Korean UI text, including more accurate pluralization, count-based messaging, and updated guidance/toast/confirmation copy for agents, lorebooks, imports, settings, macros, and sprite generation.

🔄 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/4093 **Author:** [@SpicyMarinara](https://github.com/SpicyMarinara) **Created:** 7/25/2026 **Status:** ✅ Merged **Merged:** 7/25/2026 **Merged by:** [@SpicyMarinara](https://github.com/SpicyMarinara) **Base:** `staging` ← **Head:** `agent/open-issue-sweep-july25-2` --- ### 📝 Commits (4) - [`583ff7c`](https://github.com/Pasta-Devs/Marinara-Engine/commit/583ff7c554aa44bcdd0123870f744713396c5d09) Fix TTS audio response detection - [`e363bea`](https://github.com/Pasta-Devs/Marinara-Engine/commit/e363beac95956da0388ef0dc350835a989524da0) Resolve remaining issue sweep UI defects - [`b15f58d`](https://github.com/Pasta-Devs/Marinara-Engine/commit/b15f58dee42965b050b5fb0e1a2b2264663ae668) Apply CodeRabbit TTS and import safeguards - [`4475374`](https://github.com/Pasta-Devs/Marinara-Engine/commit/44753744a97d48672d73443b524035872ca8c9f0) Finish CodeRabbit localization cleanup ### 📊 Changes **22 files changed** (+698 additions, -144 deletions) <details> <summary>View changed files</summary> 📝 `e2e/core-flows.e2e.ts` (+123 -29) 📝 `packages/client/src/components/agents/AgentCatalogView.tsx` (+15 -3) 📝 `packages/client/src/components/agents/AgentEditor.tsx` (+9 -3) 📝 `packages/client/src/components/agents/CustomAgentRepositoriesModal.tsx` (+4 -1) 📝 `packages/client/src/components/characters/CharacterEditor.tsx` (+4 -12) 📝 `packages/client/src/components/chat/ChatSettingsDrawer.tsx` (+51 -12) 📝 `packages/client/src/components/game/GameNarration.tsx` (+8 -5) 📝 `packages/client/src/components/game/GameSurface.tsx` (+4 -1) 📝 `packages/client/src/components/lorebooks/LorebookEditor.tsx` (+8 -4) 📝 `packages/client/src/components/lorebooks/LorebookFolderRow.tsx` (+1 -1) 📝 `packages/client/src/components/modals/STBulkImportModal.tsx` (+170 -46) 📝 `packages/client/src/components/panels/AgentsPanel.tsx` (+25 -5) 📝 `packages/client/src/components/panels/SettingsPanel.tsx` (+8 -3) 📝 `packages/client/src/components/panels/settings/PersonalExtensionsSettings.tsx` (+1 -1) 📝 `packages/client/src/components/ui/MacroTextarea.tsx` (+12 -2) 📝 `packages/client/src/components/ui/Modal.tsx` (+4 -3) 📝 `packages/client/src/components/ui/SpriteGenerationModal.tsx` (+5 -1) ➕ `packages/client/src/hooks/use-backdrop-dismiss.ts` (+46 -0) 📝 `packages/client/src/localization/locales/en.json` (+55 -0) 📝 `packages/client/src/localization/locales/ko.json` (+53 -0) _...and 2 more files_ </details> ### 📄 Description ## Why The four remaining open issues are user-facing regressions across provider audio validation, agent settings ergonomics, resizable overlays, and localization-safe UI copy. This sweep resolves them together against `staging` so the issue queue and branch return to a known-good state. ## What changed - Detect valid MP3, WAV, Ogg, FLAC, WebM, and MP4 audio signatures before rejecting mislabeled ElevenLabs TTS responses. - Make individual agent settings cards collapsible with localized, accessible controls. - Dismiss modal and Game log backdrops only when a pointer gesture begins and ends on the backdrop. - Replace extracted sentence fragments with semantic pluralized messages, including Korean word-order coverage and the missing bulk-import separator. - Refresh stale smoke assertions for the current storage schema and explicit setup toggles. Closes #4092 Closes #4090 Closes #4089 Closes #4087 ## Automated validation - `pnpm check` - `pnpm regression:prompt` - `pnpm smoke:ui` — 123 passed, 65 intentional viewport skips - `git diff --check` ## Manual verification requested - [ ] Manually verify an ElevenLabs voice can speak when its audio response is missing or has an incorrect `Content-Type`. - [ ] Manually verify agent settings cards collapse and expand in Conversation, Roleplay, and Game chat settings. - [ ] Manually resize a Game window beyond the panel boundary and verify it remains open. - [ ] Manually inspect the corrected English and Korean UI sentences in the affected import, agent, lorebook, and connection flows. <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit * **New Features** * Added expandable/collapsible chat agent settings cards (with toggle controls). * **Bug Fixes** * Improved backdrop/outside-click dismissal behavior across modals to avoid accidental closing during drag/interaction edge cases. * Enhanced TTS audio response validation and `Content-Type` resolution using byte detection for supported audio formats. * **Localization** * Refreshed English/Korean UI text, including more accurate pluralization, count-based messaging, and updated guidance/toast/confirmation copy for agents, lorebooks, imports, settings, macros, and sprite generation. <!-- 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:23 +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#6230
No description provided.