From 4036c1cb359369bff48a77b76b68b3dde97201c4 Mon Sep 17 00:00:00 2001 From: Sam Rolfe Date: Tue, 1 Sep 2026 14:21:16 +1000 Subject: [PATCH] Voice: multiline textarea input + Clear button --- portal/templates/voice.html | 15 ++++++++++++--- 1 file changed, 12 insertions(+), 3 deletions(-) diff --git a/portal/templates/voice.html b/portal/templates/voice.html index aa44f17..7e505a0 100644 --- a/portal/templates/voice.html +++ b/portal/templates/voice.html @@ -10,11 +10,14 @@
- + style="resize:vertical; min-height:2.9em">{{ command or '' }} +
+
+ +
-
Working — asking Jervis… @@ -31,6 +34,12 @@ var w = document.getElementById('waiting'); if (w) { w.style.display = 'flex'; } } + var clearMsg = document.getElementById('clearMsg'); + if (clearMsg) clearMsg.addEventListener('click', function () { + var m = document.getElementById('message'); + if (m) m.value = ''; + m && m.focus(); + }); {% if reply %}