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

Remove Check-related action buttons from Host Details page #1973

Merged
merged 1 commit into from
Nov 2, 2023

Conversation

jamie-suse
Copy link
Contributor

@jamie-suse jamie-suse commented Nov 2, 2023

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.

image

This change removes the Check-related action buttons from the UI in the Host Details page to make the UI easier to understand.

image

How was this tested?

Removed the tests checking for the presence of the checks-actions buttons

@jamie-suse jamie-suse added the javascript Pull requests that update Javascript code label Nov 2, 2023
@jamie-suse jamie-suse changed the title Remove Check-related action buttons from Host Details view Remove Check-related action buttons from Host Details page Nov 2, 2023
@jamie-suse jamie-suse marked this pull request as ready for review November 2, 2023 12:37
Copy link
Contributor

@dottorblaster dottorblaster left a comment

Choose a reason for hiding this comment

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

LGTM

Copy link
Contributor

@jagabomb jagabomb left a comment

Choose a reason for hiding this comment

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

LGTM!

@jamie-suse jamie-suse merged commit 232c808 into main Nov 2, 2023
28 checks passed
@jamie-suse jamie-suse deleted the remove-host-details-buttons branch November 2, 2023 13:49
Copy link
Contributor

@arbulu89 arbulu89 left a 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

@dottorblaster
Copy link
Contributor

@arbulu89 @jamie-suse had my green light because ATM we are just one click away from reverting this 😅

@arbulu89
Copy link
Contributor

arbulu89 commented Nov 2, 2023

@arbulu89 @jamie-suse had my green light because ATM we are just one click away from reverting this 😅

Strange strategy, but alright hehe
Will be follow the same now that we need to add this exact buttons to the ASCS/ERS cluster view?
I hope we don't enter in any conflicts rabbit hole 🙈

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
javascript Pull requests that update Javascript code
Development

Successfully merging this pull request may close these issues.

4 participants