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

Fix links in annotation texts #764

Open
3 tasks
Dananji opened this issue Jan 24, 2025 · 0 comments
Open
3 tasks

Fix links in annotation texts #764

Dananji opened this issue Jan 24, 2025 · 0 comments
Labels
annotations fixes or features related to annotations component bug 🐛 Something isn't working

Comments

@Dananji
Copy link
Collaborator

Dananji commented Jan 24, 2025

Description

Annotation texts in a Manifest can sometimes contain links. In the current implementation of annotations component, these links show up as links in the text, but they don't do anything when clicked.

An example Manifest from Aviary: https://yalemssa.aviaryplatform.com/iiif/028pc2tq0m/manifest with such annotation from Annotation [Transcript] set is displayed as follows;

Image

In Aviary interface, clicking on the link on this annotation takes the user to the linked page in the same tab.

Done Looks Like

  • Seek the player to the associated start time when clicked on the annotation (normal behavior)
  • Take the user to the linked page when clicked on the link in; link opens in the same tab/context
  • Change the colors of the link when active/focused from default values
@Dananji Dananji added annotations fixes or features related to annotations component bug 🐛 Something isn't working labels Jan 24, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
annotations fixes or features related to annotations component bug 🐛 Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant