Feature request : Return to Author - feedback note in the UI
Overview of the Feature Request As a curator, When I click on "Return to author" in an "In review" dataset, I can fill in a feedback note, In order to inform the depositor of what additional/edits are needed.
What inspired the request? See this issue for discussion :
- https://github.com/IQSS/dataverse/issues/3702
This issue is just to highlight/document the need of this feature in the SPA :)
@DS-INRA perfect. Thanks. To reiterate what I said in the other issue, there is already an API for this that the SPA can use: https://guides.dataverse.org/en/6.0/api/native-api.html#return-a-dataset-to-author
{
"reasonForReturn": "You forgot to upload any files."
}
curl -H "X-Dataverse-key: $API_TOKEN" -X POST "$SERVER_URL/api/datasets/:persistentId/returnToAuthor?persistentId=$PERSISTENT_ID" -H "Content-type: application/json" -d @reason-for-return.json
Corresponding PR in non-SPA :
- https://github.com/IQSS/dataverse/pull/10137
When implementing this, this issue should be taken into account too :)
- #243