acdh-oeaw / apis-core-rdf

APIS Core refactored
https://acdh-oeaw.github.io/apis-core-rdf/
MIT License
3 stars 3 forks source link

Redesigning relations list view for entity #489

Closed gythaogg closed 2 weeks ago

gythaogg commented 11 months ago

When an entity has a lot of relations - the user needs to scroll down a lot, as they are grouped by its relations with every other entity type (For example, for a Person entity, Person-Person relations will be listed first, then Person-Work relations next - and if there are many Person-Person relations, it is tedious for the user to reach the Person-Work relations) .

Example entity with a lot of relations.

Image

Would it be of use to others if this list is designed like an accordion with a fold for every entity type (also showing number of relations this particular entity has with that entity type - Person (45).... Work (15) ... shown in a collapsed form by default)

Another option is to have horizontal tabs but this might go out of control if there are too many different types of entities in the data model.

b1rger commented 2 months ago

@gythaogg it would be great if you could create a PR that implements the "horizontal tab" solution as a template for the new relations.