Problem
On the AI adoption KPI tiles (IC personal dashboard, "Show explanations" enabled), the metric's explanation line overflows the card and gets clipped mid-word instead of wrapping — e.g. the "AI active days" tile shows "Days with any AI activity across dev and ass…" cut off before the card's right edge. Cosmetic only (the value and median below still render correctly); happens on any AI KPI tile whose description is longer than a few words.
Reproduce
- Open the IC personal dashboard → enable Show explanations in settings.
- Look at the "AI active days" KPI tile (or any
ai.* KPI tile).
Expected: the explanation text wraps to a second line (or is otherwise fully visible).
Actual: the text is clipped to one line and cut off mid-word.
Root cause
kpi-tile.tsx#L57 renders the metric description with Tailwind's truncate (single-line, no wrap) instead of the line-clamp-2 treatment MetricSublabel uses elsewhere — fine for short tags, but AI metric descriptions (e.g. builtin.rs#L174) are full sentences that don't fit one line.
Problem
On the AI adoption KPI tiles (IC personal dashboard, "Show explanations" enabled), the metric's explanation line overflows the card and gets clipped mid-word instead of wrapping — e.g. the "AI active days" tile shows "Days with any AI activity across dev and ass…" cut off before the card's right edge. Cosmetic only (the value and median below still render correctly); happens on any AI KPI tile whose description is longer than a few words.
Reproduce
ai.*KPI tile).Expected: the explanation text wraps to a second line (or is otherwise fully visible).
Actual: the text is clipped to one line and cut off mid-word.
Root cause
kpi-tile.tsx#L57renders the metric description with Tailwind'struncate(single-line, no wrap) instead of theline-clamp-2treatmentMetricSublabeluses elsewhere — fine for short tags, but AI metric descriptions (e.g.builtin.rs#L174) are full sentences that don't fit one line.