Repository navigation
Description
Context
Part of #3690. Storybook first: every visual piece of the voice redesign is built and approved here, in ui-kit, before any app wiring. The integration sub-issues (#3693, #3694, #3698, #3699, #3700) only connect real state to these components. They must not add new visuals.
Scope: presentational components (no hooks, no client, props only)
-
VoiceField, the composer-replacing surface, in three shapes:
- compact (dictation): a fixed height that never collapses; a two-line text area, clamped.
- tall (live): a fixed-height panel.
- card (Start and notices): grows upward.
-
Fill and meter by speaker:
- amber for you or your mic;
- teal for brain or its voice (a meter while speaking, a sweep while thinking or working);
- grey for not hearing (flat when muted, striped while reconnecting);
- red only on End and failures.
The meter takes a
levelprop (0–1), so stories can drive it. -
State label row (icon plus one word) with optional meta (persona and elapsed time).
-
VoiceControlButton: raised round buttons (44px minimum) lifted off the meter by a soft shadow and highlight, with pressed (solid) and disabled treatments.
-
MicButton with hold ring: idle, pressed, holding (with a
progressprop for the ring) and complete. The "Keep holding to talk live" hint is included. -
VoiceNotice: tone, icon, title, one-line body and up to two actions.
-
StartCard, containing:
- the disclosure line and "What's shared" expander;
- the Service row with Change;
- the persona list;
- the warning, blocking and error variants (S3, S3b, S3c, S3d);
- the Start button and cancel.
-
Spoken-turn marks for the chat:
- inline amber mic and teal speaker icons;
- the in-progress outline and cursor;
- the dotted underline for an uncertain word;
- dimmed unplayed text and the "cut off" tag;
- the end-of-conversation divider.
Stories (one per state, all at 320px and desktop, light and dark)
- Dictation: D1–D8.
- Start: S1, S2 with one and with several services, S3, S3b, S3c, S3d, S4, S5.
- Live: L1–L10.
- Chat: typed vs. spoken turns, in-progress, uncertain word, partly played, cut off, end divider, and a legacy turn with no provenance.
- Composite screen stories: a chat plus the field, for one representative state per group, matching the mockups.
Use Odysseus fixture copy.
Acceptance criteria
- All components live in ui-kit using kit tokens. The amber, teal, grey and red state colours are defined once and shared by dictation and live.
- Every state listed above has a story, and visual baselines exist at 320px and desktop in both themes.
- The field height is identical across D3–D5 and across L1–L8. A visual or layout test fails if it changes. Prove this with a mutation.
- Per-component accessibility (moved here from ui-react: integrated accessibility for voice — announcements, focus and keyboard flows #3701):
- accessible names on all controls;
- 4.5:1 text contrast on every fill;
- no state relying on colour or animation alone (every state has an icon and a word);
- coarse-pointer targets and focus rings on every fill.
- Reduced-motion stories: meters show a static level, sweeps become a flat tint, the ring shows progress without easing, and shape changes are instant.
- Components take plain props and callbacks only. They do not import dictation or conversation client code.
- Design sign-off on the stories, against the mockups on Epic: unified voice experience — one mic, one field (dictation + live conversation) #3690, before the integration sub-issues start.
Verification
Kit visual and layout tests under the existing browser projects, the kit accessibility checks, and the mutation above.
Contract impact
None. These are new kit exports.

Activity
[-]ui-kit: shared voice field and state vocabulary for dictation and live conversation[/-][+]ui-kit: voice components and stories for every dictation, Start and live state[/+]uploads-sh commentedon Nov 8, 2026
uploads put <file> --issue 3692· docsschlessera commentedon Nov 8, 2026
Claimed (claim-bcc42f5d) on branch
feat/3692-voice-kit-components. Decision V4 (the hold ring fills, then S4 explains) is ruled on #3690, so this issue is fully scoped. Collision check: broad closure overlaps with open drafts only, no path collisions. I'll build the components, stories and baselines; the design sign-off stays with the maintainer, on the PR.schlessera commentedon Nov 8, 2026
Design sign-off (maintainer, 2026-11-08): the voice stories and baselines in #3718 are approved against the #3690 mockups.
That covers D1–D8, S1–S5 (with S2's one- and several-service forms and S3b–S3d), L1–L10, the chat marks, the controls and the three assembled screens.
Two departures were reviewed and accepted:
The integration issues (#3693, #3694, #3698, #3699, #3700) may use these components unchanged once #3718 merges.
feat(ui-kit): add the unified voice surface components
test(ui-kit): voice stories for every D, S and L state, with baselines
feat(ui-kit): add the unified voice surface components
2 remaining items
schlessera commentedon Nov 8, 2026
Delivered in #3718, squash
344d2dd47b78df20f387360949e7930e4e2d34dc(parenta3ca546, tree34f39ee, identical to the confirmed candidate in run 42480519944). Milestone 0.45.0.--bk-voice-*tokens and thespeaker,mic-offandinterrupticons.Screens/Voice.errorin both themes.voice-contrast.test.tspins 4.5:1 for every ink on every ground.D3 height: expected 62 to be 84andL1 height: expected 96 to be 136.moving meter hidden: expected 'flex' to be 'none'.color-ink-mute on idle: 3.33.#3693, #3694, #3699 and #3700 depended only on this issue and are now unblocked. #3698 remains blocked by #3616 and #3617. #3701 follows the integrations.
feat(ui-react): show spoken turns in the chat with the voice kit's marks
feat(ui-react): show spoken turns in the chat with the voice kit's marks
feat(ui-react): show spoken turns in the chat with the voice kit's marks
feat(ui-react): show spoken turns in the chat with the voice kit's marks
feat(ui-react): show spoken turns in the chat with the voice kit's marks
feat(ui-react): show spoken turns in the chat with the voice kit's ma…
fix(ui-kit): anchor dictation label and words, fade the meter, drop t…
test(ui-kit): voice stories for dictation disclosure and the live fie…
test(ui-kit): voice stories for dictation disclosure and the live fie…
test(ui-kit): voice stories for dictation disclosure and the live fie…
test(ui-kit): voice stories for dictation disclosure and the live fie…
fix(ui-kit): fill the whole tall voice card with its meter, tighten W…
CONTRACT: feat(ui-react,ui-sdk,ui-server): draw live conversation in …