Skip to content

fix(x): hover follow-ups — "Try it" toast summons the real companion; Windows push-to-talk (right Ctrl) - #859

Open
arkml wants to merge 2 commits into
mainfrom
fix/hover-tryit-toast
Open

fix(x): hover follow-ups — "Try it" toast summons the real companion; Windows push-to-talk (right Ctrl)#859
arkml wants to merge 2 commits into
mainfrom
fix/hover-tryit-toast

Conversation

@arkml

@arkml arkml commented Aug 13, 2026

Copy link
Copy Markdown
Contributor

Follow-up to #855. The once-per-install discoverability toast's Try it action still called quickAsk:show — the pre-hover fallback path — so the first thing a new user saw of "hover mode" was the legacy 800px summoned bar with the hatless mascot.

  • Try it now runs the exact ⌥⇧Space flow (startHoverCall, via a ref so the 3s timer never captures a stale voice-availability closure) → lands on the Skipper card. The no-voice text-card fallback is preserved (quickAsk:show survives only as that deliberate fallback inside startHoverCall).
  • Toast copy updated to describe what actually happens (voice companion, answers out loud).

Verified live: fresh profile → toast fires → Try it opens the 560px Skipper card (hat + pins + ↗), not the 800px legacy bar. Typecheck + lint clean.

🤖 Generated with Claude Code


Also: push-to-talk on Windows (right Ctrl, not right ⌘)

Bigger than a wording bug: the global PTT hook hardcoded VC_META_R, which on Windows is the right Win key — the OS owns it (tap = Start menu), so hold-to-talk was effectively unusable off macOS. Now every layer agrees on right Ctrl for Windows/Linux: the uiohook keycode in main/ptt.ts, the app window's DOM fallback (ControlRight), and every user-facing string (Skipper chip, call-view status line + talk-button tooltip, the hands-free teach toast) via a shared pttKeyLabel helper. The ⌥⇧Space hint was already platform-formatted (Alt+Shift+Space on Windows) and is unchanged.

arkml and others added 2 commits August 13, 2026 18:46
… legacy bar

The once-per-install discoverability toast's action still called
quickAsk:show — the pre-hover fallback path — so the very first thing a new
user saw of "hover mode" was the legacy 800px summoned bar with the hatless
mascot. It now runs the exact ⌥⇧Space flow (startHoverCall, via a ref so
the timer never captures a stale voice-availability closure), landing on
the Skipper card, with the no-voice text-card fallback intact. Toast copy
updated to describe what actually happens.

quickAsk:show survives only as the deliberate fallback inside
startHoverCall for voice-unconfigured installs.

Verified: live drive — fresh profile, toast fires, Try it opens the 560px
Skipper card (hat + pins), not the 800px legacy bar.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
…, not right ⌘)

The global PTT hook hardcoded libuiohook's VC_META_R — on Windows that's
the right Win key, which the OS owns (a tap opens the Start menu), so
hold-to-talk was effectively unusable there. The quick-ask bar's local
listener had already mapped Windows to right Ctrl; now every layer agrees:

- main/ptt.ts hooks VC_CONTROL_R (right Ctrl) off macOS
- the app window's DOM fallback listens for ControlRight off macOS
- every user-facing string ("Hold the mic — or right ⌘", the call view's
  status line and talk-button tooltip, the hands-free teach toast) renders
  the platform's actual key via a shared pttKeyLabel helper

The ⌥⇧Space summon hint was already platform-formatted (Alt+Shift+Space on
Windows) via formatShortcut — unchanged.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
@arkml arkml changed the title fix(x): first-run "Try it" toast summons the hover companion, not the legacy bar fix(x): hover follow-ups — "Try it" toast summons the real companion; Windows push-to-talk (right Ctrl) Aug 13, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant