feat(frontend): toggle recording with the mic button or Ctrl+Space

Holding the button to talk forced the hand to stay on the mouse for the whole
sentence; a press to start and a second press to stop keeps both hands free and
matches how the cumulative capture is transcribed anyway. The shortcut mirrors
the button from either tab, and is consumed so the space never reaches the
compose box.
This commit is contained in:
BlackAngelTV committed 2026-10-06 19:45:19 +02:00
1 parent 679cd1200e
commit 04f3236a7c
5 files changed
+124 -32

No files matched your search

+3 -1
View File
@@ -226,7 +226,9 @@ lancements :
- le **Chat** garde la barre latérale des projets et les bulles ;
- le **Compagnon** centre l'avatar (tamagotchi), affiche l'humeur et le dernier échange en
sous-titres, et met en avant un grand bouton **push-to-talk**.
sous-titres, et met en avant un grand bouton **micro à bascule** (un appui démarre
l'enregistrement, le suivant l'arrête ; `Ctrl+Espace` fait la même chose depuis les deux
onglets).
Le mode ne change **pas** le contrat réseau : la transcription produite par Whisper est
passée à `send_message`, donc envoyée au backend en **texte JSON** exactement comme un