-
Notifications
You must be signed in to change notification settings - Fork 15
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
Remove Check-related action buttons from Host Details page #1973
Conversation
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
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!
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.
@jamie-suse Wouldn't be better to add some if
condition to remove the buttons but keep the code?
I mean, at some point, we want this logic present, and now that you removed, it will be more work to put it back hehe
@arbulu89 @jamie-suse had my green light because ATM we are just one click away from reverting this 😅 |
Strange strategy, but alright hehe |
Description
After the implementation of PR #1959, it was decided that as no Host Checks are currently available, the presence of the Check-related action buttons would be confusing to the user.
For example, if no Checks are available, the user can still click the Check Selection button to be taken to the Check Settings page. However as there are no Checks available, the UI displays a message to the user that the Checks Catalog is empty and a button to try again. This can be a confusing UX flow.
This change removes the Check-related action buttons from the UI in the Host Details page to make the UI easier to understand.
How was this tested?
Removed the tests checking for the presence of the checks-actions buttons