Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Change the default label for spotlight_upload_date_tesim #2354

Draft
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

jcoyne
Copy link
Contributor

@jcoyne jcoyne commented Sep 25, 2023

The default label for spotlight_upload_date_tesim was "Date", on the metadata configuration page (e.g. https://exhibits.stanford.edu/a11y-for-soda/metadata_configuration/edit), this has the same label as date_ssim, so an editor is unable to distinguish between the two.

This overrides the Spotlight default so that we don't have two identical labels: https://github.com/projectblacklight/spotlight/blob/9c0ae85b1417c186a0dc49512ead23e9785331bf/config/locales/spotlight.en.yml#L812

The default label for spotlight_upload_date_tesim was "Date", on the metadata configuration page (e.g. https://exhibits.stanford.edu/a11y-for-soda/metadata_configuration/edit), this has the same label as `date_ssim`, so an editor is unable to distinguish between the two. 

This overrides the Spotlight default so that we don't have two identical labels: https://github.com/projectblacklight/spotlight/blob/9c0ae85b1417c186a0dc49512ead23e9785331bf/config/locales/spotlight.en.yml#L812
@jcoyne jcoyne marked this pull request as ready for review September 25, 2023 17:34
@jcoyne jcoyne marked this pull request as draft September 25, 2023 17:38
@jcoyne
Copy link
Contributor Author

jcoyne commented Sep 25, 2023

This works for new exhibits and exhibits that haven't changed the metadata, but unsure whether this would change exhibits that have customized the field label, or if we can even determine if they have.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Valid backlog - in buckets
Development

Successfully merging this pull request may close these issues.

1 participant