Allow configuring icons associated to facet values
As a .Stat DE admin,
In order to let DE users easier recognise specific facet values when navigating,
I want to be able to configure individual icons that are to be displayed with specific facet values in the DE search (home page and search result page) according to their state.
Scenario 1: Icons for specific facet values
Given that I have access to the DE configuration
When I have uploaded a set of (monochrome) font icons to the appropriate location (to be defined by implementer)
And I have configured to associate each of these icons to individual values of facets (defined by concept/categoryscheme name + code/category ID+name)
Then these icons are shown for each facet value on its most left side (or most right side for RTL).
Note that font icons automatically reuse the font colours of the facet value itself (background colour and text colour) according the their current state (non-selected/selected/disabled):
Design specifications:
- [not maintained] original specification: https://oecd.plan.io/issues/11466
- [not maintained] mockup: https://cis-itn-oecd.github.io/Design-artefacts/demo/de-blueprint/facet-icon.html
- UI documentation for home page facets: https://cis-itn-oecd.github.io/Design-artefacts/demo/ui-documentation/index.html#search
- UI documentation for search result page facets: https://cis-itn-oecd.github.io/Design-artefacts/demo/ui-documentation/index.html#filters
Notes:
- Facets is the name for filters in the DE Search.
- Icons in the filters of the DE visualisation (if working exactly the same way) are not required within this ticket, but if done in a customisable way, then it would be a welcome nice-to-have.