[Bug]: Usage Limits cuts off every account name when a provider has five accounts, even in a wide window

未关闭
#36,134 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

维护者通常 1 天内回复

@craigcossairt 已经在做这个了。

开始于 2026年11月13日。

  • #36137 来自 @craigcossairt —— 未关闭

评估

难度
2/5
预计耗时
1-3 小时
新手友好度
25/100
Issue 类型
缺陷
描述清晰度
描述清楚
活跃度
停滞
技术栈
typescript
领域
frontend

调研方向

Start in UsageLimitsPooled.tsx, where the bar switches to labeled segments on the @2xl/pool container query, and in the Limits list container capped at max-w-5xl. Pull request #36137 is already open against this, so check it before starting. Done means five accounts keep readable names in a wide window, and bars with three or fewer accounts look as they do now.

由索引模型根据 Issue 内容生成。

描述

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. Add five accounts for one provider. I have five Claude instances, named in Settings → Providers.
  2. Open Usage → Limits in a wide window. Mine is 2560×1032 on an ultrawide monitor.
  3. Read the account names in the Claude bars.
Expected behavior

I can tell the accounts apart by reading the bar. If the names do not fit, the numbered rows that narrow screens get would do.

Actual behavior

Every name is cut off ("Pe…", "Devel…", "Develo…"), so the five segments look the same. I have to hover each one to see which account it is. The window has more than 600px of unused width on each side of the modal, and the modal has unused width on each side of the list.

Two things cause it:

  • UsageLimitsPooled.tsx switches the bar to its labeled layout with @2xl/pool, which looks only at the bar's width (42rem) and not at how many accounts share it. Five accounts get about 9rem each.
  • The Limits list is held to max-w-5xl inside the 80rem modal, so the bar never gets wider than about 46rem, however wide the window is.

Bars with three or fewer accounts are fine.

Impact

Minor bug or occasional failure

Version or commit

0.1.10-nightly.20261113.4616. Also on main @ 7903b487.

Environment

Windows 11, T3 Code desktop. One ultrawide monitor in portrait and one in landscape.

Screenshots, recordings, or supporting files

This is a render of the Limits view on made-up accounts named "Personal" and "Developer 1" to "Developer 4", not my own. My real Limits page shows account emails.

2560×1030 window, five Claude accounts:

Limits in a 2560x1030 window with five Claude accounts, every account name cut off

Workaround

Hover each segment to read its popover. Giving each instance its own accent color helps a little, but the names stay cut off.

Related: #32525 is about a single account losing its label at wide sizes, which is a different case.

主要语言
TypeScript
星标
24.8k
派生
6.4k
平均合并
59 分钟
30 天内合并 PR
418

环境准备

在 Codespaces 中打开

在浏览器里用你自己的 GitHub 账号启动这个项目的开发容器。

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

pingdotgg/t3code 的其他 Issue

查看 pingdotgg/t3code 的全部 Issue

相似的 Issue

更多 TypeScript Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。