IQSS / dataverse-frontend

An upcoming and modernized UI for Dataverse
Apache License 2.0
19 stars 16 forks source link

Uningest tabular files #308

Open DS-INRA opened 6 months ago

DS-INRA commented 6 months ago

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

qqmyers commented 6 months ago

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.

DS-INRA commented 6 months ago

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

qqmyers commented 6 months ago

@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.

DS-INRA commented 6 months ago

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 ?

qqmyers commented 6 months ago

Yeah - that would be useful.