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

Pin OSD & restrict Blacklight Gallery #3386

Open
wants to merge 1 commit into
base: release-4.x
Choose a base branch
from
Open

Conversation

taylor-steve
Copy link
Contributor

No description provided.

@taylor-steve taylor-steve marked this pull request as ready for review December 20, 2024 23:41
@jcoyne
Copy link
Member

jcoyne commented Jan 6, 2025

@taylor-steve is this still necessary?

@taylor-steve
Copy link
Contributor Author

@jcoyne yes, it's necessary in the sense that OSD doesn't work on the 4.x branch currently. We'd either need this or to address the asset issues (I need to refamiliarize where that was left off before break). I don't think it's urgent to accept this, I was leaving it as a reminder that we'd need to do something should we need to cut another 4.x release.

@jcoyne
Copy link
Member

jcoyne commented Jan 6, 2025

@taylor-steve wouldn't that prevent https://github.com/sul-dlss/exhibits/pull/2773/files from working?

@taylor-steve
Copy link
Contributor Author

@jcoyne Yes. I'm not sure what to do here, regarding sprockets & OSD/Blacklight gallery. Current blacklight gallery includes the OSD-rails dom.js via https://github.com/projectblacklight/blacklight-gallery/blob/50333265441ccf794ca152e46903058da28b3f36/app/assets/javascripts/blacklight_gallery/osd_viewer.js#L1C8-L1C9. That file has an import statement that fails in Spotlight 4.x. I don't see an obvious way to use current Blacklight Gallery with the old OSD (jquery) setup without adding a bunch of manual includes for gallery/OSD.

@jcoyne
Copy link
Member

jcoyne commented Jan 7, 2025

I don't see an obvious way to use current Blacklight Gallery with the old OSD (jquery) setup

Why would anyone want to do that? Shouldn't you use the old BL gallery with the old OSD, or switch to the new ones?

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.

2 participants