[Bug]: Background work Details can repeat the waiting line without adding information

Đang mở Phù hợp với người mới
#45,247 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

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
70/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ừ phần triển khai apps/web của backgroundWorkNowItem và BackgroundWorkDetails, sau đó kiểm tra hành vi hộp thoại được thêm trong #33647 và trạng thái Waiting từ #38763. So sánh trường hợp chỉ có mô tả và trạng thái với các trường hợp có siêu dữ liệu về lệnh hoặc tác tử phụ; hoàn tất khi Details cung cấp nội dung hữu ích hoặc tránh mở hộp thoại dư thừa, đồng thời vẫn cho phép truy cập mô tả đã bị cắt ngắn.

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. Have an agent wait on a single background task whose available metadata contains only its description and status, with no command or linked subagent thread.
  2. In the waiting line below the conversation, select Details.
Expected behavior

The Details action should provide useful additional information or an action. If none is available, the UI could avoid opening a redundant dialog while keeping any truncated description accessible.

Actual behavior

The Background work dialog can show only the same task description and “Waiting” status already shown in the line. It adds no information or action in this case.

The user observed this while an agent was waiting. Source inspection supports the empty-detail case: backgroundWorkNowItem always renders BackgroundWorkDetails, while the dialog's command, output, and open-subagent controls are conditional on available metadata. The precise task/provider that produced the observation has not been independently reproduced.

Impact

Cosmetic issue

Version or commit

Observed application version unknown. Source inspected at 94d26165e4 (main checkout). The dialog was added in #33647; the matching Waiting status was added in #38763.

Environment

T3 Code desktop; provider and exact application version unknown.

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)
613

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.