TraceSift drop zone rejects files in browser panels without File.path

Đang mở
#110 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
Nửa ngày
Mức phù hợp với người mới
45/100
Loại issue
Lỗi
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Sôi nổi
Lĩnh vực
frontend

Hướng nghiên cứu

The payload names no source files. Start by finding the TraceSift drop handler in the browser panel code, the part that requires File.path and shows the 'Cannot be read from a drop here' message. Reproduce by passing a standard File object with a Chrome Performance JSON to that handler. Done means either the dropped file is analyzed locally, or the native file-picker requirement is shown before a drop is attempted, with existing size limits kept.

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

Mô tả

bug

What happened

The presenter dragged a profile from Finder into the TraceSift upload pane in the T3 Code browser panel. The pane showed Cannot be read from a drop here. Click to choose it from disk. The drop handler requires a host-specific File.path and rejects the file before it checks the profile format. The same condition affects supported JSON files in browser hosts that expose only standard File objects.

Expected behavior

Test dropping a supported Chrome Performance JSON in T3 Code. Where the panel can import a dropped file, accept it and analyze it locally. Where only a native file picker is supported, make that interaction clear before the user attempts a drop. Keep the existing local processing and profile size limits.

Ngôn ngữ chính
C++
Star
243
Fork
21
Merge trung bình
15 giờ 6 phút
Pull request đã merge (30 ngày)
57

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 callstackincubator/codex-mobile-dev-plugin

Tất cả issue của callstackincubator/codex-mobile-dev-plugin

Issue tương tự

Thêm issue về C++

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.