-
Notifications
You must be signed in to change notification settings - Fork 354
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
webui: storage step improvements #5240
webui: storage step improvements #5240
Conversation
/kickstart-test --waive webui only |
Previously we were just adding new devices, never removing, resulting in accumulated obsolete devices in the store.
This replaces the `isInProgress`and its purpose is that it will prevent the user from doing UI operations while operations are running in the background. A visible change is that the footer should be always displayed and only if the 'isFormDisabled' is set the footer buttons should get disabled.
To prevent flickering UI while the user is performing some action. Also keep re-scan button disabled till the re-scanning really finishes. We need to Promise chain on the onSuccess callback, previously we were re-enabling the Re-scan button once the Task ran, not when it completed.
… are not loaded Also only reset the previous disks variable if it's undefined, which means that the user clicked the re-scan button.
08e46df
to
24ee190
Compare
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.
Looks good to me, thank you! Nice cleanup. Must have been fun to hunt the flakes :)
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.
Looks fine to me. I'll probably have a lot of conflicts with wizard in another PR, but it makes more sense this way. I just don't understand how the logo in the pixel test got there.
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.
LGTM, thank you!
/kickstart-test --waive webui only |
No description provided.