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(Recs list): Risk of change details section #507

Conversation

gkarat
Copy link
Collaborator

@gkarat gkarat commented Jan 19, 2023

Implements https://issues.redhat.com/browse/OCPADVISOR-66.

This adds a new section to expanded rule content on the recommendations list table. The section shows information about the risk of change for the given rule.

How to test

Navigate to /openshift/insights/advisor/recommendations. Check that for the rows that have risk of change value, the expanded information contains the risk of change section. For the rules that do not have (currently, all external rules have risk of change, but the tests cover this case), the section must be empty in the expanded content.

Screenshots

image

Implements https://issues.redhat.com/browse/OCPADVISOR-66.

This adds a new section to expanded rule content on the recommendations
list table. The section shows information about the risk of change for
the given rule.
@gkarat gkarat added the enhancement New feature or request label Jan 19, 2023
@gkarat gkarat requested a review from a team as a code owner January 19, 2023 12:11
@gkarat gkarat self-assigned this Jan 19, 2023
@ikerreyes ikerreyes self-requested a review January 19, 2023 12:47
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.

I would have preferred a different approach for finding the right rows for testing. But given that it is small test suite and it is easy to track values it should be fine.
Thanks for the tests.

@gkarat gkarat merged commit 8e541e8 into RedHatInsights:master Jan 19, 2023
gkarat pushed a commit that referenced this pull request Jan 19, 2023
# [1.11.0](v1.10.0...v1.11.0) (2023-01-19)

### Features

* **Recs list:** Risk of change details section ([#507](#507)) ([8e541e8](8e541e8))
@gkarat
Copy link
Collaborator Author

gkarat commented Jan 19, 2023

🎉 This PR is included in version 1.11.0 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

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.

2 participants