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

feat(ClusterRules): Add impacted to single Cluster page #366

Merged
merged 4 commits into from
Jul 21, 2022

Conversation

Fewwy
Copy link
Collaborator

@Fewwy Fewwy commented Jul 20, 2022

Added the impacted column component + state when the impacted data is not available + tests

image

image

@Fewwy Fewwy added the enhancement New feature or request label Jul 20, 2022
@Fewwy Fewwy requested review from ikerreyes and gkarat July 20, 2022 14:01
Copy link
Collaborator

@ikerreyes ikerreyes 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.

Just one note, the field is declared as optional in the API spec (https://github.com/RedHatInsights/insights-results-smart-proxy/blob/master/server/api/v2/openapi.json#L1229). I think it is an error, as it does not make sense to have a rule hit without a timestamp, but if it is possible, we should enhance the test to account for that.

I will try to clarify that.

@ikerreyes
Copy link
Collaborator

After discussing, it might be the case for some old archives, so it might be worth to test for that scenario as well

refactored the code
@ikerreyes ikerreyes self-requested a review July 21, 2022 06:13
@gkarat gkarat merged commit 2362508 into RedHatInsights:master Jul 21, 2022
gkarat pushed a commit that referenced this pull request Jul 21, 2022
# [1.6.0](v1.5.5...v1.6.0) (2022-07-21)

### Features

* **Single cluster page:** Add a new column Impacted ([#366](#366)) ([2362508](2362508))
@gkarat
Copy link
Collaborator

gkarat commented Jul 21, 2022

🎉 This PR is included in version 1.6.0 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

gkarat pushed a commit that referenced this pull request Aug 17, 2022
# [1.6.0](v1.5.5...v1.6.0) (2022-07-21)

### Features

* **Single cluster page:** Add a new column Impacted ([#366](#366)) ([2362508](2362508))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request released
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants