Add support for adding an rdf-type to data that is submitted in an ui:form
Dieses Issue hat noch niemand übernommen.
- Vorherrschende Sprache
- TypeScript
- Sterne
- 153
- Forks
- 46
- Ø Merge
- 1 T. 8 Std.
- Gemergte PRs (30 T.)
- 7
Beschreibung
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"
Beitragsleitfaden
Für dieses Repository ist kein Beitragsleitfaden indexiert
Erste Schritte
- Lies das ganze Issue und danach den Beitragsleitfaden des Projekts.
- Schreib ins Issue, dass du es übernimmst — das erspart doppelte Arbeit.
- Forke das Repository und arbeite in einem Branch.
- Öffne einen Pull Request, der die Issue-Nummer nennt.
Rechercherichtung
Überprüfe das verlinkte src/editDataPage/helloWorldForm.ttl-Beispiel und die bestehenden ui:form-, ui:property- und ui:Choice-Konzepte, die im Issue beschrieben sind. Lege fest, wie ein konstantes Feld den angeforderten rdf:type ohne Benutzerauswahl hinzufügen soll, wie es sich verhält, wenn der Name entfernt wird, und wie das Formular die abgeschlossenen Review-Daten darstellen soll.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Bewertung
- Tech-Stack
- typescript
- Bereich
- frontend
- Issue-Typ
- Feature
- Schwierigkeit
- 5/5
- Geschätzter Aufwand
- Über eine Woche
- Aktivitätsstatus
- Veraltet
- Klarheit
- Größtenteils klar
- Anfängerfreundlichkeit
- 25/100