Explorer > Add preferred classes
Closed this issue · 3 comments
Current situation
The entity explorer shows a class filter to the left, in which the classes are ordered by number of entities found for this class, in descending order.
The classes shown on top of the list are usually not the ones, expected by users (like Appellation in a language or Annotation in Text).
Solution
The class filter is split in two lists:
- a list with preferred classes
- a list with all classes
To define the list of preferred classes, the component accepts a comma separate list of class ids.
The order of the ids is respected in the display.
Only preferred classes visible; no class selected
All classes visible; no class selected
All classes visible; Class Person selected
Interactions
-
On click on
Show all classes
all classes are shown. The all classes list contains all classes, including the preferred. -
On click on
Hide
the list with all classes is hidden. -
On click on a class, a checkmark appears and the chip with the selected class appears. The chip ensures the selected filter is visible, even if the selected class is not visible to the left.
-
On click on the Chip, the filter is deactivated (class unselected).
@KleiolabDK please review
Thank you, this is perfectly in line with the suggestions. Review closed.