a2ui-project / a2ui-project/a2ui

Support for an file upload component (image upload, PDF upload etc)

Đang mở
#287 3 bình luận 1 reaction 0 người được giao Xem trên GitHub
component: standard catalog specification P2 type: feature/enhancement
Ngôn ngữ chính
TypeScript
Star
16.4k
Fork
1.3k
Merge trung bình
2 ngày 13 giờ
Pull request đã merge (30 ngày)
134

Mô tả

It would be handy for some use cases to have a component that represents a file upload slot. Some thoughts:
- The contract could specify how the file is sent via A2A, which already has a FilePart etc
- The client would ideally show the uploaded file name and progress in the UI
- The UI would be flexible and look different on different devices e.g. a drop zone on web, or a button to open a picker on mobile
- There should be type filtering, to allow for specifically an image picker etc. Perhaps this is a usageHint.
- On mobile, it must be possible to make this an image picker which opens the phone gallery/camera

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Đánh giá

Issue này chưa được đánh giá.

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.