Skip to content
Source
Sign inSign up
pingdotgg/t3code

[Bug]: Limits bar labels pooled accounts by number, so accounts cannot be told apart #11880

Openvitalyiegorov(GitHub profile, opens in a new tab) opened this issue 1 comment

Before submitting

  • I searched existing issues and did not find a duplicate.
  • I included enough detail to reproduce or investigate the problem.

Area

apps/web

Steps to reproduce

  1. Have two or more accounts or instances of one provider (for example four Claude accounts, or Codex instances across environments).
  2. Open Usage → Limits.
  3. Look at a pooled window (for example Claude → Session) at a width where the legend is shown.

Expected behavior

Each account is identifiable without opening its popover. The bar and its legend row show the account's own mark — the provider glyph with its accent initials badge, or the two-letter chip — the same mark the Limits popover, the model picker and thread rows already draw.

Actual behavior

The bar and every legend row label accounts only by position: 1, 2, 3, 4. A user with four Claude accounts cannot tell which segment is which account without hovering each one, and at narrow widths the number is the only thing the segment shows. The identity mark already exists in the code (AccountAvatar / ProviderInstanceIcon) and is already drawn in the segment popover; the bar just does not use it.

Impact

Cosmetic issue

Version or commit

main @ 50ff4c371e (0.0.40)

Environment

macOS desktop app (web renderer), dark theme. Also reproducible in the browser client.

Logs or stack traces

No response

Screenshots, recordings, or supporting files

Before — position numbers are all the bar exposes for identity:

before, narrow

After — the account's own mark (provider glyph + accent initials badge):

after, narrow

Same, wide layout:

BeforeAfter
before, wideafter, wide

Captured against a synthetic four-account pool; the numbers are the only account identity the bar currently renders.

Workaround

Open each segment's popover to read the account. There is no in-app way to label the bar.

  • #11562 — initials badge obscures the provider logo in the Usage Limits popover. Related but different: that is the badge sitting over the glyph in the popover; this is the bar using no identity mark at all. A fix here should keep the badge legible, since it is the same ProviderInstanceIcon.
  • #11641 — badge initials invisible on light accent colors. Same component, orthogonal.
  • #11515 — Usage misreports limits with multi-account routing. Data, not presentation.

Not a duplicate: no existing issue or PR changes the pooled bar's account labels.

Suggested fix

Reuse the existing mark instead of the number: web's AccountAvatar in apps/web/src/components/usage/UsageLimitsPooled.tsx, mobile's ProviderInstanceIcon in apps/mobile/src/features/usage/UsageLimitsPooled.tsx. Small, no new component. A PR follows.

  1. Thanks — this checks out on current main.

    A pooled Limits window labels accounts by position, not by the mark the rest of the app already uses:

    • Web apps/web/src/components/usage/UsageLimitsPooled.tsx: AccountAvatar (ProviderInstanceIcon + accent initials, or the two-letter email chip) is drawn only in SegmentPopover. Below the @2xl/pool breakpoint the strip shows {index} and the legend swatch is the same number. Wide segments show AccountName text but still no avatar.
    • Mobile apps/mobile/src/features/usage/UsageLimitsPooled.tsx: both the strip and the legend row render index + 1. ProviderInstanceIcon is not used.

    With several Claude/Codex instances the numbers do not map to an account without opening each popover. The legend’s AccountName does not help when display names collide. Workaround today is hover/tap each segment.

    Orthogonal, keep open:

    • #11562 — badge covering the logo in the popover
    • #11641 / #11643 — initials invisible on light accents
    • #11515 / #11625 — limit data under multi-account routing, not this label

    Numbered segments came in with the original pool UI (#10300 / #10334).

    Suggested fix: reuse the existing mark — web AccountAvatar, mobile ProviderInstanceIcon — on the narrow strip, the legend row, and before the wide-layout name. No new component.

    #11881 already does that (Closes #11880). Review that PR rather than starting a second fix.

    Cosmetic UX bug; accepted as a small UI change.

  2. juliusmarminge added labelsbug

  3. juliusmarminge added labelsaccepted

  4. juliusmarminge added labelsvia-triage

  5. github-actions[bot](GitHub profile, opens in a new tab) added labelsvouch:trusted

Sign in to join this conversation.