ImperialCollegeLondon / paricia

Hydroclimatic data collection and information system
https://imperialcollegelondon.github.io/paricia/
BSD 3-Clause "New" or "Revised" License
1 stars 0 forks source link

Automatically refresh data import page to capture current import status #339

Closed ICHydro closed 3 weeks ago

ICHydro commented 1 month ago

Is your feature request related to a problem or limitation? Please describe. When data are imported via a data import, "status" describes the status of the processing. The following improvements can be made:

dalonsoa commented 1 month ago
  • It is not clear whether daily and monthly aggregates are calculated automatically or at a later stage. it is probably best not to do this automatically, but enable to user to request the calculation at a later stage (for example after validation).

No aggregates are calculated during import, only after validation.

I'll look into automatically refreshing the page.

dalonsoa commented 1 month ago

This might require a separate view, rather than using the Admin for data ingestion. It is fine, as other issues flagged are pointing to several limitations of the Django Admin, so I think it will be best to cut all of those issues and create separate views for the data import list and detail (and add/edit).

dalonsoa commented 3 weeks ago

Separate views have now been implemented for all models - including Data Import one - with a refresh button. As usual, CTR-R (or CMD-R in macOS) also reloads the page.