Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Tediously long property lists for concepts in certain classification systems #833

Closed
joelit opened this issue Dec 27, 2018 · 3 comments · Fixed by #969
Closed

Tediously long property lists for concepts in certain classification systems #833

joelit opened this issue Dec 27, 2018 · 3 comments · Fixed by #969
Assignees
Milestone

Comments

@joelit
Copy link
Contributor

joelit commented Dec 27, 2018

At which URL did you encounter the problem?

http://dev.finto.fi/ykl/fi/page/38.55

What steps will reproduce the problem?

When viewing a model of a large classification system in Skosmos, one might get hundreds of labels for the same property for one concept, in each language of the model. This crowds the concept view quite a lot.

What is the expected output? What do you see instead?

Preferably the model would have been structured in a way that avoids situations where a concept has 400+ labels in various languages.

But when it happens, one solution would be adding a check in the relevant Skosmos twig template if there's a list of e.g. over 30 statements with the same property, the corresponding <li> element would have max-height: 500px; overflow-y: scroll; added to it. Of course, the maximum allowed number of statements without a scrollable list should depend on the font size.

@joelit
Copy link
Contributor Author

joelit commented Dec 27, 2018

Large amounts of altLabels also make the search results for such concepts difficult to view:

http://dev.finto.fi/hklj/fi/search?clang=fi&q=Ranskankieliset

@MikkoAleksanteri
Copy link
Contributor

MikkoAleksanteri commented May 3, 2019

Suggestion from FSD: some properties like altLabels and related concepts could be hidden by default and only opened if user so wants. Example from CESSDA's ELLST:

image

Difficulty with this is how to make sure that a random user realizes the existence of hidden properties in all cases.

See also the filters for preferred and use for terms in ELLST:
image

@MikkoAleksanteri
Copy link
Contributor

One possibility could also be to show for example the first ten narrower concepts and then an option to open the rest if the user chooses to do so.

@kouralex kouralex added this to the Next Tasks milestone Feb 12, 2020
@osma osma self-assigned this Mar 25, 2020
@osma osma modified the milestones: Next Tasks, 2.5 Mar 25, 2020
@osma osma changed the title Tediously long propery lists for concepts in certain classification systems Tediously long property lists for concepts in certain classification systems Apr 8, 2020
@osma osma closed this as completed in #969 Apr 9, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants