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

DRYD-1419: Remove non-indexed materials fields #16

Merged
merged 1 commit into from
Dec 19, 2024

Conversation

mikejritter
Copy link
Contributor

What does this do?

  • Removes fields from the Public Browser template which are not indexed

Why are we doing this? (with JIRA link)
Jira: https://collectionspace.atlassian.net/browse/DRYD-1419

This removes fields which are not included in the elasticsearch index. This could confuse users if they try to populate the fields which will never show up in the public browser.

How should this be tested? Do these changes have associated tests?

  • Run the devserver with dev as a backend, e.g.
npm run devserver --back-end=https://materials.dev.collectionspace.org
  • Create a CollectionObject
  • Navigate to the Public Browser template
  • See that the materials group only contains a single entry

Dependencies for merging? Releasing to production?
It probably doesn't make sense for the field to occupy the full width of the form, but something which can be sorted out later.

Has the application documentation been updated for these changes?
No

Did someone actually run this code to verify it works?
@mikejritter tested using dev as a backend

@mikejritter mikejritter merged commit aad12b5 into collectionspace:master Dec 19, 2024
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant