Skip to content

ui-kit: the tall voice field's backgrounds and animations fill the entire card #3746

Closed

Description

@schlessera

Context

Part of #3690. The tall VoiceField (live conversation, S5 and L1–L8) insets its meter layer to the band below the label row: .bk-voice-field[data-shape="tall"] > .bk-voice-meter { top: 30px; bottom: 6px; border-radius: 0 0 21px 21px; } (packages/ui-kit/src/tokens.css, the voice section from #3692). So the thinking/working sweep, the muted flat line, the reconnecting hatch and the level bars cover only part of the card.

Maintainer direction (2026-11-08): in conversation mode, the different backgrounds and animations (thinking, working, reconnecting and the rest) must fill the entire card.

Scope

  • The tall field's meter layer covers the whole card (inset: 0, the card's own radius), in every meter mode: level, sweep, flat and hatch. The reduced-motion forms (static level line, flat tint) cover the same area.
  • Text stays at or above 4.5:1 where it now crosses the meter. The state label's icon, word and meta sit on the field's opaque ground (--bk-voice-ground-*), line by line, as the words already do (ui-kit: voice components and stories for every dictation, Start and live state #3692). The same rule applies in the compact field, so a label meta (the dictation destination, ui-kit: story fixtures for dictation disclosure (#3694) and live-field review, refusal and recovery (#3699) #3738) never sits on a bar either.
  • Start card (maintainer direction, 2026-11-08): "What's shared ›" has less padding and margin around it. Its 44px target is kept, but its layout space is pulled into the card's gap and padding.
  • Dictation with a state label (D3–D5) (maintainer direction, 2026-11-08): the words are hard to read over the meter. The label ("Listening", "Finishing") anchors to the top of the card and the words attach to the bottom. A gradient over the meter fades the bars into the field's ground behind the words. The field stays 84px.
  • Regenerate the affected voice baselines in the pinned container.

Out of scope

Acceptance criteria

  • In every tall state, the meter layer's box equals the field's padding box, proven by a story play assertion that fails if the inset returns (mutation recorded).
  • The state label's word and meta have the field's ground as their background in every shape, proven by a play assertion with a recorded mutation.
  • "What's shared ›" keeps a 44px target and sits at most 16px below Start, measured from Start to the link's text, as a story play assertion proves.
  • In D3–D5 the label is within 10px of the card's top, the words within 10px of its bottom, and the meter carries the fading gradient, as a story play assertion proves (mutation recorded).
  • The field heights are unchanged (the existing HeightIsStable guards pass).
  • The voice baselines are regenerated in the pinned container, and no other baseline changes.

Verification

Story projects in both themes (axe at error), the voice visual test, and the mutations above.

Contract impact

None. Presentation only.

2026-11-08: added the Start card's "What's shared" spacing (maintainer direction).

2026-11-08: added the D3–D5 label/word anchoring and the gradient behind the words (maintainer direction).

Activity

  1. added this to the 0.45.0 milestone on Nov 8, 2026
  2. self-assigned this
    on Nov 8, 2026
  3. added
    type: fix
    area: ui-kit
    priority: p2
    agent-ready
    on Nov 8, 2026
  4. schlessera commented on Nov 8, 2026

    @schlessera
    OwnerAuthor

    Claimed by this session (wi-3746-fill), on branch fix/3746-tall-meter-fill. Collision note: the open voice PRs #3741 (#3738) and #3735 (#3699) draw tall states. Whichever merges second regenerates its tall baselines.

  5. schlessera commented on Nov 9, 2026

    @schlessera
    OwnerAuthor

    Delivered in #3747: squash 09a79f6859d3941d6baf5a16e87ae3dffd7d2560, parent b16352f. Its tree fee58a7 is identical to the confirmed candidate in run 42558028897. Milestone 0.45.0.

    • Tall live card: the meter (bars, sweep, flat line, hatch) fills the whole card. A top fade holds the label row.
    • D3–D5: the label is anchored at the top and the words at the bottom, over a fade into the field's ground.
    • No text backgrounds: text in the field has none; it reads through the fades and a soft halo in the field's ground.
    • Start card: "What's shared ›" sits close under Start and keeps its 44px target.
    • Guards: each has a recorded mutation (see the PR). ui-kit: story fixtures for dictation disclosure (#3694) and live-field review, refusal and recovery (#3699) #3738's new states are covered, and every voice baseline was regenerated in the pinned image.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

agent-readyarea: ui-kitpriority: p2type: fix

Projects

No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions