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

Đang mở
#36,134 0 bình luận 0 reaction 0 người được giao Xem trên GitHub

Maintainer thường phản hồi trong vòng 1 ngày

@craigcossairt đang làm issue này rồi.

Từ ngày 13/11/2026.

  • #36137 của @craigcossairt — đang mở

Đánh giá

Độ khó
2/5
Thời gian dự kiến
1-3 giờ
Mức phù hợp với người mới
25/100
Loại issue
Lỗi
Độ rõ ràng
Đặc tả rõ ràng
Mức độ hoạt động
Đình trệ
Công nghệ
typescript
Lĩnh vực
frontend

Hướng nghiên cứu

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.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

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.

Ngôn ngữ chính
TypeScript
Star
24.8k
Fork
6.4k
Merge trung bình
59 phút
Pull request đã merge (30 ngày)
418

Chuẩn bị môi trường

Mở trong Codespaces

Khởi chạy dev container của dự án ngay trên trình duyệt, bằng tài khoản GitHub của bạn.

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của pingdotgg/t3code

Tất cả issue của pingdotgg/t3code

Issue tương tự

Thêm issue về TypeScript

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.