[PR #4141] [MERGED] Fix mobile UI, ElevenLabs discovery, continuation, and thinking controls #6249

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

📋 Pull Request Information

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

Base: staging ← Head: agent/late-ui-issue-sweep


📝 Commits (3)

  • 1b0f2c9 fix: preserve mobile composer and kaomoji interactions
  • f41a75b fix: improve ElevenLabs discovery and continuation control
  • bd382c6 fix: honor explicit thinking disable requests

📊 Changes

35 files changed (+1243 additions, -355 deletions)

View changed files

📝 docs/chats/messages.md (+2 -0)
📝 docs/chats/slash-commands.md (+1 -1)
📝 docs/media/tts-setup.md (+4 -4)
📝 docs/prompts/generation-parameters.md (+2 -0)
📝 e2e/core-flows.e2e.ts (+174 -51)
📝 packages/client/src/components/chat/ChatRoleplaySurface.tsx (+3 -1)
📝 packages/client/src/components/chat/ConversationView.tsx (+6 -2)
📝 packages/client/src/components/panels/SettingsPanel.tsx (+10 -0)
📝 packages/client/src/components/panels/settings/TTSConfigCard.tsx (+430 -130)
📝 packages/client/src/components/ui/KaomojiPicker.tsx (+31 -37)
📝 packages/client/src/hooks/use-generate.ts (+13 -14)
📝 packages/client/src/hooks/use-tts.ts (+13 -1)
📝 packages/client/src/hooks/use-visual-viewport-chat-bottom.ts (+17 -1)
📝 packages/client/src/localization/locales/en.json (+13 -1)
📝 packages/client/src/stores/ui.store.ts (+18 -6)
📝 packages/server/src/routes/generate.routes.ts (+18 -10)
📝 packages/server/src/routes/generate/dry-run-route.ts (+15 -4)
📝 packages/server/src/routes/generate/raw-route.ts (+19 -4)
📝 packages/server/src/routes/tts.routes.ts (+93 -13)
📝 packages/server/src/services/generation/generation-parameters.ts (+6 -1)

...and 15 more files

📄 Description

Linked issues

Closes #4139
Closes #4140
Closes #4142
Closes #4143
Closes #4144

Why

This follow-up fixes five user-visible regressions: kaomoji picker scrollbar clicks dismissing the picker, the mobile composer collapsing while the software keyboard is open, incomplete ElevenLabs voice/model discovery, the lack of control over the blank line inserted by /continue, and Reasoning Effort None allowing provider-default thinking because it was represented by an omitted field.

What changed

  • keep kaomoji scrollbar and empty-panel presses inside the picker, wrap categories, remove horizontal overflow, and use the active theme accent
  • keep Conversation and Roleplay composers expanded while the software keyboard is open
  • paginate ElevenLabs voice discovery and merge unfiltered, personal, and workspace libraries so custom account voices are retained
  • fetch the connection’s TTS-capable ElevenLabs models and keep every available choice visible in a normal select
  • replace long voice selects with searchable lists that have a stable, accent-colored visible scrollbar
  • save the current TTS draft before refresh, surface provider failures, allow refresh before playback is enabled, and add Refresh to per-character assignment
  • add a persisted General → Responses toggle controlling whether /continue inserts a blank line
  • change both the continuation prompt and server-side append behavior when direct continuation is selected
  • distinguish an unsent reasoning preference from an explicit None request at the provider boundary
  • send provider-specific thinking-off controls only to supported OpenAI/OpenRouter, Gemini, GLM, Claude, Grok, and local-sidecar models; do not replay encrypted reasoning when thinking is disabled
  • document that reasoning-mandatory models may still think and that disabling the parameter switch leaves provider defaults unchanged
  • update canonical English localization, TTS/chat/generation-parameter documentation, provider/prompt/TTS regressions, and Playwright coverage

Validation

  • pnpm check (passes; only the pre-existing NoodleHome hook warning remains)
  • pnpm regression:providers
  • pnpm regression:tts
  • pnpm regression:prompt
  • pnpm exec playwright test e2e/core-flows.e2e.ts --grep "mobile chat composer follows|kaomoji scrollbar presses|ElevenLabs keeps models visible"
  • git diff --check

Manual verification

  • Manually drag the kaomoji vertical scrollbar in Firefox and click empty picker space
  • Manually scroll older chat history on Android Firefox with the keyboard open
  • Manually connect an ElevenLabs account with a large custom voice library and confirm personal/workspace voices appear
  • Manually refresh ElevenLabs immediately after entering a new API key, including while playback is disabled
  • Manually confirm the model selector always shows every speech-capable model
  • Manually confirm Refresh remains available in Selected per character mode
  • Manually turn off the /continue newline setting and continue a response that ends mid-word
  • Manually select Reasoning Effort None on one disable-capable model and one reasoning-mandatory model
  • Manually turn off the Reasoning Effort parameter switch and confirm the provider default is left unchanged

Docs and localization

Canonical English UI localization and the relevant English guides are updated. A companion docs-i18n change will mirror the edited guides before this PR is merged.

Summary by CodeRabbit

  • New Features

    • Added a setting to control whether /continue inserts a blank line before appended text.
    • Added support for explicitly disabling model reasoning where supported.
    • Improved ElevenLabs model and voice selection, search, refresh, and error handling.
    • Mobile chat composers now remain open while the keyboard is visible.
    • Improved kaomoji picker dismissal, wrapping, and result display.
  • Documentation

    • Expanded guidance for continuation formatting, reasoning controls, and ElevenLabs setup.

🔄 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/4141 **Author:** [@SpicyMarinara](https://github.com/SpicyMarinara) **Created:** 7/26/2026 **Status:** ✅ Merged **Merged:** 7/26/2026 **Merged by:** [@SpicyMarinara](https://github.com/SpicyMarinara) **Base:** `staging` ← **Head:** `agent/late-ui-issue-sweep` --- ### 📝 Commits (3) - [`1b0f2c9`](https://github.com/Pasta-Devs/Marinara-Engine/commit/1b0f2c9ef4f7f0ce89a9ef1fbaf69448ea3bf300) fix: preserve mobile composer and kaomoji interactions - [`f41a75b`](https://github.com/Pasta-Devs/Marinara-Engine/commit/f41a75b64faebf3937e1f93a5bf69e5b70bc4694) fix: improve ElevenLabs discovery and continuation control - [`bd382c6`](https://github.com/Pasta-Devs/Marinara-Engine/commit/bd382c69238e9cd6d801657f74a2f696e96a60e5) fix: honor explicit thinking disable requests ### 📊 Changes **35 files changed** (+1243 additions, -355 deletions) <details> <summary>View changed files</summary> 📝 `docs/chats/messages.md` (+2 -0) 📝 `docs/chats/slash-commands.md` (+1 -1) 📝 `docs/media/tts-setup.md` (+4 -4) 📝 `docs/prompts/generation-parameters.md` (+2 -0) 📝 `e2e/core-flows.e2e.ts` (+174 -51) 📝 `packages/client/src/components/chat/ChatRoleplaySurface.tsx` (+3 -1) 📝 `packages/client/src/components/chat/ConversationView.tsx` (+6 -2) 📝 `packages/client/src/components/panels/SettingsPanel.tsx` (+10 -0) 📝 `packages/client/src/components/panels/settings/TTSConfigCard.tsx` (+430 -130) 📝 `packages/client/src/components/ui/KaomojiPicker.tsx` (+31 -37) 📝 `packages/client/src/hooks/use-generate.ts` (+13 -14) 📝 `packages/client/src/hooks/use-tts.ts` (+13 -1) 📝 `packages/client/src/hooks/use-visual-viewport-chat-bottom.ts` (+17 -1) 📝 `packages/client/src/localization/locales/en.json` (+13 -1) 📝 `packages/client/src/stores/ui.store.ts` (+18 -6) 📝 `packages/server/src/routes/generate.routes.ts` (+18 -10) 📝 `packages/server/src/routes/generate/dry-run-route.ts` (+15 -4) 📝 `packages/server/src/routes/generate/raw-route.ts` (+19 -4) 📝 `packages/server/src/routes/tts.routes.ts` (+93 -13) 📝 `packages/server/src/services/generation/generation-parameters.ts` (+6 -1) _...and 15 more files_ </details> ### 📄 Description ## Linked issues Closes #4139 Closes #4140 Closes #4142 Closes #4143 Closes #4144 ## Why This follow-up fixes five user-visible regressions: kaomoji picker scrollbar clicks dismissing the picker, the mobile composer collapsing while the software keyboard is open, incomplete ElevenLabs voice/model discovery, the lack of control over the blank line inserted by /continue, and Reasoning Effort None allowing provider-default thinking because it was represented by an omitted field. ## What changed - keep kaomoji scrollbar and empty-panel presses inside the picker, wrap categories, remove horizontal overflow, and use the active theme accent - keep Conversation and Roleplay composers expanded while the software keyboard is open - paginate ElevenLabs voice discovery and merge unfiltered, personal, and workspace libraries so custom account voices are retained - fetch the connection’s TTS-capable ElevenLabs models and keep every available choice visible in a normal select - replace long voice selects with searchable lists that have a stable, accent-colored visible scrollbar - save the current TTS draft before refresh, surface provider failures, allow refresh before playback is enabled, and add Refresh to per-character assignment - add a persisted General → Responses toggle controlling whether /continue inserts a blank line - change both the continuation prompt and server-side append behavior when direct continuation is selected - distinguish an unsent reasoning preference from an explicit None request at the provider boundary - send provider-specific thinking-off controls only to supported OpenAI/OpenRouter, Gemini, GLM, Claude, Grok, and local-sidecar models; do not replay encrypted reasoning when thinking is disabled - document that reasoning-mandatory models may still think and that disabling the parameter switch leaves provider defaults unchanged - update canonical English localization, TTS/chat/generation-parameter documentation, provider/prompt/TTS regressions, and Playwright coverage ## Validation - pnpm check (passes; only the pre-existing NoodleHome hook warning remains) - pnpm regression:providers - pnpm regression:tts - pnpm regression:prompt - pnpm exec playwright test e2e/core-flows.e2e.ts --grep "mobile chat composer follows|kaomoji scrollbar presses|ElevenLabs keeps models visible" - git diff --check ## Manual verification - [ ] Manually drag the kaomoji vertical scrollbar in Firefox and click empty picker space - [ ] Manually scroll older chat history on Android Firefox with the keyboard open - [ ] Manually connect an ElevenLabs account with a large custom voice library and confirm personal/workspace voices appear - [ ] Manually refresh ElevenLabs immediately after entering a new API key, including while playback is disabled - [ ] Manually confirm the model selector always shows every speech-capable model - [ ] Manually confirm Refresh remains available in Selected per character mode - [ ] Manually turn off the /continue newline setting and continue a response that ends mid-word - [ ] Manually select Reasoning Effort None on one disable-capable model and one reasoning-mandatory model - [ ] Manually turn off the Reasoning Effort parameter switch and confirm the provider default is left unchanged ## Docs and localization Canonical English UI localization and the relevant English guides are updated. A companion docs-i18n change will mirror the edited guides before this PR is merged. <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit * **New Features** * Added a setting to control whether `/continue` inserts a blank line before appended text. * Added support for explicitly disabling model reasoning where supported. * Improved ElevenLabs model and voice selection, search, refresh, and error handling. * Mobile chat composers now remain open while the keyboard is visible. * Improved kaomoji picker dismissal, wrapping, and result display. * **Documentation** * Expanded guidance for continuation formatting, reasoning controls, and ElevenLabs setup. <!-- 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:36 +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#6249
No description provided.