SolidOS / SolidOS/solid-ui

Add support for adding an rdf-type to data that is submitted in an ui:form

Aperta
#509 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

enhancement Form Language
Lingua principale
TypeScript
Stelle
153
Fork
46
Merge medio
1g 8h
PR unite (30g)
7

Descrizione

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"

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Direzione di ricerca

Esamina l'esempio collegato src/editDataPage/helloWorldForm.ttl e i concetti esistenti ui:form, ui:property e ui:Choice descritti nell'issue. Definisci come un campo costante debba aggiungere il rdf:type richiesto senza una scelta dell'utente, come si comporti quando il nome viene rimosso e come il form debba rappresentare i dati di revisione completati.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Valutazione

Stack tecnologico
typescript
Ambito
frontend
Tipo di issue
Funzionalità
Difficoltà
5/5
Tempo stimato
Più di una settimana
Stato di attività
Ferma
Chiarezza
Abbastanza chiara
Idoneità per principianti
25/100

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.