diff options
| author | Danilo M. <danix@danix.xyz> | 2026-11-10 12:45:52 +0100 |
|---|---|---|
| committer | Danilo M. <danix@danix.xyz> | 2026-11-10 12:45:52 +0100 |
| commit | c30385b92ff767f8aaff58bf0bc1e5c42ce9036c (patch) | |
| tree | 724f3fca1eacf2ba2cd3d7046befd8b464e42e97 /static/deck.css | |
| parent | c8f5a1e68d3294d4e1c7be3c386f3cc538eeb7af (diff) | |
| download | deck-it-c30385b92ff767f8aaff58bf0bc1e5c42ce9036c.tar.gz deck-it-c30385b92ff767f8aaff58bf0bc1e5c42ce9036c.zip | |
fix(assistant): voice-only tab, tools in an overlay, silent clips dropped
The first voice question on the tablet was a 0.66 s silent clip: the
mic gave no feedback until the next poll, an extra tap made a near-empty
recording, and the model invented a question from the silence. The mic
now turns red on the tap itself, and a clip whose loudest sample is
under 1500 (room noise measured ~260, speech 15000+) is not sent.
Typing happens on the PC, so the text field, send button and the ask
action are gone; the bar is a large mic and a stop icon. The presets and
ops move into an overlay opened from the header, so the transcript gets
the screen.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Diffstat (limited to 'static/deck.css')
| -rw-r--r-- | static/deck.css | 16 |
1 files changed, 10 insertions, 6 deletions
diff --git a/static/deck.css b/static/deck.css index 60a9b56..8d17a66 100644 --- a/static/deck.css +++ b/static/deck.css @@ -638,7 +638,14 @@ select { .assistant .as-mrow.on { border-color: var(--udt-accent); } .assistant .as-mrow span { flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .assistant .as-mrow small { color: var(--udt-overlay0); } -.assistant .as-row { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 4px; } +.assistant .fresh { margin-left: auto; } +.assistant .as-strip { + position: absolute; top: 58px; left: 0; right: 0; z-index: 2; max-height: 75%; overflow-y: auto; + display: flex; flex-direction: column; gap: 10px; + background: var(--udt-mantle); border: 1px solid var(--udt-surface1); border-radius: 12px; padding: 10px; +} +.assistant .as-strip[hidden], .assistant .as-picking[hidden] { display: none; } +.assistant .as-row { display: flex; flex-wrap: wrap; gap: 8px; } .assistant .as-tile { flex: none; width: 84px; min-height: 72px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; border-radius: 12px; font: inherit; cursor: pointer; @@ -661,11 +668,8 @@ select { .assistant .md table { border-collapse: collapse; } .assistant .md th, .assistant .md td { border: 1px solid var(--udt-surface1); padding: 4px 8px; } .assistant .md a { color: var(--udt-accent); } -.assistant .as-bar { display: flex; gap: 8px; align-items: flex-end; } -.assistant .as-bar textarea { - flex: 1; min-height: 48px; max-height: 30vh; resize: none; font: inherit; padding: 12px; border-radius: 12px; - background: var(--udt-surface0); border: 1px solid var(--udt-surface1); color: var(--udt-text); field-sizing: content; -} +.assistant .as-bar { display: flex; gap: 12px; align-items: center; } +.assistant .as-bar .mic { min-width: 72px; min-height: 72px; font-size: 1.9rem; border-radius: 36px; } .assistant .mic.on { background: var(--udt-red); border-color: var(--udt-red); color: var(--udt-crust); } .assistant .mic.on::after { content: attr(data-secs); font-family: inherit; font-size: 0.714rem; margin-left: 4px; } .assistant .as-op.good { color: var(--udt-green); } |
