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

Support for image picker functionality?

Đang mở
#335 3 bình luận 0 reaction 0 người được giao Xem trên GitHub

Chưa có ai nhận issue này.

Đánh giá

Độ khó
5/5
Thời gian dự kiến
Hơn một tuần
Mức phù hợp với người mới
25/100
Loại issue
Tính năng
Độ rõ ràng
Cần làm rõ
Mức độ hoạt động
Đình trệ
Lĩnh vực
documentation

Hướng nghiên cứu

Bắt đầu với các phần được trích dẫn trong proposals/specification/access-needs.bs, proposals/specification/access-authorizations.bs và proposals/primer/authorization-agent.bs, sau đó so sánh cách diễn đạt ở dạng số ít và số nhiều của chúng với use case của trình chọn Google Photos. Được xem là hoàn tất khi dự án có một quyết định đặc tả rõ ràng bao quát các ảnh được chọn động, các thực thể dữ liệu, chỉ báo tài nguyên và các cấp quyền dữ liệu.

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

Mô tả

I just found out that Google Photos has disabled access to photo library APIs and replaced it with a photo picker API, with user privacy as an explicit motivation.

https://developers.googleblog.com/en/google-photos-picker-api-launch-and-library-api-updates/

The idea is effectively that a user should use an authorization agent to explicitly share individual photos/media items with the app rather than granting access to all photos. This seems broadly consistent with SAI's ethos, but its not clear to me how SAI should implement this.

In an app's access needs, is there a way for a shape tree to ask for access to the items selected dynamically by the user with a photo picker? There's currently a comment that access needs for specific data instances requires advance knowledge of the data instances, which this use case is explicitly trying to avoid.

https://github.com/solid/data-interoperability-panel/blob/dd62af0c405415bc34e84b66aa923e0d3b1fd326/proposals/specification/access-needs.bs#L157-L160

In a data authorization, either a single (whole) data registration or data instance would be specified. Presumably the picker use case would therefore require the server to create a new data instance with just the selected photos? The same would apply to a data grant.
https://github.com/solid/data-interoperability-panel/blob/dd62af0c405415bc34e84b66aa923e0d3b1fd326/proposals/specification/access-authorizations.bs#L184-L194

Based on this first reading, photo picker functionality would require either the authorization agent or the server to actively create data instances in response to requests, not just grant access to existing data instances. Or alternatively, resource indication would need to allow selection of multiple data instances.

The authorization agent primer seems to indicate that the former is not intended, and the latter might be possible (plural is used), but the spec doesn't seem to indicate that multiple data instances can be individually selected and indicated (singular seems to always be used)? Would separate data grants be made for each photo?
https://github.com/solid/data-interoperability-panel/blob/dd62af0c405415bc34e84b66aa923e0d3b1fd326/proposals/primer/authorization-agent.bs#L110-L111

Ngôn ngữ chính
Bikeshed
Star
58
Fork
18
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

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

Dự án này không cung cấp dev container, Dockerfile hay hướng dẫn đóng góp, nên bạn cần tự thiết lập môi trường: 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 solid/data-interoperability-panel

Tất cả issue của solid/data-interoperability-panel

Issue tương tự

Thêm issue về Documentation

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.