[Bug]: Using a reset credit from the pooled usage bar shows no progress while it runs
Maintainer thường phản hồi trong vòng 1 ngày
Chưa có ai nhận issue này.
Đá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
- 72/100
- Loại issue
- Lỗi
- Độ rõ ràng
- Đặc tả rõ ràng
- Mức độ hoạt động
- Sôi nổi
- Công nghệ
- react, typescript
- Lĩnh vực
- frontend
Hướng nghiên cứu
Bắt đầu từ UsageLimitsPooled.tsx tại RedeemableSegmentPopup, nơi onRedeem gọi closePopover() trước khi hộp thoại xác nhận mở ra, sau đó chuyển sang UsageLimits.tsx tại useResetCredit().redeem, nơi hộp thoại đóng lại trước khi consumeResetCredit được await. Span trạng thái nằm ngoài popover chỉ render redeem.status. Công việc được coi là hoàn thành khi một dòng đang chờ như "Using reset credit…" hiển thị ở vị trí đó trong lúc redeem.busy là true, và dòng này biến mất khi kết quả về.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
[!NOTE]
Drafted by Claude Opus 5.5 in Claude Code (via T3 Code); reviewed and posted by @jieyuexing.
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
- Have a Codex account with a reset credit available.
- Open Usage → Limits and click the redeemable segment of the pooled bar.
- Click the reset action in the popover, then confirm in the dialog.
Expected behavior
Something on screen shows the reset is in progress until the result appears, like the spinning refresh button on the same page.
Actual behavior
Nothing changes for several seconds. Then the result text appears.
RedeemableSegmentPopup closes the popover before opening the confirm dialog (UsageLimitsPooled.tsx, onRedeem → closePopover()), and useResetCredit().redeem closes the dialog before awaiting consumeResetCredit (UsageLimits.tsx). The only pending state, the disabled "Using…" button, lives inside the popover that is already closed. The status span outside the popover renders only redeem.status, which is set after the request settles, so busy is never visible on this path.
The wait itself is expected: for Codex the server spawns an app-server to consume the credit, then runs a full snapshot.refresh (another app-server, account/skills/models/rate limits) before replying. That makes the missing feedback noticeable.
Impact
Minor bug or occasional failure
Version or commit
v0.0.46-nightly.20261008.2833 (same code on main as of 2026-10-09)
Environment
macOS desktop app, Codex provider
Workaround
None. Wait for the result text.
Possible fix
Render a pending line in the same status slot outside the popover while redeem.busy is true (for example the account name plus "Using reset credit…"), so the pooled path shows the same feedback the per-account card already has.
- Ngôn ngữ chính
- TypeScript
- Star
- 24.8k
- Fork
- 6.4k
- Merge trung bình
- 8 giờ 58 phút
- Pull request đã merge (30 ngày)
- 278
Chuẩn bị môi trường
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.
- Không có Dockerfile hay tệp Docker Compose
- Có mẫu pull request
- Đọc hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- 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.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của pingdotgg/t3code
-
[Bug]: Server git tests sign fixture commits with the developer's key when run from the repo rootĐang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 Nửa ngày Mức phù hợp với người mới 72/100
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 70/100
pingdotgg/t3code#17402 · 1 reaction ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 65/100
Maintainer thường phản hồi trong vòng 1 ngày
-
[Bug]: Side-by-side diff squeezes the "N unmodified lines" divider into the line-number columnCó thể đã có người làm Có pull request liên kết đang mở hoặc đã được merge. Đang mởbug via-triage
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 62/100
pingdotgg/t3code#17157 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
Tất cả issue của pingdotgg/t3code
Issue tương tự
-
community first-timers-only good first issue hacktoberfest help wanted low hanging fruit up-for-grabs
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 75/100
lingdojo/kana-dojo#32018 · 1 bình luận · 5 reaction ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
paperclipai/paperclip#15751 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
BuilderIO/agent-native#7275 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 74/100
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 65/100
Maintainer thường phản hồi trong vòng 1 ngày