STT improvements: hotkey, button position, and hover tooltip #2

Merged
jknapp merged 4 commits from feature/stt into main 2026-04-13 13:02:53 +00:00
Owner

Summary

  • Ctrl+Shift+M hotkey to toggle STT recording without leaving the terminal — no more clicking the button and losing focus
  • Repositioned mic button to bottom-left corner (bottom-1 left-1) so it doesn't clip Claude Code's status line (permissions mode, plan mode, etc.)
  • Styled hover tooltip with Ctrl+Shift+M keyboard shortcut badge that appears instantly on mouseover
  • Button no longer steals focusonMouseDown preventDefault keeps cursor in terminal even when clicking
  • Fix tauri-plugin-dialog version mismatch (2.6.0 → 2.7.0)

Test plan

  • Hover over mic button — tooltip with shortcut should appear instantly
  • Press Ctrl+Shift+M — recording starts, terminal keeps focus
  • Press Ctrl+Shift+M again — transcription runs, text appears at cursor, press Enter to send
  • Click mic button — terminal should retain focus (no need to click back into terminal)
  • Verify mic button doesn't overlap Claude Code status bar

🤖 Generated with Claude Code

## Summary - **Ctrl+Shift+M hotkey** to toggle STT recording without leaving the terminal — no more clicking the button and losing focus - **Repositioned mic button** to bottom-left corner (`bottom-1 left-1`) so it doesn't clip Claude Code's status line (permissions mode, plan mode, etc.) - **Styled hover tooltip** with `Ctrl+Shift+M` keyboard shortcut badge that appears instantly on mouseover - **Button no longer steals focus** — `onMouseDown preventDefault` keeps cursor in terminal even when clicking - Fix tauri-plugin-dialog version mismatch (2.6.0 → 2.7.0) ## Test plan - [ ] Hover over mic button — tooltip with shortcut should appear instantly - [ ] Press Ctrl+Shift+M — recording starts, terminal keeps focus - [ ] Press Ctrl+Shift+M again — transcription runs, text appears at cursor, press Enter to send - [ ] Click mic button — terminal should retain focus (no need to click back into terminal) - [ ] Verify mic button doesn't overlap Claude Code status bar 🤖 Generated with [Claude Code](https://claude.com/claude-code)
jknapp added 3 commits 2026-04-13 13:00:54 +00:00
Lifts useSTT hook from SttButton into TerminalView so both the hotkey
and the button share the same recording state. The hotkey keeps terminal
focus so after transcription the user just presses Enter. The button
also no longer steals focus via onMouseDown preventDefault.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Add styled hover tooltip to STT button showing Ctrl+Shift+M shortcut
All checks were successful
Build App / compute-version (pull_request) Successful in 3s
Build App / build-macos (pull_request) Successful in 2m25s
Build App / build-windows (pull_request) Successful in 4m36s
Build App / build-linux (pull_request) Successful in 4m43s
Build App / create-tag (pull_request) Has been skipped
Build App / sync-to-github (pull_request) Has been skipped
3e9053946f
Replaces the native title attribute with a custom tooltip that appears
instantly on hover, displaying the shortcut in a styled kbd element.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
jknapp added 1 commit 2026-04-13 13:02:33 +00:00
Merge remote-tracking branch 'origin/main' into feature/stt
All checks were successful
Build App / compute-version (pull_request) Successful in 2s
Build App / build-macos (pull_request) Successful in 2m23s
Build App / build-windows (pull_request) Successful in 3m53s
Build App / build-linux (pull_request) Successful in 4m47s
Build App / create-tag (pull_request) Has been skipped
Build App / sync-to-github (pull_request) Has been skipped
e62af502d3
jknapp merged commit 17c5d699f9 into main 2026-04-13 13:02:53 +00:00
Sign in to join this conversation.
No Reviewers
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: CyberCoveLLC/Triple-C#2