Add codimd as a source
Allow the user to be able to archive his codimd notes.
- On the
add-resource
page add codimd to the dropdown list.
- You have to make sure that the user has set his codimd key and if they have not, then add a notification saying that codimd key has not been set or prompt the user to the settings page
Then the backend should do the following: oais-platform#65 (closed)
2a. When the user selects codimd as a source, no matter what the value of the query, search by id is disabled and clicks on the submit button then a list of all his codimd notes will be displayed on the harvest page. You can use the codimd history/
api call as it is used in bagit-create: https://gitlab.cern.ch/digitalmemory/bagit-create/-/blob/develop/examples/codimd_history.py
2b. If the user selects codimd as a source, puts the id in the query text field and search by id is enabled then when clicking submit, the backend should return the note with this specific id (if exists, otherwise nothing)
- The procedure should continue then as it is in the other pipelines (Create staged record, trigger job, approve by admin etc)
Edited by Kostas Chelakis