Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
ICHydro opened this issue Sep 20, 2024 · 3 comments
Closed
Assignees
Labels
enhancement New feature or request
Milestone

Comments

@ICHydro
Copy link
Collaborator

ICHydro commented Sep 20, 2024

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:

  • add a "reload" button to update the status (large datasets can take a while to be processed) or alternatively update the status automatically.
  • 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).
@dalonsoa
Copy link
Collaborator

  • 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 dalonsoa added this to the Version 1.1.0 milestone Sep 20, 2024
@dalonsoa
Copy link
Collaborator

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 dalonsoa changed the title Improve feedback on data processing Automatically refresh data import page to capture current import status Sep 23, 2024
@dalonsoa dalonsoa self-assigned this Oct 21, 2024
@dalonsoa
Copy link
Collaborator

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants