-
Notifications
You must be signed in to change notification settings - Fork 0
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
Add Stackmap Link to Call Number Display in Catalog Tray #165
Comments
See icon location example icon class |
Example Content Security Policy changes: |
The stackmap javascript file has a function called scrapeDom that locates specific parts of the dom and adds styles and elements to the dom. This method uses css classes that are unique to the catalog and will not work with other applications. Some examples being scraped:
To use this feature in other applications we would want to have this script modified to look for a css selector that is unique to the stackmap so we can insert it into our code wherever we want to use it. |
Will follow-up with the vendor to see if we can make this adjustment. |
@kevinreiss will be meeting with the vendor in a few weeks, to see if there's a more generic approach to using stackmaps integrations in multiple applications, as well as other topics. |
Meeting with vendor 4/24. |
User story
As a user I would like to know how to find an item that is located in an open stack using the Library's stackmap service.
Acceptance criteria
Implementation notes
We'll need to include the vendor's hosted javascript and css files in the application and mimic the html and css selectors the current links in the catalog are using in order for those to work without modication. Right now the "new" stackmap can seen using "Where to Find It" links in catalog-staging.
In order to show the link for the appropriate location you need to look at the holding location of the item and determine if it's eligible for mapping. There is logic in Orangelight.
The text was updated successfully, but these errors were encountered: