clarin-eric / VLO

Virtual Language Observatory
GNU General Public License v3.0
14 stars 6 forks source link

Conditional facets #36

Closed twagoo closed 4 years ago

twagoo commented 7 years ago

From the CLARIN-PLUS VLO specification document, section 2.2.2:

[there] is a legitimate need for more (more or less domain specific) facets while at the same time displaying irrelevant or simply too many facets reduces usability. The proposed solution is to make the display of specific facets conditional, i.e. only show a facet selector for a facet if some condition is met. Several types of such conditions can exist:

  • Selection of any value from a specific facet (e.g. only show ‘subject’ after selection within ‘collection’)
  • Selection of a specific value from a specific facet (e.g. only show ‘annotation type’ after selection of resource type ‘corpus’)
  • Number of remaining value options (e.g. only show ‘genre’ if the number of choices is down to 50)

There can still be the option to show all facets (at least in some advanced search mode), but the ‘hidden’ facets should initially not be in plain sight. Some facets (primarily technical ones) should only appear in the view of all facets, i.e. should be considered ‘hidden facets’ rather than ‘conditional’.

A mechanism to configure the conditions under which specific facets are shown needs to be designed and implemented.

twagoo commented 7 years ago

Also community specific facets?

twagoo commented 6 years ago

Facets genre and subject are good candidates for becoming conditional - only showing if a collection has been selected OR the number of distinct values has been reduced to a relatively small amount, e.g. 100 or less.