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 display of external annotations via an AnnotationPage reference #437

Open
elynema opened this issue Feb 23, 2024 · 2 comments
Open
Assignees

Comments

@elynema
Copy link

elynema commented Feb 23, 2024

Is your feature request related to a problem? Please describe.
AVAnnotate manifests may reference an external AnnotationPage rather than embedding annotations directly into the manifest itself.

Describe the solution you'd like
Ramp should automatically pull in the annotations in the external AnnotationPage to determine if they should be displayed.

Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.

Additional context
IIIF recipe for embedded or reference annotations: https://iiif.io/api/cookbook/recipe/0269-embedded-or-referenced-annotations/

@Dananji
Copy link
Collaborator

Dananji commented Nov 19, 2024

Example Manifests with linked external AnnotationPage:

Annotations in these external annotations follows the formats mentioned in #431 and #436 (with multiple motivations and multiple TextualBody elements in the annotation's body).

Scope of this ticket, would be to identify the linked external annotations in the AnnotationPage and then pass them over to the parsing mechanism where multiple motivations are handled.

Implementation notes:

  • These 2 example manifests has 'Content-Type' text/html in the fetch request. And this causes the transcript-parser to fail when reading the annotations. This check needs to be fixed.
  • Once this check passes the parser needs to accommodate to read AnnotationPage without filtering them based on motivation.

@Dananji
Copy link
Collaborator

Dananji commented Nov 19, 2024

When there are multiple sets of annotations for a single Canvas, does Ramp display one set of annotations (like AVAnnotate) or multiple sets (like Aviary) at a given time?

Manifest with external linked AnnotationPage has multiple annotations sets which both Aviary and AVAnnotate allows the user to select. But they treat these slightly differently in the UI.

AVAnnotate Aviary
Displaying annotation sets for multiple AnnotationPage objects listed in the annotations list in the Manifest allows the user to select only one annotation set at a given time allows the user to select multiple annotation sets at the same time
Use of label of AnnotationPage displays as an option in the drop-down to select an annotation set displays the label as a filter in the multi-select drop-down and as a tag below each annotation in the list
Use of the value of purpose: "tagging" element in annotation body. Sample screenshot of the same annotation set. displays as a tag below each annotation in the listScreenshot 2024-11-19 at 10 27 14 AM does not display this value in the UI, instead uses the AnnotationPage label as a tagScreenshot 2024-11-19 at 10 29 35 AM

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

No branches or pull requests

2 participants