Conversation
|
Leaving in draft until all widget scores have been added. |
…electEditorScore0`
22c98b1 to
545b627
Compare
…er text area when no `sh:singleLine` property
…pped in a `sh:property`
…tion between no and `false` value
|
I’m marking this PR as ready for review. |
|
Not sure if this is the right place to bring this up but DetailsViewer references a "Nested forms" section that doesn't exist and for which I cannot find an open issue. The dash draft did have a section on nesting and marks that:
I find the current descriptions and scoring functions for components related to nested shapes (BlankNodeEditor/Viewer and DetailsEditor/Viewer) a bit too indecisive and have the following questions:
|
Thank you for your feedback. I have updated the DetailsEditor and DetailsViewer sections in 53a33ee to incorporate an extra clarification on nested forms directly and removed the link to the non-existing nested forms section.
I assume you mean having a If there’s no data in the data graph and no constraint on the property shape, the renderer and scoring system can’t determine what to render, resulting in no matching widget scores.
Because |
Incorrect. The scoring system that I mentioned will define that, if there is no data in the data graph for the property shape, it will ignore the shui:dataGraphShape, and in that case, it will only consider widget scores that do have at least one value for the shui:shapesGraphShape. |
|
I don't understand, what does it mean to "only consider widget scores that have at least one value for the shui:shapesGraphShape" ? You don't agree that the current scoring definition for DetailsEditor leaves no room for assigning a score to the widget in the absence of a dataGraph? Perhaps I'm misunderstanding the notion of "value" in the scoring definitions, I see it as field values or a dataGraph that is the result of submitting a SHACL-based form. That which is validated against the shape and can be used to pre-populate the form. |
Co-authored-by: Ted Thibodeau Jr <tthibodeau@openlinksw.com>
edmondchuc
left a comment
There was a problem hiding this comment.
All looks good to me. I can't approve the PR since I opened it, but here's a green tick anyway. ✅
bergos
left a comment
There was a problem hiding this comment.
I think all the shui:prefers* and related widget scores aren't required. Also, we should consider merging the scores into a single file.
Both changes can be done in a separate PR.

This PR adds the widget scores and shapes for SHACL UI.
Some notes:
nullvalue originally defined in DASH forms is now00case, I've crossed it out in the doc for now with the<s>tag. We'll keep these rules around for reference until we've implemented the widget scores confirmed they're not needed