Chat compositions
Two reference patterns built entirely from existing components — no new component is needed for
either. ThinkingIndicator settles into a persistent, collapsed row inside chat
history, and Gauge drops into a Card header to build an approve/deny recommendation
card.
Persistent trace in history
ChatMessageList's message snippet renders one root element per row, so
the assistant turn pairs a settled ThinkingIndicator (busy=false, expanded=false, collapseDelayMs=null) with its ChatMessage bubble — the trace stays visible, collapsed, as part of the permanent record
instead of auto-hiding a few seconds after it settles.
Recommendation card
HITL has no slot for arbitrary children, so a confidence Gauge can't sit
inside it — this composes Card's headerRight snippet for the gauge and
its footer snippet for the approve/deny actions instead.
Sell-through says 4 days of cover left. Reorder 600 units from Joy Cone today to avoid a stockout over the weekend rush.