Skip to content

NumaHOP/MiradorThumbnailAnnotationPlugin

Repository files navigation

Mirador Thumbnail Annotation Plugin

Context

This is a plugin that allows users of mirador to add icons on thumbnails in the gallery. It is used inside NumaHOP in the Quality Assurance pipeline.

It allows to quickly determine which pages were controlled with the resulting status being accepted or rejected.

To see a usage example look in the demo folder.

Mirador specifics.

To annotate a thumbnail you must call the mirador/ANNOTATE_THUMBNAIL action with the following payload:

{
  name: "Check",
  color: "lime"
}

The name of the icon is any icon provided inside the @mui/icons-material npm package. (see) The color is any css color.

Possible improvements.

Drop the dependency to @mui/icons-material and accept a react component that would replace name and color.

About

A mirador plugin that allows to annotate the thumbnails with icons in the gallery.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published