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

Give IIIF Manifests Some Wings #6102

Merged
merged 9 commits into from
Jun 30, 2023
Merged

Give IIIF Manifests Some Wings #6102

merged 9 commits into from
Jun 30, 2023

Conversation

orangewolf
Copy link
Member

Fixes

Fixes #5474 , #5543

Summary

Adds needed search parameters and RIIIF settings to get IIIF manifests and UV images to display properly when using Valkyrie.

Guidance for testing, such as acceptance criteria or new user interface behaviors:

  • Add a work with one or more images
  • Wait for derivatives to be generated
  • View that the UV shows the uploaded images on the work show page
  • add '/manifest.json' to the work show page URL to see the IIIF manifest

@samvera/hyrax-code-reviewers

@orangewolf orangewolf added the notes-valkyrie Release Notes: Valkyrie specific label Jun 29, 2023
app/indexers/hyrax/valkyrie_file_set_indexer.rb Outdated Show resolved Hide resolved
Hyrax::SolrDocument::OrderedMembers.decorate(model).ordered_member_ids
end
m = model.is_a?(::SolrDocument) ? model.hydra_model : model
m.class < Hyrax::Resource ? Array(model.member_ids) : Hyrax::SolrDocument::OrderedMembers.decorate(model).ordered_member_ids
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

what is m.class < Hyrax::Resource doing?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Checks if the model's class is a subclass of Hyrax::Resource. documentation

Co-authored-by: Alisha Evans <alisha@scientist.com>
Copy link
Contributor

@dlpierce dlpierce left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good and less work than I expected!

@orangewolf
Copy link
Member Author

Looks good and less work than I expected!

the investigation was deep but the answer was simple =-)

@orangewolf orangewolf merged commit 49d6b9c into main Jun 30, 2023
@orangewolf orangewolf deleted the manifest_destiny branch June 30, 2023 17:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
notes-valkyrie Release Notes: Valkyrie specific
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Image viewer is not working in nurax-pg
3 participants