[PR #8678] [MERGED] fix(connections): one Turn on button per job row, refreshable model list, cloud voices off On this device #8741

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

📋 Pull Request Information

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

Base: staging ← Head: fix/connections-job-fix-chip-and-model-list


📝 Commits (1)

  • 2bdce9b fix(connections): one Turn on button per job row, a model list that refreshes, cloud voices off On this device

📊 Changes

4 files changed (+22 additions, -6 deletions)

View changed files

📝 e2e/connections-jobs-state.e2e.ts (+4 -1)
📝 packages/client/src/components/connections/DeviceDetail.tsx (+2 -1)
📝 packages/client/src/components/connections/JobRow.tsx (+9 -2)
📝 packages/client/src/hooks/use-connections.ts (+7 -2)

📄 Description

Why

Testers on the Connections rework (Umi, kociol21) reported three problems in the sidebar after #8456:

  1. A job row with an off account showed a "⚠ Off" chip and a "Turn on" button. In the narrow sidebar the two controls squeezed the job name until its letters stacked, and "Turn on" clipped.
  2. The account editor's model list failed with Missing queryFn: ['connections','models',<id>] after Refresh.
  3. A cloud Text to Speech setup (ElevenLabs) showed under On this device, which made an old voice config look like it had come back in the wrong place.

No linked issue: this is a quick fix for tester feedback on the rework.

What changed

  • Job row: the warning is now its own fix button ("⚠ Turn on" / "⚠ Add key"). One control instead of chip + button, so the name keeps its width. Warnings without a fix still show the chip.
  • Model list: useCachedCatalogFacts used skipToken observers on the shared connections.models(id) key. A refetch or invalidate of that key could pick that observer's queryFn and throw. It now uses the real queryFn with enabled: false.
  • On this device: Text to Speech is listed there only for PocketTTS. Cloud voices (ElevenLabs, OpenAI, xAI) stay on the Voice job row, which already opens their settings.
  • e2e/connections-jobs-state.e2e.ts now expects the fix button instead of the "Off" / "Needs key" chip.

Validation

  • tsc --noEmit for packages/client and the e2e project: pass.
  • Prettier check on the changed files: pass.
  • Browser e2e not run locally.

Manual verification

  • In the Connections sidebar (narrow width), turn an account off and confirm the job row shows one "⚠ Turn on" button, the job name is readable, and clicking it turns the account on.
  • Open an account editor, press Refresh on the model list, and confirm no "Missing queryFn" error.
  • With ElevenLabs TTS on, confirm it is not listed under "On this device" and the Voice job row still opens the voice settings.
  • With PocketTTS on, confirm it still shows under "On this device".

🔄 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/8678 **Author:** [@Gunterlie](https://github.com/Gunterlie) **Created:** 11/2/2026 **Status:** ✅ Merged **Merged:** 11/2/2026 **Merged by:** [@Gunterlie](https://github.com/Gunterlie) **Base:** `staging` ← **Head:** `fix/connections-job-fix-chip-and-model-list` --- ### 📝 Commits (1) - [`2bdce9b`](https://github.com/Pasta-Devs/Marinara-Engine/commit/2bdce9badb795103d29834446e104c1d6dc7b901) fix(connections): one Turn on button per job row, a model list that refreshes, cloud voices off On this device ### 📊 Changes **4 files changed** (+22 additions, -6 deletions) <details> <summary>View changed files</summary> 📝 `e2e/connections-jobs-state.e2e.ts` (+4 -1) 📝 `packages/client/src/components/connections/DeviceDetail.tsx` (+2 -1) 📝 `packages/client/src/components/connections/JobRow.tsx` (+9 -2) 📝 `packages/client/src/hooks/use-connections.ts` (+7 -2) </details> ### 📄 Description ## Why Testers on the Connections rework (Umi, kociol21) reported three problems in the sidebar after #8456: 1. A job row with an off account showed a "⚠ Off" chip **and** a "Turn on" button. In the narrow sidebar the two controls squeezed the job name until its letters stacked, and "Turn on" clipped. 2. The account editor's model list failed with `Missing queryFn: ['connections','models',<id>]` after Refresh. 3. A cloud Text to Speech setup (ElevenLabs) showed under **On this device**, which made an old voice config look like it had come back in the wrong place. No linked issue: this is a quick fix for tester feedback on the rework. ## What changed - **Job row:** the warning is now its own fix button ("⚠ Turn on" / "⚠ Add key"). One control instead of chip + button, so the name keeps its width. Warnings without a fix still show the chip. - **Model list:** `useCachedCatalogFacts` used `skipToken` observers on the shared `connections.models(id)` key. A refetch or invalidate of that key could pick that observer's queryFn and throw. It now uses the real queryFn with `enabled: false`. - **On this device:** Text to Speech is listed there only for PocketTTS. Cloud voices (ElevenLabs, OpenAI, xAI) stay on the Voice job row, which already opens their settings. - `e2e/connections-jobs-state.e2e.ts` now expects the fix button instead of the "Off" / "Needs key" chip. ## Validation - `tsc --noEmit` for `packages/client` and the e2e project: pass. - Prettier check on the changed files: pass. - Browser e2e not run locally. ## Manual verification - [ ] In the Connections sidebar (narrow width), turn an account off and confirm the job row shows one "⚠ Turn on" button, the job name is readable, and clicking it turns the account on. - [ ] Open an account editor, press Refresh on the model list, and confirm no "Missing queryFn" error. - [ ] With ElevenLabs TTS on, confirm it is not listed under "On this device" and the Voice job row still opens the voice settings. - [ ] With PocketTTS on, confirm it still shows under "On this device". --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
bsakaguchi 2026-11-07 17:39: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#8741
No description provided.