NCEAS / metacatui

MetacatUI: A client-side web interface for DataONE data repositories
https://nceas.github.io/metacatui
Apache License 2.0
42 stars 26 forks source link

In the markdown image uploader, add the ability to search for and select images from the dataset collection #1414

Open robyngit opened 4 years ago

robyngit commented 4 years ago

In the markdown editor view, allow users to browse & search images that are contained in datasets in the collection, then add those images to the markdown textarea.

For the MVP version, we should just insert a citation and link for the associated dataset as an image caption. Eventually, we'll want to add a citation to the portal document and reference that citation from the markdown.

In the future we may want to also allow the user to search the entire repository for images (not just the collection).

In July 2019, we came up with a mockup for this feature (shown below). The first step is to update/re-think the mockup so that it fits with the current editor.

markdown-menu-in-context

Markdown-menu-images

robyngit commented 4 years ago

New mockups can be previewed interactively here: https://invis.io/JXXP391AVDP

robyngit commented 4 years ago

We reviewed the mockup in the Portals meeting today and added comments directly in invision. Next step is to start building the new interface while incorporating the feedback on the mockup.