Add support for adding an rdf-type to data that is submitted in an ui:form
まだ誰も着手していません。
- 主要言語
- TypeScript
- スター
- 153
- フォーク
- 46
- 平均マージ
- 1日 8時間
- マージ済み PR(30日)
- 7
説明
Use case
I would like to present my users a "review" form to produce data like:
<#Example1> a <https://schema.org/Review>;
<https://schema.org/abstract> "The service was fantastic".
In the form they just should be able to fill in the abstract and not be asked to select from a Choice of rdf-types they want to create.
Missing
In the current UI forms I only am permitted to set ui:property-s , which can't be used to set an rdf-type.
@timea-solid suggested to use a ui:Choice, but that adds an extra menu item in the display which the user is forced to set to a particular value, and creates the possibility to add many resources of that type.
Suggestion
A suggestion by @timbl : "add a new type of field which is a constant field, along with the name field say “also add ?x a ExampleObject whenever you set this name”.. have to make sure it gets removed if the name goes too"
コントリビューションガイド
このリポジトリのコントリビューションガイドは索引されていません
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
調査の方向性
リンクされた src/editDataPage/helloWorldForm.ttl の例と、issue で説明されている既存の ui:form、ui:property、ui:Choice の概念を確認してください。定数フィールドがユーザーによる選択なしで要求された rdf:type を追加する方法、名前が削除された場合の動作、およびフォームがレビュー完了後のデータをどのように表現するべきかを定義してください。
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- typescript
- 領域
- frontend
- issue の種類
- 機能追加
- 難易度
- 5/5
- 見積もり時間
- 1週間以上
- 活発さ
- 停滞
- 明瞭さ
- おおむね明確
- 初心者へのやさしさ
- 25/100