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

🎁 Contexts needs to be implemented #24

Open
6 of 7 tasks
Tracked by #1 ...
ShanaLMoore opened this issue Jun 7, 2024 · 1 comment
Open
6 of 7 tasks
Tracked by #1 ...

🎁 Contexts needs to be implemented #24

ShanaLMoore opened this issue Jun 7, 2024 · 1 comment

Comments

@ShanaLMoore
Copy link

ShanaLMoore commented Jun 7, 2024

Summary

Hyrax should be able to support contexts, which gets defined in the m3 profiles.

  • added ability to read context from m3 profile
  • fields get loaded if context filter is on metadata in profile and if that context is sent
  • need to add field to admin set to store contexts
  • need to add the stored contexts to the solr_document
  • need to add the stored contexts to the indexing
  • need to find all calls to the 4 schema_loader methods and pass in the context to them

Acceptance Criteria

  • If multiple contexts are declared in a M3 profile, a user will be able to choose from what has been declared. The metadata should reflect the context it belongs to.

Screenshots or Video

Testing Instructions

Notes

https://github.com/samvera-labs/allinson_flex/blob/7e13c5c37495505d7ebc1c5f4cf261992c50c767/app/models/allinson_flex/context.rb

@ShanaLMoore
Copy link
Author

TODO: check in right Rob if he's taking this ticket. If not, let's at least brainstorm or get his implementation ideas before team v starts this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Code Review
Development

No branches or pull requests

3 participants