-
Notifications
You must be signed in to change notification settings - Fork 9.6k
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
ui: replace Qt spinner and text with python spinner and text #34887
base: master
Are you sure you want to change the base?
Conversation
cffd213
to
e5198ba
Compare
system/athena/registration.py
Outdated
if show_spinner: | ||
spinner.close() | ||
with ThreadPoolExecutor(max_workers=1) as executor: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
we shouldn't have to change the consumers of spinner/text. if we have to use the wrapper for that, that's fine
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
y, Moving the spinner into a separate thread is a better approach than moving the register process to a thread. This requires fewer changes to the original code while ensuring the spinner doesn't freeze or get blocked during the registration process.
8dece6f
to
9ff4793
Compare
9ff4793
to
7927c74
Compare
No description provided.