uiorder #23

Merged
mih merged 1 commit from uiorder into main 2025-08-19 08:44:11 +00:00
Owner

See https://github.com/psychoinformatics-de/shacl-vue/pull/97 and https://github.com/psychoinformatics-de/shacl-vue/pull/98:

  • closes #12
  • closes #13
  • closes #15
  • closes #20
  • closes #22
  • addresses "off-by-one" issue of #21
  • addresses "process loading" aspect of #14

Introduce fixes and features for improved UI

  • Adds new FloatEditor with basic regex check
  • Fix off-by-one error of datetimepicker (TODO: allow only year, or year-month, to be selected)
  • Text filtering based on item prefLabel (same as title if prefLabel is present)
  • Ordering alphabetically (forward or reverse) based on item prefLabel
  • Show loading indicator when items are fetched from service; this required the fetchFromService function to be updated to also return a value when the fetch process is skipped. Loading is switched off if the new 'skipped' value is returned, or if the graphdata is updated (a proxy for the fetch process ending)

Introduce semi-definitive rules for class and property ordering and display in NodeShapeViewer:

  • Group all properties by their originating class, and display these class groups in reverse hierarchical order
  • Show the top-level class group by default
  • Show all properties of the top-level group by default, ordered by the sh:order annotation of the property (relative to other properties in the group)
  • Hide all other class groups and their properties by default, unless:
    • the property is required
    • the property is recommended (in LinkML, the slot has an annotation: dlco:recommended: true,
      with the prefix dlco: https://concepts.datalad.org/)
  • For all non-top-level class groups, also order their displayed properties by the sh:order annotation of the property (relative to other properties in the group)

Notes:

  • sh:group and sh:PropertyGroup annotations do not play any role in the above process
  • it is important to re-annotate properties from inherited classes for when these properties' annotations are not relevant anymore in their new context.
See https://github.com/psychoinformatics-de/shacl-vue/pull/97 and https://github.com/psychoinformatics-de/shacl-vue/pull/98: - closes https://hub.psychoinformatics.de/inm7/annotate.inm7.de-simplesubmit/issues/12 - closes https://hub.psychoinformatics.de/inm7/annotate.inm7.de-simplesubmit/issues/13 - closes https://hub.psychoinformatics.de/inm7/annotate.inm7.de-simplesubmit/issues/15 - closes https://hub.psychoinformatics.de/inm7/annotate.inm7.de-simplesubmit/issues/20 - closes https://hub.psychoinformatics.de/inm7/annotate.inm7.de-simplesubmit/issues/22 - addresses "off-by-one" issue of https://hub.psychoinformatics.de/inm7/annotate.inm7.de-simplesubmit/issues/21 - addresses "process loading" aspect of https://hub.psychoinformatics.de/inm7/annotate.inm7.de-simplesubmit/issues/14 --- Introduce fixes and features for improved UI - Adds new FloatEditor with basic regex check - Fix off-by-one error of datetimepicker (TODO: allow only year, or year-month, to be selected) - Text filtering based on item prefLabel (same as title if prefLabel is present) - Ordering alphabetically (forward or reverse) based on item prefLabel - Show loading indicator when items are fetched from service; this required the fetchFromService function to be updated to also return a value when the fetch process is skipped. Loading is switched off if the new 'skipped' value is returned, or if the graphdata is updated (a proxy for the fetch process ending) --- Introduce semi-definitive rules for class and property ordering and display in `NodeShapeViewer`: - Group all properties by their originating class, and display these class groups in reverse hierarchical order - Show the top-level class group by default - Show all properties of the top-level group by default, ordered by the `sh:order` annotation of the property (relative to other properties in the group) - Hide all other class groups and their properties by default, unless: - the property is required - the property is recommended (in LinkML, the slot has an annotation: `dlco:recommended: true`, with the prefix `dlco: https://concepts.datalad.org/`) - For all non-top-level class groups, also order their displayed properties by the `sh:order` annotation of the property (relative to other properties in the group) Notes: - `sh:group` and `sh:PropertyGroup` annotations do not play any role in the above process - it is important to re-annotate properties from inherited classes for when these properties' annotations are not relevant anymore in their new context.
mih merged commit 234eb1a6c4 into main 2025-04-25 19:38:03 +00:00
mih deleted branch uiorder 2025-04-25 19:38:03 +00:00
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
inm7/annotate.inm7.de-simplesubmit!23
No description provided.