From 68dd6e333c22d7d831fdc61ec59a7dd9eedd921e Mon Sep 17 00:00:00 2001 From: Russell Ballestrini Date: Tue, 2 Jun 2026 17:51:10 -0400 Subject: [PATCH] zebra-spaces: drop 'input' label; prefix dropdown options with 'input ' --- web/zebra-spaces.html | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) diff --git a/web/zebra-spaces.html b/web/zebra-spaces.html index 73f1f6b..e609e4b 100644 --- a/web/zebra-spaces.html +++ b/web/zebra-spaces.html @@ -641,8 +641,7 @@ try {
- - +
@@ -2463,10 +2462,14 @@ async function refreshMicList(){ const mics = devs.filter(d=>d.kind==='audioinput'); const sel = $('mic-select'); if (!sel) return; sel.innerHTML = ''; - if (!mics.length){ sel.innerHTML = ''; return; } + if (!mics.length){ sel.innerHTML = ''; return; } mics.forEach((m,i)=>{ const o = document.createElement('option'); - o.value = m.deviceId; o.textContent = m.label || ('microphone '+(i+1)); + /* prefix every option with 'input' so the dropdown reads as + * 'input WH-1000XM5' / 'input Built-in Mic'. We dropped the + * separate 'input' label that used to live alongside the row; + * the prefix keeps the meaning while freeing the column. */ + o.value = m.deviceId; o.textContent = 'input ' + (m.label || ('microphone '+(i+1))); sel.appendChild(o); }); if (micDeviceId && mics.some(m=>m.deviceId===micDeviceId)) sel.value = micDeviceId; @@ -3678,8 +3681,8 @@ logLine('', 'ready — pick a handle, type a rendezvous code, enter the space');