Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Story
This pull request updates IiifPrint to support Valkyrie.
At present, this is a breaking change for ActiveFedora (see notes below), per testing on a pre-valkyrized application (palni-palci). Attempts were made to prevent a breaking change by using adapters, but at this point it is not working for ActiveFedora.
A IiifPrint 2.0.0 release should be cut based on this pull request.
A IiifPrint 1.1.0 release should probably be cut as well, based on e476998. Verson 1.0.0 is at 4d2bb72 and was released March 2023. This is the last known working ActiveFedora version.
Refs #350
Expected Behavior Before Changes
IiifPrint only supports ActiveFedora derivatives.
Expected Behavior After Changes
IiifPrint can be used in a Valkyrized application.
PDF splits into child works.
Derivatives will show in the dropdown menu based on changes to Hyrax::FileSet model.
Screenshots / Video
From Valkyrized App
Notes
See corresponding branches in Hyrax and Hyku
Note: This is a breaking change... It provides support for the valkyrized Hyku & Hyrax but does not work for ActiveFedora apps. Retrofitting for ActiveFedora may be an option at a later point.
Backtrace with AF in Pals app