Skip to content

Conversation

bergos
Copy link
Contributor

@bergos bergos commented Sep 9, 2025

This PR adds the widgets from datashapes.org. The namespace was adapted, and other minor changes were made to align it with the other SHACL specifications.

The selection of widgets and the details in the widget should be handled in a separate PR. This is an initial starting point so that other PRs can refer to widgets.

dash:applicableToClass and dash:rootClass was kept as there is no matching SHACL property. The dash namespaces should be easier to notice when we work on the details.

Closes #537

@bergos bergos requested review from edmondchuc and smessie September 9, 2025 18:47
@TallTed
Copy link
Member

TallTed commented Sep 15, 2025

Note that accessibility review will probably advise us to replace png with svg wherever possible, and to include textual descriptions of the images, both to accommodate various visual impairments and common text-to-speech tools, among others.

Copy link
Contributor

@edmondchuc edmondchuc left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good, just made some small suggestions to use the respec css class for examples.

Co-authored-by: Ieben Smessaert <smessie@users.noreply.github.com>
Co-authored-by: Ted Thibodeau Jr <tthibodeau@openlinksw.com>
Co-authored-by: Edmond Chuc <37032744+edmondchuc@users.noreply.github.com>
@HolgerKnublauch HolgerKnublauch added the UI For SHACL 1.2 UI spec label Oct 6, 2025
Copy link
Member

@TallTed TallTed left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Line breaks in the ReSpec source (aside from those that are about keeping the lines below some maximum width) that are manually inserted to help comprehension of that source are usually if not always worth propagating to the rendered .html (via <br>).

bergos and others added 2 commits October 14, 2025 20:22
Co-authored-by: Ted Thibodeau Jr <tthibodeau@openlinksw.com>
@afs
Copy link
Contributor

afs commented Oct 17, 2025

Note that accessibility review will probably advise us to replace png with svg wherever possible

Another point in favour of SVG is maintainability. SVG is a portable, editable format. PNG is not editable. The downside is the possible extra initial work for SVG.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

UI For SHACL 1.2 UI spec

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[UI] Support for DASH Widgets

6 participants