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: fixSomething is broken and must behave the way it is documented.
Milestone
Description
Context
Decisions/HygieneBlocker, Decisions/HygieneCard and Decisions/HygieneEnd look partly unstyled on main (57abb7b):
- HygieneCard. The story's fix options (
stories/decisions/HygieneCard.stories.tsx:22-36) are bare browser radios with 16px body text, much larger than the card's own type. The app renders the same options as bordered rows with a teal accent and a selected-edge state (packages/ui-react/src/components/activity/hygiene-review.tsx:701-740). So the story documents a component nobody ships. - HygieneBlocker. "Open configuration ›" and "Start again" (
packages/ui-kit/src/decisions/HygieneCard.tsx:267-268) areTextButtons placed directly in a column flexstack(HygieneCard.tsx:51). They stretch to the full column and centre their label, so two link-styled actions float centred under a left-aligned heading and callout. - HygieneEnd. "Show snoozed (2)" (
HygieneCard.tsx:238) stretches and centres the same way.
All three also inherit the wrong font for every TextButton (the undefined --bk-font-* references, #3752), which makes the text actions render at 16px.
Scope
- Keep
HygieneBlockerandHygieneEndtext actions at their intrinsic width and align them with the content they act on.HygieneBlockeractions sit together in one row, start-aligned.HygieneEnd's centred summary keeps its action centred and content-sized. - Make the
HygieneCardstory's fix options match what the app renders: bordered rows of at least 44px, kit type, teal accent and a selected edge. Do that by reusing the app's markup shape, or the kit'sChoiceOptioninside aradiogroup. - Regenerate any moved visual baselines.
Out of scope
- Hygiene review behaviour, copy or state semantics.
DispositionBarlayout (ui-kit: DispositionBar strands Dismiss on its own row at every phone width #3750) and theTextButtonfont (ui-kit: TextButton renders in the inherited font, and story harness controls are bare browser controls #3752).- Moving
ui-react's fix-option markup into the kit.
Acceptance criteria
- In
HygieneBlocker, both actions are content-sized (narrower than the column) and start-aligned, with 44px targets. - In
HygieneEnd, "Show snoozed" is content-sized and centred. -
HygieneCardstories render the fix options as bordered, kit-typed rows with a visible selected state. No bare radio label uses the 16px body font. - Story play functions assert the content-sized actions, and fail on
main. - Moved visual baselines are regenerated and reviewed.
Verification
Storybook Vitest project in both themes, and the hygiene-review visual baselines.
Contract impact
None.
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: fixSomething is broken and must behave the way it is documented.
Activity
schlessera commentedon Nov 8, 2026
Claimed (claim-180872) together with #3750, #3751 and #3752, on branch
fix/3752-storybook-component-styles. One PR, because all three move the samehygiene-reviewvisual baselines. No open PR references these issues.fix(ui-kit): TextButton draws its own type, DispositionBar pairs Late…
schlessera commentedon Nov 9, 2026
Delivered in #3756 (squash
b16352f). The squash treebfd314dequals the candidate checkout tree from confirmation run 42553679791. Failing-first and mutation receipts and the regenerated baselines are listed in the PR.