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

Support behavior property in Clover IIIF Viewer #231

Open
1 of 9 tasks
mathewjordan opened this issue Nov 6, 2024 · 2 comments · Fixed by #233
Open
1 of 9 tasks

Support behavior property in Clover IIIF Viewer #231

mathewjordan opened this issue Nov 6, 2024 · 2 comments · Fixed by #233
Assignees

Comments

@mathewjordan
Copy link
Member

mathewjordan commented Nov 6, 2024

Description

Add Clover viewer support of behavior property to support a "2-up" or "side-by-side" book view on Image works. This could be a change to use the iiif commons thumbnail panel.

Use case 2 here:
https://iiif.io/api/cookbook/recipe/0009-book-1/

UNC Examples:
https://dcr.lib.unc.edu/record/287eb48a-c9f8-4c48-a7fa-b4210c0c6b01

It's possible this would be collaborative work (within Samvera!)

Image component
https://github.com/samvera-labs/clover-iiif/blob/main/src/components/Image/index.tsx#L27

Painting component to render the Image viewer
https://github.com/samvera-labs/clover-iiif/blob/main/src/components/Viewer/Painting/Painting.tsx#L152-L159

Thumbnails rendered in Media component:
https://github.com/samvera-labs/clover-iiif/blob/main/src/components/Viewer/Media/Media.tsx#L114-L122

Done Looks Like

  • Update @iiif/vault to @iiif/helpers
  • Clover supports behavor property -- at least paging and individuals
  • We can apply behavior paged to a Manifest and see items as 2-up
  • Paged items render correctly in thumbnails
  • Annotations and Content Search still work as expected

See: https://samvera-labs.github.io/clover-iiif/docs/viewer/demo?iiif-content=https://studio.esmero.io/do/e5758f97-34be-4fa7-af0f-2e76ccb3c401/metadata/iiifmanifest/default.jsonld

  • Content State still works as expected

Steps to Test/Verify

  • Does this require developer to verify?
  • one
  • two
@lfarrell
Copy link
Contributor

@mathewjordan Did you mean to close this ticket?

@mathewjordan
Copy link
Member Author

mathewjordan commented Nov 19, 2024

Ah, nope. I think GitHub moved it because I approved closed that related PR for the first punchlist item (Vault). Moving it back to open. @lfarrell

@mathewjordan mathewjordan reopened this Nov 19, 2024
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 a pull request may close this issue.

2 participants