skohub-io / skohub-vocabs

A lightweight tool to publish SKOS Vocabularies
https://skohub.io/
Apache License 2.0
34 stars 25 forks source link

Support collapsing and expanding tree view #27

Closed acka47 closed 5 years ago

acka47 commented 5 years ago

As a user I want to be able to collapse and expand the whole schema as well as parts of it in order to easily get an overview over a classification.

literarymachine commented 5 years ago

When using the search box, should the whole be searched, i.e. implicitly expanded?

acka47 commented 5 years ago

When using the search box, should the whole be searched, i.e. implicitly expanded?

Yes, I think so. I am quite happy with this UI/UX: https://nwbib.de/spatial. Maybe we should even also collapse as default...

literarymachine commented 5 years ago

Maybe we should even also collapse as default...

+1

literarymachine commented 5 years ago

On test, see e.g. https://test.skohub.io/literarymachine/skos/w3id.org/class/hochschulfaecher/scheme.html

acka47 commented 5 years ago

As a user I want to be able to collapse and expand the whole schema as well as parts of

The second part works (collapsing/expanding parts of the schema) but the first part not yet as there is no button to expand/collapse the whole schema. Please add a "expand all"/collapse all" button.

acka47 commented 5 years ago

However, as it is already a huge improvement over the status quo, you might as well deploy it now and add the buttons later.