feat: Async downloads of presets in the Explore tab
Is there an existing issue for this?
- [X] I have searched the existing issues
What happened?
Downloading a preset seems to freeze the entire UI until it finishes downloading.
To Reproduce
- Open Gradience
- Open the Preset manager
- Open the Explore tab
- Click "Download" on some of the presets
- Try to scroll / hover over a button / etc. and see that the UI is frozen until the download finishes
Expected behavior
I'd expect the UI to not freeze when a theme is being downloaded.
Screenshots
No response
OS
Fedora Linux 37 (Workstation Edition)
DE/WM version
GNOME 43.2
Version
0.4.0
Installation method
Flatpak from Flathub
Enabled system extensions (GNOME specific)
blur-my-shell@aunetx
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
Additional context
No response
Code of Conduct
- [X] I agree to follow this project's Code of Conduct
Welcome on Gradience. 🥳 We really appreciate your contribution. The core team will review your issue as soon as possible. You can also join the Matrix room: https://matrix.to/#/#Gradience-space:envs.net or the Discord server: https://discord.com/invite/4njFDtfGEZ
Known issue. We just didn't yet made functions for fetching and downloading presets asynchronous internally (function for fetching presets is async externally, which isn't perfect, but doesn't cause your issue). Something to definitely work on for 0.8.0 release. Thanks for the report.