documentation: Guideline text for floated figures and closable banners
Back to our planNumbering: epic #813; banner #814; lightbox #815; figure #816; Payload block #817; blue tone #818; content edit #819; guidelines #820. Where the text below says 01 to 07, read these numbers (01=#815, 02=#816, 03=#817, 04=#819, 05=#814, 06=#818, 07=#820).
Problem
In plain words: the design guideline says a picture beside text takes 35–40% of the row (docs/guidelines/ui-ux-design.md, "For two-element layouts"). It says nothing about figures that float inside an article, when a picture opens in a lightbox, how a figure label looks, or when a banner may be closed and when it must expire. Without that, the next post will be built differently.
Proposed fix
A policy change the owner asked for (2026-11-07, Claude in Chrome side panel, summarized on epic 00), so it follows the normal path. The PR records a short summary of his decisions with dates and where he gave them, and the reviewer checks the text stays within them (AGENTS.md step 3).
In docs/guidelines/ui-ux-design.md:
- Figures in articles: a tall or detailed image (a map, a diagram, a chart) sits small, floated right with text on its left from
mdup, and stacked belowmd. Its default width is the one the owner chose in 02 (2/5 or half). Record the answer, date and where. If he chose half, the two-element rule's 35–40% gets an explicit exception for floated figures. - Small view and lightbox: the small view shows the image, its short caption and the figure label. A numbered key, long caption, credit and conditions show only in the lightbox, because they can't be read small. Don't repeat in the caption what the image already says (for example "not to scale").
- Figure labels: a figure number ("Figure 2-9") is a
Badgeneutralpill, never plain text.
In docs/guidelines/components-and-content.md (or brand-voice.md where the banner copy rules live):
- Banners: a notice about a dated event (a meeting) is an
infobanner at the top of the content, closable, with ashowUntilat the event's start, so it never outlives the event. Warnings and errors that must be read aren't closable. Without scripting a banner always shows.
Acceptance criteria
- Not done: The guideline text matches what shipped in 01, 02, 03, 05 and 06, with links to the components.
- Not done: The owner's decisions (the request on 2026-11-07, and the width answer) are recorded as summaries with dates and where, never his words.
- Not done: The PR is labeled and reviewed as a policy change.
npm run agent-context -- --writeis run if the load map copies change, andAgent contextis green. - Not done:
docs/guidelines/README.md's table still points at the right references. - Not done: Behavior change: none (docs only), declared in the PR.
Files likely touched
docs/guidelines/ui-ux-design.mddocs/guidelines/components-and-content.md(orbrand-voice.md).claude/rules/generated/(regenerated only, never edited by hand)
Must not touch
- Code under
src/ docs/ui/component-set.md(each PR updated it already)
Area
ux
Priority
priority: medium
Generated by Claude Code, opens in a new tab