-
-
Notifications
You must be signed in to change notification settings - Fork 9
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
Mechanism for Python webserver to send progress bar updates to Electron #109
Comments
Some idea:
|
I think polling is the most sensible way to do this. API calls like This will be very easy to implement and could be used for all kinds of other interesting things too. |
Could even have a bit of code inside the Electron wrapper that knows how to poll for update and turn changes in poll status into Also makes it easy to write JavaScript in browser windows that polls for |
The |
... or that progress table could live in |
And then how to display them? I custom smaller-sized |
Demo: progress-bar-demo.mov |
This is going to be quite a fun challenge: for various operations such as loading a CSV (#68) or downloading a CSV from the internet (#107) the application needs to be able to display a progress bar.
But... the progress is happening inside the Python process. So there needs to be a way to communicate that progress back to the Electron app in order for it to be displayed to the user.
The text was updated successfully, but these errors were encountered: