-
-
Notifications
You must be signed in to change notification settings - Fork 209
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
Move user data export to background tasks #2954
base: master
Are you sure you want to change the base?
Conversation
Hello @amCap1712! Thanks for updating this PR. We checked the lines you've touched for PEP 8 issues, and found:
Comment last updated at 2024-09-17 09:43:40 UTC |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Let's chat about the UI for ongoing tasks.
Happy to see this PR!
Initial suggestions for the UI: I reckon we want to show any ongoing export (along with progress, download links eventually) on the same page it was initially requested, at the top of the page. @Aerozol might have some valuable input and suggestions? |
I don't see any issue with that UI. Additional thoughts:
|
@MonkeyDo I have endpoints to retrieve existing and in progress exports, and also the current progress of a given export. I think we should also add a table of available exports to the page. |
User data exports take a long time and get disrupted because the request times out during the process. To fix the issues, do the exports to an archive in the background and allow the users to download the archive later. Archives are auto-deleted after a fixed period.
TODO: