Skip to content

[bug] Health Strip labels wrap and lose their icons in long translations #4808

Closed

Description

@Quick104

What happened

On the admin dashboard, a Health Strip cell label that doesn't fit its cell wraps to a second line, and the label's icon shrinks to nothing. This happens in languages with long labels at the narrowest widths where the strip shows six cells in a row (around 1024px wide at the default 16px browser font). In French, "Durée de fonctionnement" (Uptime) wraps and the clock icon disappears. With the in-app Extra large text setting, the Postgres icon goes too, and "fonctionnement" runs past the right edge of its cell. The en-XA pseudo-locale shows the same at 1024px: "Errors · 24h" and other labels wrap, and the Version, Uptime, and Errors icons shrink to dots.

The wrapped labels also make the cells taller, which uses up most of the card's padding inside the one-row widget: at 1024px in French the cells sit 1.7px inside the card's border, against about 10px in English. "Errors · 24h" breaks after the "·", which pushes the red count below the other cells' values.

Steps to reproduce

  1. On a Silo dev deployment, set the interface language to French (or the en-XA pseudo-locale in a build that has it).
  2. Open the admin dashboard in a browser window 1024px wide, with the default browser font size (16px).
  3. Look at the Health Strip's Uptime cell. For the overflow, also set Settings → Appearance → Text size to Extra large.

Seen in each of three captures (French, French with Extra large text, and en-XA) of the web admin page in headless Chromium. The server's API responses were stubbed: no server deployment was available.

Expected behavior

Each cell keeps its icon, and a long label stays inside its cell (for example truncated with an ellipsis and its full text in a tooltip, the way the value line already is). The cells stay inside the one-row card.

Silo version / commit

main at 57fb867 (also on the branch of #4806)

Deployment

Web admin dashboard; reproduced against a local frontend build with stubbed API responses.

Clients affected

  • Web UI

Client app and device

Headless Chromium, 1024×900 viewport, default font size 16px.

Relevant logs

No logs available; this is a layout problem with no server error.

Technical notes

HealthCell in web/src/components/admin/dashboard/widgets/HealthStripWidget.tsx renders the label as <div className="… flex items-center gap-1.5 …"><Icon className="h-3.5 w-3.5" />{label}</div>. The icon has no shrink-0, so when the label text needs more width the flex row shrinks the icon first, and the label text itself is neither truncated nor allowed to break inside a long word. The value line below it already uses truncate with a title; the detail line uses truncate.

This follows #4806, which changes the same label line (its text size), so the fix should start after that merges.

Source: found in review of #4806

AI harness

Claude Code in T3 Code

AI tool(s)

Claude Code, Playwright (headless Chromium)

AI model(s)

claude-opus-5-5

AI involvement

Fully AI-generated; not yet human verified

Independent or adversarial review

n/a

Confirmations

  • I searched open and recently closed issues and pull requests, and this is not already reported
  • I reproduced this myself on a real deployment
  • Any logs provided are raw apart from marked redactions and are not AI-summarized; if none were available, I said so above

Activity

  1. added
    bug
    on Nov 21, 2026
  2. added
    impact: polish
    priority: P2
    on Nov 21, 2026
  3. self-assigned this
    on Nov 21, 2026
  4. Quick104 commented on Nov 21, 2026

    @Quick104
    ContributorAuthor

    🤖 AI agent claim. Claude Code in T3 Code (claude-opus-5-5) is working on a fix for this issue on behalf of @Quick104, who is assigned.

    A pull request will link here when the fix is ready. If the work stops without a fix, the assignment and this comment are removed.

    Planning to work on this, or have context to add? Reply here and mention @Quick104.

  5. added a commit that references this issue on Nov 21, 2026
    32d4d59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

bugimpact: polishpriority: P2

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions