dieterich-lab / scimodom

Sci- ModoM: A quantitative database of transcriptome-wide high-throughput RNA modification sites
https://dieterich-lab.github.io/scimodom/
GNU Affero General Public License v3.0
0 stars 0 forks source link

dataset upload status/progress #84

Closed eboileau closed 4 months ago

eboileau commented 5 months ago

Aims/objectives.

Dataset upload is done via UploadForm.vue. This is handled by api.management.add_dataset. For successful upload, there is currently no feedback given to the user e.g.

DEBUG scimodom.services.dataset.create_dataset.334 | Lifting over dataset from GRCm38 to GRCm39...
DEBUG scimodom.services.dataset.create_dataset.360 | Added dataset MALPJw5m5CWW to project gRHWaFYU with title = test upload 2, and the following associations: m6A:67. Annotating data now...
DEBUG scimodom.services.annotation.annotate_data.197 | Annotating records for EUFID MALPJw5m5CWW...

A clear and concise description of todo items.

How can we do this?

eboileau commented 5 months ago

Also now the user is redirected to the index as soon as the call is successfully completed, though the "upload" may still continue in the backend...

eboileau commented 4 months ago

This is async, a spinning icon has been added to the upload button, as well as a generic message (independent of any server-side logging). User is redirected upon successful upload. I'll open a new issue for long-term improvements.