The player's sound control and the stored "narrate by default" are one setting
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 3/5
- Tempo stimato
- Mezza giornata
- Idoneità per principianti
- 66/100
- Tipo di issue
- Bug
- Chiarezza
- Specificata chiaramente
- Stato di attività
- Attiva
- Stack tecnologico
- typescript
- Ambito
- frontend
Direzione di ricerca
Start in DeckPlayer.tsx, where the speaker and the sheet's Narration switch currently call narration.toggle, and in src/voicePreference.tsx, which holds connected-deck:narrate-by-default. Add the optional onToggleNarration prop and have PresentationDeck pass the stored setter, so all three surfaces read and write one value. Done when a deck opened after muting starts silent, Settings shows Silent, and the engine's tests still pass.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
Why
The viewer bar's speaker and the sheet's Narration switch change only the deck being watched (DeckPlayer.tsx passes narration.toggle). The launch page's Settings keeps a separate stored preference, connected-deck:narrate-by-default (src/voicePreference.tsx). Turn narration on inside a deck, and the next deck opens silent. Turn it off in Settings, and the deck you have open doesn't change. One question gets answered in two places that disagree.
What changes
DeckPlayertakes an optionalonToggleNarration. When a host passes it,narrateByDefaultis the live setting, and the bar's speaker and the sheet's switch call it instead of toggling the session.PresentationDeckpasses the stored preference's setter, so the speaker, the sheet and the launch page's Settings all read and write one value.- Turning narration off still clears Audiobook mode.
- A host that passes nothing keeps today's session-only toggle.
Done when
- Muting inside a deck and then opening another deck opens it muted, and the launch page's Settings shows Silent.
- Turning narration on in Settings takes effect in an open deck's sheet.
- The engine's tests pass.
Out of scope
- The notes window's own narration toggle.
- The sheet's layout.
- Lingua principale
- TypeScript
- Stelle
- 1
- Fork
- 0
- Merge medio
- 30m
- PR unite (30g)
- 9
Preparare l'ambiente
Questo progetto non fornisce container di sviluppo, Dockerfile né guida per i contributori, quindi l'ambiente è a tuo carico: parti dal suo README e consulta la nostra guida al primo contributo per i passaggi generali.
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di johnfrog76/connected-deck
-
bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 82/100
johnfrog76/connected-deck#21 ·
-
bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
johnfrog76/connected-deck#19 ·
-
enhancement good first issue
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
johnfrog76/connected-deck#18 · 3 commenti ·
-
The in-deck settings sheet is the form's tight variant: mode names on one line, a small drawerApertaenhancement
Difficoltà 3/5 1-2 giorni Idoneità per principianti 70/100
johnfrog76/connected-deck#23 ·
-
enhancement good first issue
Difficoltà 3/5 Mezza giornata Idoneità per principianti 70/100
johnfrog76/connected-deck#22 ·
Tutte le issue di johnfrog76/connected-deck
Issue simili
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 82/100
unocss/unocss#5421 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno
-
needs-area
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
Azure/typespec-azure#5936 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 Mezza giornata Idoneità per principianti 72/100
vercel-labs/scriptc#2910 ·
I maintainer di solito rispondono entro 1 giorno
-
automation missing-model model-sync provider:fireworks-ai
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
anomalyco/models.dev#12458 ·
I maintainer di solito rispondono entro 1 giorno