Skip to content

AI active days tile don't fit explanation #1737

Description

@ktursunov

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

  1. Open the IC personal dashboard → enable Show explanations in settings.
  2. 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.

Image

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.

Metadata

Metadata

Assignees

No one assigned

    Type

    Fields

    No fields configured for Bug.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions