[PR #8922] [MERGED] fix(connections): Voice row opens the Local PocketTTS page #8883

Closed
opened 2026-11-07 17:40:27 +07:00 by bsakaguchi · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/Pasta-Devs/Marinara-Engine/pull/8922
Author: @Gunterlie
Created: 11/6/2026
Status: ✅ Merged
Merged: 11/6/2026
Merged by: @Gunterlie

Base: staging ← Head: fix/8921-voice-row-opens-pockettts


📝 Commits (1)

  • a5a5230 fix(connections): Voice row opens the Local PocketTTS page (#8921)

📊 Changes

1 file changed (+3 additions, -1 deletions)

View changed files

📝 packages/client/src/components/connections/ConnectionDefaults.tsx (+3 -1)

📄 Description

Refs #8921

Why

A user with Local PocketTTS (set in the TTS card, no Audio connection) sees the Voice row in Connections → Defaults say "Local PocketTTS · Text to speech". A click on that row opens the Model picker, which shows None and "No models yet". The local voice has no row there, so the user cannot find where to turn it off or change it (see the screenshots in the issue).

What changed

  • When the Voice row reads from the TTS card and the source is PocketTTS, the row now opens the On this device → Text to Speech page (device: "tts"). That page holds the TTS card with the on/off switch, server and voice.
  • This uses the same pattern as the Speech to Text row (device: "stt").
  • Cloud TTS-card sources (OpenAI, ElevenLabs, xAI) keep the current picker, because they do not run On this device.

One file, one line of logic.

Not covered

The report also says "two models are loaded". The diagnostics show the built-in Local Model (gemma) plus PocketTTS. This PR does not change what is loaded; it only gives the user a way back to the PocketTTS controls. If the reporter means two PocketTTS entries, that needs a follow-up with their data.

Validation

  • tsc --noEmit -p packages/client passes.
  • eslint on the changed file passes.
  • Local CodeRabbit not run; GitHub CodeRabbit and Dottore review this PR.

Manual verification

  • Turn on Text to Speech in the TTS card with source PocketTTS and no Audio connection. Open Connections. Click the Voice row. Verify that the Text to Speech page On this device opens, and that you can turn it off there.
  • With an Audio connection set for Voice, verify that the Voice row still opens the Model picker.
  • With the TTS card set to a cloud source (for example ElevenLabs) and no Audio connection, verify that the Voice row still opens the Model picker.

🔄 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/8922 **Author:** [@Gunterlie](https://github.com/Gunterlie) **Created:** 11/6/2026 **Status:** ✅ Merged **Merged:** 11/6/2026 **Merged by:** [@Gunterlie](https://github.com/Gunterlie) **Base:** `staging` ← **Head:** `fix/8921-voice-row-opens-pockettts` --- ### 📝 Commits (1) - [`a5a5230`](https://github.com/Pasta-Devs/Marinara-Engine/commit/a5a52307d2f4f883b194b75e8729a4593dd38a53) fix(connections): Voice row opens the Local PocketTTS page (#8921) ### 📊 Changes **1 file changed** (+3 additions, -1 deletions) <details> <summary>View changed files</summary> 📝 `packages/client/src/components/connections/ConnectionDefaults.tsx` (+3 -1) </details> ### 📄 Description Refs #8921 ## Why A user with Local PocketTTS (set in the TTS card, no Audio connection) sees the Voice row in Connections → Defaults say **"Local PocketTTS · Text to speech"**. A click on that row opens the Model picker, which shows **None** and "No models yet". The local voice has no row there, so the user cannot find where to turn it off or change it (see the screenshots in the issue). ## What changed - When the Voice row reads from the TTS card and the source is PocketTTS, the row now opens the **On this device → Text to Speech** page (`device: "tts"`). That page holds the TTS card with the on/off switch, server and voice. - This uses the same pattern as the Speech to Text row (`device: "stt"`). - Cloud TTS-card sources (OpenAI, ElevenLabs, xAI) keep the current picker, because they do not run On this device. One file, one line of logic. ## Not covered The report also says "two models are loaded". The diagnostics show the built-in Local Model (gemma) plus PocketTTS. This PR does not change what is loaded; it only gives the user a way back to the PocketTTS controls. If the reporter means two PocketTTS entries, that needs a follow-up with their data. ## Validation - `tsc --noEmit -p packages/client` passes. - `eslint` on the changed file passes. - Local CodeRabbit not run; GitHub CodeRabbit and Dottore review this PR. ## Manual verification - [ ] Turn on Text to Speech in the TTS card with source PocketTTS and no Audio connection. Open Connections. Click the Voice row. Verify that the Text to Speech page On this device opens, and that you can turn it off there. - [ ] With an Audio connection set for Voice, verify that the Voice row still opens the Model picker. - [ ] With the TTS card set to a cloud source (for example ElevenLabs) and no Audio connection, verify that the Voice row still opens the Model picker. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
bsakaguchi 2026-11-07 17:40:27 +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#8883
No description provided.