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

Iconify check's target type in catalog #1998

Merged
merged 7 commits into from
Nov 16, 2023
Merged

Conversation

nelsonkopliku
Copy link
Member

@nelsonkopliku nelsonkopliku commented Nov 14, 2023

Description

Adding an icon to the checks catalog representing the target type: currently host or cluster.
It gracefully handles cases where there might not be a target type metadata for a check (even though I am not sure it should ever happen)

image

image

How was this tested?

Automated test + storybooks

@nelsonkopliku nelsonkopliku self-assigned this Nov 14, 2023
@nelsonkopliku nelsonkopliku added enhancement New feature or request user story ux javascript Pull requests that update Javascript code env Create an ephimeral environment for the pr branch labels Nov 14, 2023
@nelsonkopliku nelsonkopliku changed the title Add target type icon in check header shown in the catalog Iconify check's target type in catalog Nov 14, 2023
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.

Some comments and we are good to go 👍

assets/js/components/ChecksCatalog/CheckItem.jsx Outdated Show resolved Hide resolved
assets/js/components/ExecutionResults/TargetIcon.jsx Outdated Show resolved Hide resolved
test/e2e/cypress/e2e/checks_catalog.cy.js Outdated Show resolved Hide resolved
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!

@nelsonkopliku nelsonkopliku merged commit fc391d8 into main Nov 16, 2023
26 checks passed
@nelsonkopliku nelsonkopliku deleted the iconify-checks-in-catalog branch November 16, 2023 10:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request env Create an ephimeral environment for the pr branch javascript Pull requests that update Javascript code user story ux
Development

Successfully merging this pull request may close these issues.

None yet

4 participants