Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

Support for image picker functionality?

オープン
#335 コメント 3 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

評価

難易度
5/5
見積もり時間
1週間以上
初心者へのやさしさ
25/100
issue の種類
機能追加
明瞭さ
説明が足りない
活発さ
停滞
領域
documentation

調査の方向性

proposals/specification/access-needs.bs、proposals/specification/access-authorizations.bs、proposals/primer/authorization-agent.bs の引用されたセクションから始め、その単数形および複数形の表現を Google Photos picker のユースケースと比較します。動的に選択された写真、データインスタンス、リソースの指示、およびデータ付与を対象とする仕様上の明示的な決定がプロジェクトにあれば完了です。

索引モデルが issue の本文から書いたものです。

説明

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

主要言語
Bikeshed
スター
58
フォーク
18
PR マージ指標
30日以内にマージされた PR はありません

環境構築

このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

solid/data-interoperability-panel のほかの issue

solid/data-interoperability-panel の issue をすべて見る

似ている issue

Documentation の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。