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

Closing the only Sessions match hides the nothing-matches message

Đang mở
#1,473 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ó
3/5
Thời gian dự kiến
1-2 ngày
Mức phù hợp với người mới
75/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, documentation, testing

Hướng nghiên cứu

Run make demo-home and reproduce the single-result filter case in Sessions. Inspect internal/tui3/place_sessions.go:1573 and the close-note assignment in internal/tui3/taskrowverbs.go:97, then find the filtered-place note test and add the one-result and multi-result cases. Done means the acknowledgement and no-match state are both visible, with the Sessions manual and invalidates updated if wording changes.

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:papercut

Seen on dev@debffabf6. Surfaced while verifying #1425; introduced by it.

What happened

Closing the only task matched by a Sessions filter removes the row, but the place's action notice takes the line where nothing matches would appear. The body is blank, leaving no immediate account that the filter has no visible result.

Replication

Deterministic (no model). Run make demo-home, open Sessions, type a filter matching exactly one task, then close it. The list becomes blank and the note says task closed · find it by typing its name in tasks; nothing matches is absent. Clear the action notice and the expected no-match line returns.

Where

internal/tui3/place_sessions.go:1573 at dev@debffabf6, tasksPlace.note, returns actionNote before checking the empty filtered reading. The close action sets the note in internal/tui3/taskrowverbs.go:97.

The fix

Keep the close acknowledgement without suppressing the filter's no-match state, by giving them separate lines or combining them into one clear sentence.

Acceptance

  • e2e: closing the sole Sessions result shows both that the task closed and that the current filter matches nothing.
  • Unit: the filtered-place note test covers one-result closure and a multi-result control.
  • Update the Sessions manual if the wording changes and record the former blank state in invalidates.
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.