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

Add IIIF 3 support #161

Merged
merged 31 commits into from
May 1, 2024
Merged

Add IIIF 3 support #161

merged 31 commits into from
May 1, 2024

Conversation

t11r
Copy link
Contributor

@t11r t11r commented Mar 25, 2024

No description provided.

t11r and others added 15 commits January 2, 2024 15:04
Update all dependencies to their latest version, except OpenSeadragon. Update build scripts to make them compatible with latest Vite. Update Vitest config and move it to a separate file.

Make the package a module and update required Node.js version to 18 and npm to 9.
This adds support for IIIF 3 presentation and image APIs. All functions have been changed to only support IIIF 3, while IIIF 2 manifests are automatically converted to 3.

- Update all components for IIIF 3
- Add a new localization function for strings from the manifest
- Rewrite TOC panel to display actual structures instead of page ranges
- Separate IIIF and other formats in export panel, remove unreliable literature management URL recognition
- Re-order items in info panel, add support for homepages and logos
- Add fallback language for items that are available neither in the current interface language nor in English
- Display document title in bold
- Increase logo size so vertical logos are properly readable
- Fix display of images in attributions
Note that only the German translation is complete, other language should be revised.
@t11r t11r requested review from ipf and paulpestov March 25, 2024 15:16
@t11r t11r self-assigned this Mar 25, 2024
t11r added 3 commits March 25, 2024 22:21
- Make TOC work with flat structures
- Hide toggle-all buttons when there is nothing to toggle, add e2e tests
t11r added 7 commits April 11, 2024 00:03
@iiif/parser v2.1 provides a separate "upgrade" module, which we now use.
- Add class for lists to better separate them from the website's styles
- Remove bullet from single-item lists
- Make "Related Resources" an actual list
- Remove redundancy
Make sure no "related resources" are omitted when converting a v2 manifest to v3.
Issues with table of contents have been resolved. The first item is hidden according to IIIF requirements.
Use "at" instead of "slice" where appropriate.
@t11r t11r force-pushed the iiif3 branch 3 times, most recently from f9ff76a to 2820940 Compare April 24, 2024 17:40
- Select manifest URL on focus for improved usability
- Update input and button styles to match TIFY's styles
- Shorten manifest input placeholder
- Change close button shape to reduce title overlap
@t11r t11r merged commit 85d4b11 into main May 1, 2024
9 checks passed
@t11r t11r deleted the iiif3 branch January 5, 2025 17:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant