tui3: task proposal countdown swallows keypress and starts declined task on enter
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ó
- 3/5
- Thời gian dự kiến
- 1-2 ngày
- Mức phù hợp với người mới
- 74/100
Hướng nghiên cứu
Start in internal/tui3 and trace the countdown card's raw key event handling into its action dispatcher. Reproduce the proposal in interactive chat, press 2 during the countdown, and verify that it selects and executes the decline choice immediately rather than only pausing the timer; confirm Enter does not start the task afterward.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
Summary
During the task proposal countdown card, pressing any key pauses the timer but drops the keypress event, leaving selection focus on option 1 ("start it") and causing a subsequent Enter to run the task.
Observed Behavior
When the countdown card appears, typing 2 (decline) freezes the clock but fails to select the decline option. The cursor remains on 1 start it. Hitting Enter immediately starts the paid task worker.
Expected Behavior
Pressing option keys (1, 2, or designated shortcut keys) during the countdown should register the keypress and immediately execute the corresponding choice.
Reproduction Steps
- Trigger a task proposal in interactive chat to bring up the countdown card.
- While the countdown ticks, press
2to decline. - Observe that countdown freezes, but selection does not move to
2 decline. - Press
Enter. The task starts executing.
Root Cause / Location
TUI key event handling in internal/tui3 consumes the raw event to halt the countdown timer ticker instead of propagating the key to the card's action dispatcher.
—
Drafted with CodeAF · reviewed and owned by the author
- Ngôn ngữ chính
- Go
- Star
- 115
- Fork
- 14
- Merge trung bình
- 12 giờ 30 phút
- Pull request đã merge (30 ngày)
- 323
Chuẩn bị môi trường
Chúng tôi chưa kiểm tra các tệp thiết lập môi trường của dự án này. Hãy bắt đầu từ README và xem hướng dẫn đóng góp lần đầu của chúng tôi để biết các bước chung.
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 Agent-Field/CodeAF
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
Agent-Field/CodeAF#1805 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
area:session bug sev:papercut
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 82/100
Agent-Field/CodeAF#1779 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
tasks: a stopped task's commit is signed with the chat model, not the model that did the workĐang mởarea:session bug sev:papercut
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
Agent-Field/CodeAF#1768 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
area:chat bug sev:papercut
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
Agent-Field/CodeAF#1742 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
area:build bug sev:papercut
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 88/100
Agent-Field/CodeAF#1679 ·
Maintainer thường phản hồi trong vòng 1 ngày
Tất cả issue của Agent-Field/CodeAF
Issue tương tự
-
Action Required: Fix Renovate ConfigurationCó thể đã có người làm @thompson-tomo đã nhận hôm nay. Đang mở
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 78/100
open-telemetry/opentelemetry-collector#16170 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
automation awf compiler specifications
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
Maintainer thường phản hồi trong vòng 1 ngày
-
state:triage-needed
Độ 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
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 80/100
puppe1990/amarra-cais#342 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
replay: a run cancelled during environment setup is logged as an ERROR (Instrument drops the cancellation)Có thể đã có người làm Có pull request liên kết đang mở hoặc đã được merge. Đang mở
Độ khó 2/5 1-3 giờ 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