Hacktoberfest 2026: những issue maintainer đã đánh dấu cho tháng Mười, đang mở và phù hợp người mới. Xem issue Hacktoberfest

tui3: input-trapping empty/unwired places for /drafts and /skill

Đang mở
#1,557 1 bình luận 0 reaction 1 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ó
3/5
Thời gian dự kiến
1-2 ngày
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ệ
go
Lĩnh vực
cli

Hướng nghiên cứu

Start in internal/tui3/draftpage.go around draftPanel.draw and trace the main frame render loop to confirm how the drafts view is wired. Then read internal/tui3/input.go and internal/tui3/skills.go for the empty /skill palette path. Done means /drafts renders a list or empty state, while an empty /skill shelf shows the requested notice and cancel cleanly resets the input line.

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

Mô tả

area:chat bug sev:serious
Summary

Navigating to /drafts or invoking /skill with an empty shelf traps keyboard focus without drawing visible UI, requiring Esc or manual clearing.

Items & Observed Behavior
  1. /drafts traps input with invisible UI: Opening /drafts renders nothing on screen because draftPanel.draw (internal/tui3/draftpage.go:116) is not connected to the frame renderer. All keystrokes are swallowed until the user presses Esc.
  2. /skill traps empty prompt: Typing /skill when no skills are installed leaves /skill in the prompt box without showing options or feedback, and subsequent inputs get appended into the command string.
Expected Behavior
  • /drafts must render its draft list view or display an empty state placeholder.
  • /skill with an empty shelf should show an inline informational notice (no skills installed) and cleanly reset the input line on cancel.
Root Cause / Location
  • internal/tui3/draftpage.go: Unwired draw handler in the main frame render loop.
  • internal/tui3/input.go and internal/tui3/skills.go: Empty state handling for /skill palette.

—
Drafted with CodeAF · reviewed and owned by the author

Ngôn ngữ chính
Go
Star
115
Fork
14
Merge trung bình
9 giờ 37 phút
Pull request đã merge (30 ngày)
755

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

  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 Agent-Field/CodeAF

Tất cả issue của Agent-Field/CodeAF

Issue tương tự

Thêm issue về Go

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.