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

Download collections in the background, JS part #651

Open
manuq opened this issue Jun 21, 2023 · 1 comment
Open

Download collections in the background, JS part #651

manuq opened this issue Jun 21, 2023 · 1 comment
Labels
enhancement New feature or request

Comments

@manuq
Copy link
Collaborator

manuq commented Jun 21, 2023

(JS part to avoid saying ...background, frontend part)

Since #549 the collections download has a new step for downloading all thumbnails. The backend reports "completed" to the frontend when these tasks are queued (not finished) so the thumbnails download continues in the background. But the frontend doesn't have a way to know when the thumbnails are available, so the frontend doesn't refresh. We want to also move the extra metadata stage to the background #650 .

The simplest way would be to monitor the background tasks from the root component and then reload the page. But this has been noted as not very user-friendly in the past. The user might be reading or playing content when suddenly the page is reloaded. So we need a bit of design thinking to communicate when this happens and let the user confirm the page refresh.

@manuq manuq self-assigned this Jun 21, 2023
@manuq manuq added the enhancement New feature or request label Jun 21, 2023
@manuq manuq removed their assignment Jun 30, 2023
@manuq
Copy link
Collaborator Author

manuq commented Jun 30, 2023

I'm deassigning myself from this task. There is useful information for how to approach this in this comment: #650 (comment)

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

1 participant