[PR #3235] [MERGED] [codex] Fix Conversation UI and call flow issues #5860

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

📋 Pull Request Information

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

Base: staging ← Head: codex/conversation-group-typing-indicator


📝 Commits (10+)

  • d63e633 Use generic group typing indicator
  • 4ec6e31 Restore default conversation gradient stops
  • 7bf5f00 Fix conversation call input and turn parsing
  • 1b10523 Rename default video connection label
  • 8983347 Add generated call presence videos
  • 2741938 Show Whisper status on local model card
  • 8313158 Add video generation settings
  • 1ab82da Add custom conversation call clips
  • 47f13f9 Add gallery clips tabs
  • 633c331 Harden group conversation call voices

📊 Changes

51 files changed (+4297 additions, -440 deletions)

View changed files

📝 CHANGELOG.md (+15 -0)
📝 docs/SCENE_VIDEO_GENERATION.md (+3 -3)
📝 docs/TROUBLESHOOTING.md (+1 -1)
📝 packages/client/src/components/characters/CharacterEditor.tsx (+255 -64)
📝 packages/client/src/components/chat/ChatArea.tsx (+5 -0)
📝 packages/client/src/components/chat/ChatConversationSurface.tsx (+1 -0)
📝 packages/client/src/components/chat/ChatGallery.tsx (+0 -44)
📝 packages/client/src/components/chat/ChatInput.tsx (+4 -0)
📝 packages/client/src/components/chat/ChatRoleplaySurface.tsx (+1 -0)
📝 packages/client/src/components/chat/ChatSettingsDrawer.tsx (+77 -2)
📝 packages/client/src/components/chat/ConversationCallSurface.tsx (+451 -35)
📝 packages/client/src/components/chat/ConversationInput.tsx (+6 -0)
📝 packages/client/src/components/chat/ConversationView.tsx (+24 -14)
📝 packages/client/src/components/connections/ConnectionEditor.tsx (+5 -5)
📝 packages/client/src/components/game/GameInput.tsx (+17 -0)
📝 packages/client/src/components/game/GameSurface.tsx (+2 -0)
📝 packages/client/src/components/panels/ConnectionsPanel.tsx (+20 -17)
📝 packages/client/src/components/panels/SettingsPanel.tsx (+235 -2)
📝 packages/client/src/components/panels/settings/TTSConfigCard.tsx (+6 -0)
📝 packages/client/src/components/personas/PersonaEditor.tsx (+217 -64)

...and 31 more files

📄 Description

Linked issue

Fixes #3237. This also came from maintainer-reported UI polish and Conversation Calls testing.

Why this change

  • Group Conversation generations could show a single character name and fallback avatar/letter while multiple characters were responding.
  • The default Conversation theme collapsed to a flat --secondary background, hiding the configured dark gradient stop until the user edited either gradient color.
  • Typed messages in Conversation Calls waited for the whole queued generation before appearing, making the call chat look stuck.
  • Local Whisper could hallucinate common silence phrases like thank you from weak/quiet audio.
  • Some models returned transcript-shaped content inside one JSON turn, such as Dottore (speech): ... Pantalone (speech): ..., causing one character to read every line aloud and commands to remain embedded in spoken content.
  • The Video Generation default label was too narrow now that the fallback is the default video connection, not only a scene-video-only concept.

What changed

  • Group Conversation typing now displays Multiple people are typing... and leaves the typing row untagged so character-specific card/avatar styling does not apply during the typing state.
  • Default Conversation gradients now render through dedicated --marinara-conversation-gradient-from / --marinara-conversation-gradient-to variables instead of falling back to --secondary.
  • SillyTavern theme maps those new Conversation gradient variables to its flat secondary surface unless the user customizes the gradient.
  • Call text messages now appear optimistically in the call chat immediately, while generation remains queued in the background.
  • The call composer no longer blocks typed sends or swaps the send button into a loading spinner just because older call work is queued.
  • Local Whisper uses simpler default ASR settings for short live clips, keeping chunk/stride settings for longer audio.
  • Weak-audio Local Whisper outputs matching common silence hallucinations are dropped.
  • Conversation Call turn parsing now repairs prefixed transcript blobs into ordered voice, text, and command turns before persistence/TTS.
  • Call output-format reminders now live in <output_format> beside the requested JSON shape, including TTS cue reminders and the instruction not to put speaker prefixes in content.
  • Renamed user-facing Video Generation fallback wording from Default for Scene Videos to Default for Videos in Connections UI and docs.

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

  • Ran pnpm --filter @marinara-engine/server build; passed.
  • Ran pnpm --filter @marinara-engine/client build; passed, with existing bundle-size warnings for large chunks.
  • Ran pnpm --filter @marinara-engine/client lint; completed with 0 errors and one existing unrelated react-hooks/exhaustive-deps warning in ConversationView.tsx for stripTimestamps.
  • Ran git diff --check; no whitespace errors.
  • Manual browser verification still needed for group Conversation typing, default Conversation theme gradient in dark/light mode, the Connections default video label, and the Conversation Calls typed-message/Whisper/parser flow.

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)

Not captured. Manual browser verification still needed.

Summary by CodeRabbit

  • New Features

    • Added /illustrate (and /ill) to chat, roleplay, and game inputs.
    • Conversation Calls: call reactions, cached character “video presence”, and opt-in custom call clips with preview.
    • Character and persona galleries now include a Clips tab with playable/generated media.
    • Added Video Generation settings, reusable prompt templates, and animated portrait/GIF sprite generation.
  • Bug Fixes

    • Improved call reliability, prompt/bubble behavior, voice/video pairing, reaction handling, and Local Whisper status display.
  • Documentation

    • Updated troubleshooting and setup text to use “default video connection” terminology.

🔄 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/3235 **Author:** [@SpicyMarinara](https://github.com/SpicyMarinara) **Created:** 7/5/2026 **Status:** ✅ Merged **Merged:** 7/5/2026 **Merged by:** [@SpicyMarinara](https://github.com/SpicyMarinara) **Base:** `staging` ← **Head:** `codex/conversation-group-typing-indicator` --- ### 📝 Commits (10+) - [`d63e633`](https://github.com/Pasta-Devs/Marinara-Engine/commit/d63e63328364198fd27c485019039b3990b16766) Use generic group typing indicator - [`4ec6e31`](https://github.com/Pasta-Devs/Marinara-Engine/commit/4ec6e31923c3c8f2528be49ab0db4a52ac42bf9b) Restore default conversation gradient stops - [`7bf5f00`](https://github.com/Pasta-Devs/Marinara-Engine/commit/7bf5f00bbbdaa98e38bd1275013ee5320647bf77) Fix conversation call input and turn parsing - [`1b10523`](https://github.com/Pasta-Devs/Marinara-Engine/commit/1b105237853983978e9547e4e2c0f75329657f54) Rename default video connection label - [`8983347`](https://github.com/Pasta-Devs/Marinara-Engine/commit/898334759b02c420d825db14bb7cd74486a929ae) Add generated call presence videos - [`2741938`](https://github.com/Pasta-Devs/Marinara-Engine/commit/2741938a42e8de01d01809dfbea1e9d031ed5b6a) Show Whisper status on local model card - [`8313158`](https://github.com/Pasta-Devs/Marinara-Engine/commit/8313158abf1167752a240a053c0b1b4fbd1dde99) Add video generation settings - [`1ab82da`](https://github.com/Pasta-Devs/Marinara-Engine/commit/1ab82da6fb5cff64ac4d3e65c88ebc6eb4455003) Add custom conversation call clips - [`47f13f9`](https://github.com/Pasta-Devs/Marinara-Engine/commit/47f13f9beac86cf87f92aa86b6f4e30897278808) Add gallery clips tabs - [`633c331`](https://github.com/Pasta-Devs/Marinara-Engine/commit/633c331227fcb9046ac1cf5bf9e78c7d05c14508) Harden group conversation call voices ### 📊 Changes **51 files changed** (+4297 additions, -440 deletions) <details> <summary>View changed files</summary> 📝 `CHANGELOG.md` (+15 -0) 📝 `docs/SCENE_VIDEO_GENERATION.md` (+3 -3) 📝 `docs/TROUBLESHOOTING.md` (+1 -1) 📝 `packages/client/src/components/characters/CharacterEditor.tsx` (+255 -64) 📝 `packages/client/src/components/chat/ChatArea.tsx` (+5 -0) 📝 `packages/client/src/components/chat/ChatConversationSurface.tsx` (+1 -0) 📝 `packages/client/src/components/chat/ChatGallery.tsx` (+0 -44) 📝 `packages/client/src/components/chat/ChatInput.tsx` (+4 -0) 📝 `packages/client/src/components/chat/ChatRoleplaySurface.tsx` (+1 -0) 📝 `packages/client/src/components/chat/ChatSettingsDrawer.tsx` (+77 -2) 📝 `packages/client/src/components/chat/ConversationCallSurface.tsx` (+451 -35) 📝 `packages/client/src/components/chat/ConversationInput.tsx` (+6 -0) 📝 `packages/client/src/components/chat/ConversationView.tsx` (+24 -14) 📝 `packages/client/src/components/connections/ConnectionEditor.tsx` (+5 -5) 📝 `packages/client/src/components/game/GameInput.tsx` (+17 -0) 📝 `packages/client/src/components/game/GameSurface.tsx` (+2 -0) 📝 `packages/client/src/components/panels/ConnectionsPanel.tsx` (+20 -17) 📝 `packages/client/src/components/panels/SettingsPanel.tsx` (+235 -2) 📝 `packages/client/src/components/panels/settings/TTSConfigCard.tsx` (+6 -0) 📝 `packages/client/src/components/personas/PersonaEditor.tsx` (+217 -64) _...and 31 more files_ </details> ### 📄 Description ## Linked issue Fixes #3237. This also came from maintainer-reported UI polish and Conversation Calls testing. ## Why this change - Group Conversation generations could show a single character name and fallback avatar/letter while multiple characters were responding. - The default Conversation theme collapsed to a flat `--secondary` background, hiding the configured dark gradient stop until the user edited either gradient color. - Typed messages in Conversation Calls waited for the whole queued generation before appearing, making the call chat look stuck. - Local Whisper could hallucinate common silence phrases like `thank you` from weak/quiet audio. - Some models returned transcript-shaped content inside one JSON turn, such as `Dottore (speech): ... Pantalone (speech): ...`, causing one character to read every line aloud and commands to remain embedded in spoken content. - The Video Generation default label was too narrow now that the fallback is the default video connection, not only a scene-video-only concept. ## What changed - Group Conversation typing now displays `Multiple people are typing...` and leaves the typing row untagged so character-specific card/avatar styling does not apply during the typing state. - Default Conversation gradients now render through dedicated `--marinara-conversation-gradient-from` / `--marinara-conversation-gradient-to` variables instead of falling back to `--secondary`. - SillyTavern theme maps those new Conversation gradient variables to its flat secondary surface unless the user customizes the gradient. - Call text messages now appear optimistically in the call chat immediately, while generation remains queued in the background. - The call composer no longer blocks typed sends or swaps the send button into a loading spinner just because older call work is queued. - Local Whisper uses simpler default ASR settings for short live clips, keeping chunk/stride settings for longer audio. - Weak-audio Local Whisper outputs matching common silence hallucinations are dropped. - Conversation Call turn parsing now repairs prefixed transcript blobs into ordered `voice`, `text`, and `command` turns before persistence/TTS. - Call output-format reminders now live in `<output_format>` beside the requested JSON shape, including TTS cue reminders and the instruction not to put speaker prefixes in `content`. - Renamed user-facing Video Generation fallback wording from `Default for Scene Videos` to `Default for Videos` in Connections UI and docs. ## 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 - Ran `pnpm --filter @marinara-engine/server build`; passed. - Ran `pnpm --filter @marinara-engine/client build`; passed, with existing bundle-size warnings for large chunks. - Ran `pnpm --filter @marinara-engine/client lint`; completed with 0 errors and one existing unrelated `react-hooks/exhaustive-deps` warning in `ConversationView.tsx` for `stripTimestamps`. - Ran `git diff --check`; no whitespace errors. - Manual browser verification still needed for group Conversation typing, default Conversation theme gradient in dark/light mode, the Connections default video label, and the Conversation Calls typed-message/Whisper/parser flow. ## 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) Not captured. Manual browser verification still needed. <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit * **New Features** * Added `/illustrate` (and `/ill`) to chat, roleplay, and game inputs. * Conversation Calls: call reactions, cached character “video presence”, and opt-in custom call clips with preview. * Character and persona galleries now include a **Clips** tab with playable/generated media. * Added **Video Generation** settings, reusable prompt templates, and animated portrait/GIF sprite generation. * **Bug Fixes** * Improved call reliability, prompt/bubble behavior, voice/video pairing, reaction handling, and Local Whisper status display. * **Documentation** * Updated troubleshooting and setup text to use “default video connection” terminology. <!-- 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-22 04:20:15 +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#5860
No description provided.