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

Add navigation to host check selection #1658

Merged
merged 3 commits into from
Jul 25, 2023

Conversation

nelsonkopliku
Copy link
Member

@nelsonkopliku nelsonkopliku commented Jul 21, 2023

Description

This PR adds Check related action buttons to the host detail.

  • Check Selection -> brings to Host Check Selection
  • Show Results -> disabled. will bring us to the host checks results
  • Start Execution -> disabled. will start a check execution for a host

image

How was this tested?

Automated tests.

@nelsonkopliku nelsonkopliku changed the title Add navigation to host settings Add navigation to host check selection Jul 21, 2023
@nelsonkopliku nelsonkopliku changed the base branch from main to host-checks July 21, 2023 07:43
@nelsonkopliku nelsonkopliku self-assigned this Jul 21, 2023
@nelsonkopliku nelsonkopliku added enhancement New feature or request user story ux javascript Pull requests that update Javascript code labels Jul 21, 2023
@nelsonkopliku nelsonkopliku force-pushed the add-navigation-to-host-settings branch from babd23c to df377af Compare July 21, 2023 08:36
@nelsonkopliku nelsonkopliku marked this pull request as ready for review July 21, 2023 08:46
@nelsonkopliku nelsonkopliku force-pushed the add-navigation-to-host-settings branch from df377af to 0fe593d Compare July 24, 2023 08:00
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

Copy link
Member

@EMaksy EMaksy left a comment

Choose a reason for hiding this comment

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

Hey good job!
I left some small comments but nothing big.

At a later point we may think also about adding a story to the storybook, but as it's a more complex component this is a bit out of scope hehe.

So as summary LGTM :)

@nelsonkopliku
Copy link
Member Author

Thanks @EMaksy for the review.

At a later point we may think also about adding a story to the storybook, but as it's a more complex component this is a bit out of scope hehe.

Yes, you are right. This component is quite a legacy one and needs some extra refactoring. Had the same discussion with @jagabomb .

Creating an item in the backlog for the next sprint.

@nelsonkopliku nelsonkopliku merged commit de63cb1 into host-checks Jul 25, 2023
@nelsonkopliku nelsonkopliku deleted the add-navigation-to-host-settings branch July 25, 2023 09:10
nelsonkopliku added a commit that referenced this pull request Jul 25, 2023
* Align cluster/host naming related to checks selection and actions

* Add Checks related Call to actions in host detail

* Host detail - Move exporters mapping to components in a separate variable
nelsonkopliku added a commit that referenced this pull request Aug 3, 2023
* Align cluster/host naming related to checks selection and actions

* Add Checks related Call to actions in host detail

* Host detail - Move exporters mapping to components in a separate variable
dottorblaster added a commit that referenced this pull request Aug 4, 2023
* Add navigation to host check selection (#1658)

* Align cluster/host naming related to checks selection and actions

* Add Checks related Call to actions in host detail

* Host detail - Move exporters mapping to components in a separate variable

* Cluster settings page refactor (#1659)

* Remove old ChecksSelection UI

* Rewrite ClusterSettingsPage

* Wire up ClusterSettingsPage to the router

* Make checks selection great again (#1682)

* Add a new selector for cluster checks

* Update ChecksSelection component to new UX

* Update ClusterSettingsPage to new UX

* Update Host Settings to new UX

* Add a disabled prop to Button component

* Align the behavior of the save checks button

* fixup! Align the behavior of the save checks button

* Improved tooltip (#1674)

* Install react-tooltip

* Add new Tooltipo component

* Update Tooltip stories

* Add a global css object for tests

* Replace legacy tooltip with new one

* Use spans as tooltip anchor wrapper

* Replace react-tooltip with rc-tooltip

Co-authored-by: Alessio Biancalana <alessio.biancalana@suse.com>

* Switch Tooltip implementation to rc-tooltip

Co-authored-by: Alessio Biancalana <alessio.biancalana@suse.com>

---------

Co-authored-by: Alessio Biancalana <alessio.biancalana@suse.com>

---------

Co-authored-by: Alessio Biancalana <alessio.biancalana@suse.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request javascript Pull requests that update Javascript code user story ux
Development

Successfully merging this pull request may close these issues.

3 participants