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

Dropping a folder shows Add but does not attach it

Đang mở
#1,380 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
68/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
frontend

Hướng nghiên cứu

Start at the folder drop target and trace the handler used after the UI enters the Add state, then compare it with the working slash-folder flow. Add regression coverage for both paths and verify that supported drops produce the same attached-folder state while unsupported items do not show Add.

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

What happens

Dragging a folder into chat reaches the visual Add state, but dropping it does not add the folder to the conversation. The interface therefore confirms a valid drop target without carrying out the action.

Expected

Dropping a folder should add it using the same setup and attachment path as adding that folder through the slash-folder flow, which works.

Reproduction

  1. Open a chat.
  2. Drag a folder over the folder drop target.
  3. Observe that the UI shows Add.
  4. Drop the folder.
  5. Observe that the folder is not added.
  6. Add the same folder through the slash-folder flow; it is added successfully.

Acceptance

  • A folder dropped while the UI shows Add is attached to the conversation.
  • The resulting folder setup is the same as the working slash-folder path.
  • Dragging an unsupported item does not show the Add state.
  • The drag-and-drop and slash-folder paths have regression coverage proving they produce the same attached-folder state.

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ờ 44 phút
Pull request đã merge (30 ngày)
766

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.