Repository navigation
Description
Context
Part of #3690. Prerequisite: #3692, which supplies the MicButton with its hold ring and hint, with signed-off stories. This issue is integration only: it connects the real pointer, keyboard and assistive-technology input to the existing component, and replaces the separate live-conversation entry control.
Behaviour
- Tap (released before the hold threshold): start dictation, handing over to ui-react: wire dictation (D1–D8) to the voice field components #3694.
- Hold: drive the component's
progressprop from elapsed time. When it completes, fire a light haptic where supported and open the Start card (ui-react: wire the Start card (S1–S5) — service, persona and recovery #3698).- Releasing early counts as a tap.
- Moving the pointer off the mic cancels the hold.
- Nothing is captured during the hold. No microphone, provider or history work starts until the user picks dictation or presses Start.
- Keyboard: Enter or Space dictates; Shift+Enter opens Start.
- Screen readers: a "Talk live…" action.
- Live conversation not available: the ring still fills; on completion the S4 notice opens instead of Start (V4).
Acceptance criteria
- Uses the ui-kit: voice components and stories for every dictation, Start and live state #3692 component unchanged. No new visual design here: any visual change goes back to ui-kit: voice components and stories for every dictation, Start and live state #3692 and its stories.
- Tap and hold are split at the V1 threshold of 0.6 s. An early release never opens Start.
- Browser tests show no
getUserMedia, provider connection or history read during a hold, or after a cancelled hold. - Keyboard and screen-reader paths reach both modes.
- The old live entry control is removed, with no orphaned code or tests.
- App browser tests use both coarse and fine pointers.
Decisions (maintainer, 2026-11-08)
- V1: the hold threshold is 0.6 s.
- V4: when live conversation isn't available, the hold ring still fills and then shows the S4 notice instead of the Start card. A tap still dictates.
Contract impact
None.
2026-11-08: open decisions replaced by the maintainer's rulings; the prerequisite is now declared as a canonical dependency line.
2026-11-08 (later): #3692 is delivered. Wiring the hold onto the real composer needs the kit Composer to host MicButton, a composition no signed-off story draws, so this issue is now blocked by #3727 (design, then an additive kit prop).
2026-11-10 triage at main d79eeed0a: no active blocker. #3727 is closed as completed and its output is on main (#3742, squash fb999b8ba, the Composer micControl slot), so its Blocked by line moved here as history.
Activity
[-]ui-react: one composer mic — tap to dictate, hold to start a live conversation[/-][+]ui-react: wire the composer mic — tap to dictate, hold to start a live conversation[/+]schlessera commentedon Nov 8, 2026
Decision (maintainer, 2026-11-08): see the rulings on #3690; this issue's body now states the chosen branch.
needs: decisionremoved. Blocked by #3692 (and, for #3698, by #3616/#3617) until its signed-off components exist.schlessera commentedon Nov 8, 2026
Unblocked: #3692 is closed, so
scripts/sync-project.tsis removing theblockedlabel.schlessera commentedon Nov 8, 2026
Claimed (token
wi-3693-c7e1). Intended branch:feat/3693-composer-mic-gesture.Collision note: draft PRs #3717 and #3724 also edit the dictation sources and the composer (
use-dictation.ts,dictation-sheet.tsx,composer.tsx). This change keeps to the composer mic entry and the live entry control; #3694 follows for the dictation surface.schlessera commentedon Nov 8, 2026
Handoff (claim
wi-3693-c7e1released): blocked by #3727.What is missing: this issue requires the #3692
MicButtonunchanged and no new visual design. The app's resting composer is the kitComposer(packages/ui-react/src/components/chat/composer-view.tsx:279), which draws its own 28px micIconButton(packages/ui-kit/src/chrome/Composer.tsx:332) and takes no caller-supplied control in that position.MicButtonis a 44px raised control whose hint and "Talk live…" action float above it (packages/ui-kit/src/tokens.css:2832-2843). Every signed-off story places it in a bareVoiceFieldwithout the attach menu, editable textarea, provider chip, hint line or Send (packages/ui-kit/stories/voice/_voice.tsx:78,:143). So wiring the hold needs both a kit change and a composition nobody has signed off. Both are outside this integration issue.Evidence: the code paths above. No branch or code was produced.
Next action: #3727 (
needs: design) records the ruling and then adds the additive kit prop with stories and baselines.To resume: once #3727 merges, this issue's scope is unchanged. Tap and hold split at 0.6 s on the composer's
MicButton, Shift+Enter and "Talk live…" open the existing Start flow, the S4 notice appears when live is unavailable, and the "Live conversation" row in the attach menu (composer-view.tsx:192) and its naming (composer-view.tsx:186-189, D37 note indocs/decisions/design-kit/navigation.md) are removed.schlessera commentedon Nov 9, 2026
Unblocked: its only declared blocker, #3727, closed when #3742 merged (
fb999b8).Composernow has themicControlslot this issue wires.schlessera commentedon Nov 9, 2026
Claimed (token
wi-3693-d41a). Intended branch:feat/3693-composer-mic-gesture, fromfb999b8.Collision note: draft PR #3735 (#3699) also edits the live-conversation surface and
composer.tsx. This change keeps to the composer mic gesture and removes the old live entry row; the tall voice field stays with #3735.schlessera commentedon Nov 9, 2026
Implementation in #3761 (draft, head
373180a7). Hosted heavy feedback is running before I request candidate confirmation.Scope notes, recorded on the PR:
MicButtonhas no tooltip, so the fine-pointer "Dictate · " tooltip no longer paints on the resting mic. The accessible name keeps the service.fix(ui-kit): let a Composer's micControl come and go without a margin…
schlessera commentedon Nov 10, 2026
2026-11-10 triage at main
d79eeed0a: its onlyBlocked byline named #3727, which is closed as completed with its output on main (#3742, squashfb999b8ba, theComposermicControlslot). I moved that line into a dated historical note in the body. There is no open blocker, so there is noblockedlabel. Labels are unchanged.feat(ui-react): tap the composer mic to dictate, hold it to open Start (
schlessera commentedon Nov 10, 2026
Delivered in #3761, squashed to main as
b6c330a60e557a36c9b164c5244e7cb4e5aa0491(milestone 0.45.0).95014cb1on base87a39e8c.What changed:
MicButtonin themicControlslot.composer-mic.pointer.tsxproves this on the rail-fine, rail-coarse and rail-mixed projects with real mouse and touch input, instrumentinggetUserMedia, every request, socket and frame. It covers a hold, a cancelled hold and S4.ComposerwhosemicControlcomes and goes now updates its textarea margin with one shorthand, with the same pixels. Before, it lost its bottom margin and React warned.Kept by design, recorded on the PR: dictating, a recording in progress, an undecided mic, and a host with neither dictation nor live conversation all keep the kit's own mic. The fine-pointer "Dictate · " tooltip no longer paints on the resting mic; the accessible name still carries the service.
#3694 can build on this.
feat(ui-react): dictate in the voice field and remove the dictation s…