Skip to content

fix: spawn download in background for immediate return and user feedback#26

Merged
MudDev merged 1 commit into
mainfrom
download-feedback
May 6, 2026
Merged

fix: spawn download in background for immediate return and user feedback#26
MudDev merged 1 commit into
mainfrom
download-feedback

Conversation

@MudDev
Copy link
Copy Markdown

@MudDev MudDev commented May 6, 2026

This pull request introduces improvements to both the backend and frontend to enhance user experience and code efficiency. The backend now spawns the site download process in the background, ensuring that the UI remains responsive and displays progress feedback to the user. On the frontend, minor CSS adjustments have been made to streamline the transform property for better maintainability.

Backend improvements:

  • The add method in SiteManager.py now spawns the site.download process in the background using gevent.spawn, allowing the UI to show a loading screen and progress bar without waiting for the download to finish.

Frontend/CSS adjustments:

  • Combined the scaleX(0) and translate3d(0, 0, 0) transforms into a single transform property in Wrapper.css for cleaner and more maintainable code.

@MudDev MudDev merged commit 2ac13ce into main May 6, 2026
2 checks passed
@MudDev MudDev deleted the download-feedback branch May 6, 2026 02:14
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

Successfully merging this pull request may close these issues.

1 participant