Skip to content

Conversation

@kdid
Copy link
Contributor

@kdid kdid commented Jan 27, 2026

Summary

fixes https://github.com/nulib/repodev_planning_and_docs/issues/5779

Works with many files sets with transcriptions are causing performance issues. Refactor so that transcriptions are referenced by the IIIF manifest and served as separate route.

Specific Changes in this PR

  • Adds file-sets/<id>/annotations?as=iiif that serves a file set's annotations (right now that's just a single transcription)
  • Refactor manifest.js so that the transcript is referenced at the annotations route
  • Allow getWorkFileSets function to take a sort parameter so file sets can be sorted by rank

How to Test

  • View a IIIF manifest that contains file sets with transcripts
  • View other manifests to make sure they were not affected

@kdid kdid self-assigned this Jan 27, 2026
@kdid kdid force-pushed the 5779-annotation-reference branch from 913ce8f to 90bc55b Compare January 28, 2026 16:35
@kdid kdid force-pushed the 5779-annotation-reference branch from 90bc55b to 45ac5cd Compare January 28, 2026 16:59
@kdid kdid marked this pull request as ready for review January 28, 2026 17:00
@kdid kdid force-pushed the 5779-annotation-reference branch from 866c142 to eb33197 Compare January 28, 2026 19:12
@kdid kdid requested a review from mathewjordan January 29, 2026 15:42
Copy link
Member

@mathewjordan mathewjordan left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Works really well! Tested in both Clover and Mirador and annotations come through as expected.

Copy link
Contributor

@bmquinn bmquinn left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks great, really cool seeing the referenced annotations working my Meadow env too.

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.

4 participants