Open DiegoPino opened 3 years ago
A few things.
Mirador allows 2 Annotation storage options for its Annotation-plugin:
Local Storage
(In your Browser's local storage)
And Annotot
:
Annotot uses this API implementation, similar to our own Endpoints but not exactly
https://github.com/ProjectMirador/mirador-annotations/blob/master/src/AnnototAdapter.js
Wonder if we should make our CRUD endpoints Annotot? Compliant? Or, instead of that us the Browser Local Storage and push via JS data into our own notation?
More research: Clearly the Plugin system they have is meant for web pack or node.js and won't work for us out of the box. To allow Annotation (and any other plugin) we need to either compile/pack our own version (not something I want really) or maybe explore modern browser capabilities of dealing with ES JS imports https://www.sitepoint.com/using-es-modules/
Anyone wants to give this a try? If not I'm ok with skipping for now Plugins until we figure this out. But happy to help if we have some Javascript wizards in house.
Mirador 3.0.0 is out, let's use it
We have been on 3.0.0-RC6 and 7 for a while. Not that https://github.com/ProjectMirador/mirador/releases/tag/v3.0.0 is out and it includes new features it is time to upgrade.
I want to also add more config options to the JS. We are under using it and probably want to also use the Annotation Plugin it provides and inject the annotations the same way we do with
annotorious
since we already have the CRUD endpoints.Tasks
This also solves https://github.com/esmero/archipelago-deployment/issues/75
@giancarlobi @alliomeria