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

Load the Thumbnail in the Background #44

Open
4 tasks
ismailsunni opened this issue Jun 22, 2023 · 0 comments
Open
4 tasks

Load the Thumbnail in the Background #44

ismailsunni opened this issue Jun 22, 2023 · 0 comments
Milestone

Comments

@ismailsunni
Copy link
Collaborator

Feature description

Currently, we have around ~160 resources. It will take some time to load them all for the first time. I guess, it's time to put the thumbnail downloader in the background using QgsTask and show it after we download it.

  • Call the download thumbnail in the background with QgsTask
  • If the thumbnail is not ready, use a default thumbnail
  • After the download is finished, we should update the thumbnail
  • When a thumbnail is clicked and shown in the preview, it should directly download the thumbnail (without going to the QgsTask) to have smooth user experience

Additional context

No response

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

No branches or pull requests

1 participant