scientist-softserv / utk-hyku

Other
6 stars 0 forks source link

"Spatial Coverage" to "Location" - Updating labels (facets/item labels) for properties #637

Open mlhale7 opened 2 months ago

mlhale7 commented 2 months ago

Story

UTK discussed our interface and decided that the label "Spatial Coverage" was not very user friendly. Given this, we decided to update the label to "Location" as this might be more accessible. The labels for both the "spatial" and "spatial_local" properties were updated from "Spatial Coverage" to "Location" in the M3 profile. "spatial_local" doesn't have URIs while "spatial" does. You can see this version of the M3 profile here - https://github.com/utkdigitalinitiatives/m3_profiles/blob/main/maps/utk.yml Following this update we are able to see "Location" as a label in individual records after editing them manually. Note that the label is oddly still ordered as if it started with a "s" in the list.

Screenshot 2024-07-03 at 11 28 55 AM

What I'm unsure how to change is the "Spatial Coverage" facet on the main search page. This remains the same following the update. I'm assuming that extra work had to be done given that there are two properties associated with this single facet. It looks like "spatial facet" associated with index_documentation might need to be edited (but where that lives isn't apparent to me). Going forward I would like to know how UTK can be self-reliant and change labels and facets on our own if needed. I'm unsure if a reindex or something else is needed following M3 changes.

Acceptance Criteria

Screenshots / Video

See Story

Testing Instructions and Sample Files

-

Notes