digirati-co-uk / iiif-manifest-editor

Create new IIIF Manifests. Modify existing manifests. Tell stories with IIIF.
https://manifest-editor.digirati.services/
MIT License
29 stars 3 forks source link

Retarget annotation targets #254

Closed stephenwf closed 1 year ago

stephenwf commented 1 year ago

At the moment you can change the target of annotations in the "media" tab, which is a specific editor that only appears if the Body matches some conditions (image, video etc.)

We need a fallback mechanism for these types of editors. In the model we can add an sortKey that will group them logically together and indicate only one of these editors should be added to the tabs for a given Annotation. We can also add fallback so that we ensure every resource shows at least one form with a given sortKey. This will ensure that every annotation can have its target changed.