where should labels be configured?
Currently, the backend provides labels for item categories via the /api/items-categories
endpoint. The frontend uses these to display the link text in the top navigation bar: Tools & Services
, Training Materials
etc.
There are however other labels currently hard-coded on the frontend, e.g. the "sort order" select on the search page. The backend provides sort keys (score
, label
, modified-on
), which are mapped to relevance
, name
, last modification
by the frontend. Should these labels be configurable by curators? Who should be the source of truth for these?
(a similar question also wrt labels for facet keys: activity
=> Activities
, source
=> Sources
keyword
=> Keywords
. this might seem pedantic, but personally i'm not sure if it should be "Activities" or "Activity types", and i'm not sure such decisions should live in the frontend code)