dataverse-frontend icon indicating copy to clipboard operation
dataverse-frontend copied to clipboard

Uningest tabular files

Open DS-INRAE opened this issue 2 years ago • 5 comments

As a super-admin (end goal would be curator, but safer for experimenting first), I want to be able to uningest a .tab file from the UI, to provide faster support to dataset owner whose file is not correctly ingested or should not be ingested.

Adding an option in the Edit File Dropdown. In the file page : image In the dataset page's file tab : image

A confirmation window with Continue/Cancel should then be displayed in order to confirm the uningestion and avoid missclicking errors.

Suggestion of text (in text-warning format) : This file will be uningested, you will lose of the benefits of the ingestion. Click Continue to do so. For more information about ingestion and uningestion, check out the Tabular Data File Ingest Guide

DS-INRAE avatar Feb 13 '24 08:02 DS-INRAE

FWIW: QDR has implemented this - Uningest and Reingest. I forget what permission is needed, but since it is reversible, I don't think it was too strict. We did this before the messaging changes, when a failed ingest sounded more like an error. If there's interest now and you haven't already done the work, I could probably make a PR.

qqmyers avatar Feb 13 '24 14:02 qqmyers

Great, there is definitively interest and we haven't worked on it yet so it would be more than welcome !

DS-INRAE avatar Feb 13 '24 14:02 DS-INRAE

@DS-INRA - Ah sorry - to clarify, QDR did this on the current UI and that's the PR I could create. We haven't worked in the SPA yet. I didn't look to see which repo this was in.

qqmyers avatar Feb 13 '24 16:02 qqmyers

Yes I expected it was the case, so still very useful. Do you want me to create the issue on the other side for it ?

DS-INRAE avatar Feb 13 '24 17:02 DS-INRAE

Yeah - that would be useful.

qqmyers avatar Feb 13 '24 17:02 qqmyers