[Bug]: Voice settings shows device-local rows (Microphone etc.) under the environment/project scope header

Aperta Adatta ai principianti
#34,297 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
2/5
Tempo stimato
1-3 ore
Idoneità per principianti
68/100
Tipo di issue
Bug
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Stack tecnologico
react, typescript

Direzione di ricerca

Inizia da apps/web/src/components/settings/VoiceSettingsPanel.tsx e SettingsScopeSentence.tsx, che l’issue identifica come origine della presentazione che mescola gli ambiti del dispositivo e dell’ambiente. Esamina come vengono raggruppate o etichettate le righe locali al dispositivo e quelle serverScoped. Il lavoro è completato quando la pagina distingue chiaramente quali impostazioni si applicano a questo dispositivo e quali seguono l’ambito selezionato; l’issue non indica alcun test da eseguire.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

Before submitting
  • I searched existing issues and did not find a duplicate. (#28685 is about the iPad composer missing its mic button, not this.)
  • I included enough detail to reproduce or investigate the problem.
Area

apps/web

Steps to reproduce
  1. Run the desktop app on a Windows client and connect it to a remote Mac environment.
  2. Open Settings → Voice.
  3. Set the scope header to "Applying settings for All projects on Mac environment".
  4. Open the Microphone dropdown.
Expected behavior

The page makes clear which rows belong to the device I'm sitting at and which belong to the selected environment or project. The Microphone row should say that audio is recorded on this device and transcribed by the "Transcribe with" environment.

Actual behavior

The Microphone dropdown lists the Windows client's input devices, such as a virtual audio device, while the header directly above it names the Mac environment. It looks like the Mac's microphones are being shown wrongly, or like a setting for the Mac that was filled in from the wrong machine. I couldn't tell whether the microphone has to be set up on the PC or on the Mac. "Transcribe with" was set to the Windows environment, which made it even harder to tell what applies where.

What actually happens is correct (you record on the device in front of you), but the layout says otherwise. On this page, most rows are device-local client settings and only two follow the scope header:

Row Where it's saved Does the scope header affect it?
Microphone, Dictation shortcut Client settings (voiceMicrophone, voiceShortcutMode) No
Language, Translate to English Client settings (speechLanguage, speechTranslateToEnglish) No
Silence filtering, Remove filler words, Dictionary Client settings No (Dictionary already says "saved on this device")
Clean up transcripts, Cleanup instructions, Correction cue Client settings No
Transcribe with Chosen on this client; selects the environment that transcribes No
Hardware, Unload model, model downloads The "Transcribe with" environment No: they follow "Transcribe with", not the header
Project / Shared dictionary, Cleanup model Environment settings (serverScoped) Yes

Code pointers (main @ afb4f91):

Suggested fixes

Any of these would help, in rough order of value:

  1. Group the client-local rows (Input, plus the language and cleanup preferences) in a "This device" section placed outside or above the scope header, or label them "This device (<device name>)".
  2. Add a hint to the Microphone row, for example: "Audio is recorded on this device and sent to <Transcribe with environment> for transcription."
  3. Label Hardware, Unload model and the models list with the "Transcribe with" environment, since that is the machine they change.
  4. Optionally, dim or annotate the scope picker when the focused row doesn't depend on it, or show a small scope badge only on the serverScoped rows.
Impact

Cosmetic issue

Version or commit

Desktop app 0.1.8 (behavior is the same on main @ afb4f91)

Environment

Windows desktop client connected to a remote macOS environment

Workaround

None needed once you know the rule: pick the microphone on the device you're sitting at, and the Mac doesn't need one.

Lingua principale
TypeScript
Stelle
24.8k
Fork
6.4k
Merge medio
10h 56m
PR unite (30g)
226

Preparare l'ambiente

Apri in Codespaces

Avvia il container di sviluppo del progetto nel browser, con il tuo account GitHub.

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di pingdotgg/t3code

Tutte le issue di pingdotgg/t3code

Issue simili

Altre issue su TypeScript

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.