-
Notifications
You must be signed in to change notification settings - Fork 9
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
Update mirador #14
Update mirador #14
Conversation
Hi folks - just a heads up that this is in our queue to review as it is foundational to some work we need to do in the new year. Sorry this has sat so long - we'll be doing this work in the first couple weeks of January. CC @patdunlavey @dmer |
I tested this update (in a copy of isle-dc) and successfully reproduced the behavior described under "How this should be tested": (quick demo). My thoughts:
My take is that this PR does what it says it does. It's a prerequisite (necessary but not sufficient) for integrating search with Mirador. Thumbs-up on a merge from me, with the proviso that a detailed documentation task be created. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
My main comments are here. With the condition that a documentation task be created to follow up on this PR, I am comfortable with getting this merged.
Put together some thoughts towards how things might be better structured in update-mirador...adam-vessey:islandora_mirador:madscience This could still go a ways further towards introducing plugins for the various methods to install things, potentially having them be configurable. Unknown if further things, such as reporting the Mirador plugins supported by the installation would be feasible. |
update-mirador-pat --- wild attempt at documentation, mainly focusing…
@alxp Out of curiosity, have you done any thinking/planning around IIIF Search API in relation to Mirador? Pat and I have a goal of being able to pass a search term from Drupal to an object displaying in Mirador and have that term highlighted. As he mentioned in his comment above, it looks like this requires a Search API endpoint that can return the specific annotations from the HOCR that should be highlighted and blurbed. |
Move configs to optional.
@adam-vessey I've made an update that removes the remote library option since anyone who can compile a custom version of the app can certainly deploy it locally. |
WRT the default library location, I intend to submit the Islandora-targeted Mirador app to the Islandora repo so there isn't a RobLib dependency |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks fine here, other than some potential stray characters and coding standards violations.
Not sure we really have to do it here, but should probably make a note somewhere to get it in here, at least for the PHPCS/Linting, since we don't yet have tests (as per #5).
@dmer @patdunlavey I've created an issue to discuss search / annotation highlighting. I think we can adapt a lot of what UT Scarborough did but would be worth discussing the architecture for sure. |
Co-authored-by: Adam <[email protected]>
Co-authored-by: Adam <[email protected]>
ping @adam-vessey |
@rosiel : As mentioned in the tech call, I'm fine with things here now; however, there's reviewers requested explicitly by this PR though, of which I'm not one. |
I believe that the reviews by Pat and Adam are sufficient. I looked at some of this with Pat and so I am going to merge the PR. At the time, I wanted to be a reviewer in the event that nobody could get to this in a timely manner. |
What does this Pull Request do?
Provide a brief description of what the intended result of the PR will be and/or what
problem it solves.
#4
Release pull requests, etc.)
What's new?
Updates Mirador to be able to use either a local copy of the Mirador app or one hosted on a CDN.
Changes the default to a remote Mirador hosted on Github Pages that contains several plugins and is updated to Mirador 3.3.
Adds support to enable individual plugins in the admin interface.
(i.e. Regeneration activity, etc.)? No
Updated Mirador so any new behaviours will appear in Islandora.
How should this be tested?
Test that the update hook runs properly.
Go to the Admin settings page for Islandora Mirador and test the new settings.
To test text overlay integration specifically:
Follow the testing instructions for Islandora/islandora#897
GO to Admin > Structure > Views and edit the IIIF Manifest view.
In the manifest you want to use, add the hOCR media field you created. Then click the Settings for the IIIF Manifest views plugin, and select that field in the list for hOCR Structured Text.
GO to the settings for Islandora Mirador and enable the Text Overlay and Image Tools plugins.
You may need to clear cache. Go to the node for the Paged Content item you created and observe that the plugins are working.
Documentation Status
Additional Notes:
Any additional information that you think would be helpful when reviewing this
PR.
Interested parties
Tag (@ mention) interested parties or, if unsure, @Islandora/committers