Skip to content
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

Conversation

KKoukiou
Copy link
Contributor

@KKoukiou KKoukiou commented Oct 9, 2023

No description provided.

@KKoukiou KKoukiou marked this pull request as draft October 9, 2023 15:01
@KKoukiou KKoukiou marked this pull request as ready for review October 9, 2023 16:02
@KKoukiou
Copy link
Contributor Author

KKoukiou commented Oct 9, 2023

/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.
@KKoukiou KKoukiou force-pushed the webui-storage-improvements-tests-stability branch from 08e46df to 24ee190 Compare October 10, 2023 08:12
Copy link
Contributor

@rvykydal rvykydal left a 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 :)

Copy link
Contributor

@adamkankovsky adamkankovsky left a 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.

Copy link
Contributor

@VladimirSlavik VladimirSlavik left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, thank you!

@KKoukiou
Copy link
Contributor Author

/kickstart-test --waive webui only

@KKoukiou KKoukiou merged commit 4c1daa8 into rhinstaller:master Oct 10, 2023
17 checks passed
@KKoukiou KKoukiou deleted the webui-storage-improvements-tests-stability branch October 10, 2023 11:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

Successfully merging this pull request may close these issues.

4 participants