[BUG] Drag and drop from the VS Code Explorer does not add files or folders as context

Đang mở
#2,716 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 3 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
69/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ệ
typescript, vscode

Hướng nghiên cứu

Start by tracing how the chat input handles drag-and-drop events from the VS Code Explorer, then compare that path with the related fix in PR #2184. Reproduce the reported cases with a file and a folder, both with and without Shift. Done means each drop adds the selected item as chat context.

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

Mô tả

bug
Problem (one or two sentences)

Dragging a file or folder from the VS Code Explorer into the chat input does not add it as context. The chat input stays empty. This happens with and without the Shift key.

Context (who is affected and when)

Users who drag files from the Explorer into the chat input are affected. The Zoo Code docs tell users to hold Shift while they drag files into the chat window. v3.94.0 fixed a related bug (#2139, PR #2184), and drops worked without Shift. The bug appears again in v3.98.2 on VS Code 1.144.1, macOS Tahoe (Apple Silicon). The workspace is local.

Reproduction steps
  1. Open the Zoo Code panel in the Secondary Sidebar. Keep the Explorer visible.
  2. Drag one file from the VS Code Explorer into the chat input.
  3. Release the mouse button over the chat input. Do not hold Shift.
  4. Look at the chat input.
  5. Repeat the drag and hold Shift during the drop.
  6. Repeat both drops with a folder.
Expected result

The file or folder appears in the chat input as context.

Actual result

The chat input does not change. No file or folder is added. No message or error appears.

Variations tried (optional)

Tried with Shift and without Shift. Tried a file and a folder. Tried drops from the VS Code Explorer only. The workspace is local, not remote.

App Version

v3.98.2 (latest release, 2026-11-23)

API Provider (optional)

None

Model Used (optional)

N/A

Zoo Code Task Links (optional)

No response

Relevant logs or errors (optional)

Ngôn ngữ chính
TypeScript
Star
2k
Fork
301
Merge trung bình
3 ngày 14 giờ
Pull request đã merge (30 ngày)
103

Chuẩn bị môi trường

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 Zoo-Code-Org/Zoo-Code

Tất cả issue của Zoo-Code-Org/Zoo-Code

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.