yalelibrary / YUL-DC

Preliminary issue tracking for Yale University Libraries Digital Collections project
3 stars 0 forks source link

[SPIKE] Universal Viewer - Block selected child image in parent #2845

Open sshetenhelm opened 1 month ago

sshetenhelm commented 1 month ago

Story As part of the upcoming "Opt-In" feature development work, stakeholders may want to know if it is possible to require a user action to allow a single child image that is in a parent object to display.

So, if a parent object has two child images, and the second is an "opt-in" image, can we leave the first image visible in the Universal Viewer with all metadata in the 'More Information' pane, but require the user to click something to see the second image in the UV (but the second image would still have metadata in the more information pane).

World's most beautiful mock-up Image

Acceptance

jpengst commented 5 days ago

Currently, there is no option in UV to require a user action. In order to do something like this, I think we would have to go into the UV code itself and add this feature ourselves. UV has a slack channel that I requested access to. Once I've been given access I can ask if they have any plans on adding something like this in later versions.

jpengst commented 5 days ago

https://iiif.io/api/auth/1.0/#clickthrough-interaction-pattern

mikeapp commented 5 days ago

The clickthrough examples on the UV demo page such as https://universalviewer.io/examples/#?c=&m=&s=&cv=&manifest=https%3A%2F%2Fwellcomelibrary.org%2Fiiif%2Fb1818893x%2Fmanifest&xywh=-1611%2C-223%2C5864%2C4405 don't seem to be working. I'm not sure what's supported in UV and Mirador (which we shouldn't forget about - it's going to be difficult to have a consistent experience in both viewers).