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
@@ -18,7 +18,9 @@ service externe.
- **Texte** entre le client et l'API, **jamais d'audio**.
- **Projets** : une conversation = une mémoire persistante, rejouée vers le modèle à
chaque tour, avec plafond de taille et bouton de vérification.
- **Voix locale** : maintien du bouton micro pour parler, réponse lue à voix haute.
- **Voix locale** : un appui sur le bouton micro lance l'enregistrement, un second
appui (`Ctrl+Espace` au clavier) l'arrête et lance la transcription, réponse lue à
voix haute.
- **Deux modes** : un onglet **💬 Chat** (écrire) et un onglet **🗣️ Compagnon** (parler à
l'avatar centré) ; la transcription part vers le backend en **texte JSON**, jamais en audio.