Repository navigation
Closed
Labels
agent-readyContext and acceptance criteria are complete enough for an agent to take this unattended.area: ui-kitThe presentational design kit: components, tokens, Storybook, visual baselines.priority: p2Wanted, not scheduled. Pulled in when a milestone has room.type: featA new capability or a change in user-visible behaviour.
Milestone
Description
Context
Part of #3690. The #3699 design (signed off on #3699) draws Discard draft in the live controls row with a backspace glyph. The kit's icon map (ICONS, packages/ui-kit/src/primitives/Icon.tsx) has no backspace key, so the #3738 stories used circle-minus instead (stories/voice/_voice.tsx, the L1 + draft and L4 + draft builders).
Maintainer ruling (2026-11-09): switch Discard draft to a backspace icon.
Scope
- Add a semantic icon key
backspacemapped to lucideDelete(the backspace-key glyph). Update the pinned key and glyph counts intests/icon-map.test.ts. - Use it for Discard draft in the voice story builders (L1 + draft, L4 + draft, and any other Discard draft control).
- Regenerate the affected voice baselines in the pinned container.
Out of scope
- Any other icon or control change.
- App wiring: ui-react: wire live conversation (L1–L10) to the tall voice field #3699 uses the key once this lands.
Acceptance criteria
-
ICONS.backspace === lucide.Delete, and the icon-map counts are updated. - Discard draft in the voice stories renders the backspace glyph, with the accessible name "Discard draft" unchanged.
- The affected voice baselines are regenerated in the pinned image, and no other baseline changes.
Verification
bun test packages/ui-kit/tests/icon-map.test.ts, the voice stories in both themes, and the voice visual test.
Contract impact
None beyond a new icon key; record it in the package-api component if icon keys are listed there.
Metadata
Metadata
Assignees
Labels
agent-readyContext and acceptance criteria are complete enough for an agent to take this unattended.area: ui-kitThe presentational design kit: components, tokens, Storybook, visual baselines.priority: p2Wanted, not scheduled. Pulled in when a milestone has room.type: featA new capability or a change in user-visible behaviour.
Activity
schlessera commentedon Nov 9, 2026
Claiming (token
c3762-bksp). Branchfeat/3762-backspace-icon. Scope: the icon map,icon-map.test.ts, the voice stories and their baselines, plus the package-api note. Concurrent: #3699 (draft #3735) consumes the key after this lands.test(ui-kit): redraw #3779's enlarged held-draft baselines with the b…
CONTRACT: feat(ui-kit): a backspace icon for Discard draft in the voi…
schlessera commentedon Nov 10, 2026
Delivered in #3764, squash-merged as
e8ea534c1ce8dc82fe3d88034e871bf80975fac7(candidate proof run 42732363594).ICONS.backspace === lucide.Delete, and the icon-map counts are now 93 keys over 91 glyphs. A mutation receipt is in the PR.voice-live-{l1d,l1u,l4d}plus fix(ui-kit): the tall voice field grows to hold its body under enlarged text #3779'svoice-live-enlarged-{l1d,l4d}, at 320 and desktop widths in both themes.package-api.md, the commit carries theCONTRACT:prefix, and a minor changeset is included.#3699 is unblocked. Its stale prose "blocked by #3738" line (#3738 is closed) was reworded so project-sync could verify the declaration and remove the label.
feat(ui-react): Discard draft uses the backspace key (#3699, #3762)
CONTRACT: feat(ui-react,ui-sdk,ui-server): draw live conversation in …