NatLibFi / Skosmos

Thesaurus and controlled vocabulary browser using SKOS and SPARQL
Other
229 stars 95 forks source link

Concept Page for Skosmos 3 #1484

Open joelit opened 1 year ago

joelit commented 1 year ago

Description of the enhancement

This issue is for making sure the initial version of the concept page fulfills common requirements. It's OK if not all functionality is implemented.

osma commented 1 year ago

Layout differs from the static example quite a bit.

osma commented 1 year ago

I've started reworking the concept page template on the branch issue1484-concept-page-templates-cypress. There is still a lot to do, but here is a list of requirements for the concept page, based in part on examining the old Twig template:

joelit commented 1 year ago

Further additions to the requirement spec could be:

osma commented 1 year ago
  • Formatting property values such as xsd:date and xsd:dateTime according to the content language
  • Truncating property value lists that are longer than set number of items with "show all X values" -button as was done back in the day in #969

Thanks, I added these to the checklist above (with minor editing). I'm not sure if the content language is the right choice here for date values, so I kept both options.

There's also one relevant open issue for 3.0 (#1538 ) for an enhancements to the concept page, that's relevant to the requirement list.

Good point, but implementing that one goes much deeper than just the concept page template + JS + styles, and we already have a separate issue about it, so let's keep it filed there.