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
Bug 1873140: fix Alert State filter for dev perspective Alerts #6313
Conversation
/cc @kyoto |
I realized that we should be making a similar change to the admin perspective too. I will take a look into that and consider if the two perspectives can share code for this fix. |
frontend/packages/dev-console/src/components/monitoring/alerts/monitoring-alerts-utils.tsx
Outdated
Show resolved
Hide resolved
frontend/packages/dev-console/src/components/monitoring/alerts/monitoring-alerts-utils.tsx
Outdated
Show resolved
Hide resolved
Could verify the fix on a cluster setup. Thanks @vikram-raj for providing some help and yaml files here. Will get a lgtm when you response to the open questions 😏 |
Opened a similar change for the admin perspective: #6460. The solutions will need to be different because the dev perspective combines rule rows and alert rows in the same table, but the admin perspective does not. |
/retitle Bug 1873140: fix Alert State filter for dev perspective Alerts |
@vikram-raj: This pull request references Bugzilla bug 1873140, which is valid. The bug has been moved to the POST state. The bug has been updated to refer to the pull request using the external bug tracker. 3 validation(s) were run on this bug
In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
@vikram-raj: This pull request references Bugzilla bug 1873140, which is valid. 3 validation(s) were run on this bug
In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
...ages/dev-console/src/components/monitoring/alerts/__tests__/monitoring-alerts-utils.spec.tsx
Outdated
Show resolved
Hide resolved
...ages/dev-console/src/components/monitoring/alerts/__tests__/monitoring-alerts-utils.spec.tsx
Show resolved
Hide resolved
frontend/packages/dev-console/src/components/monitoring/alerts/monitoring-alerts-utils.tsx
Outdated
Show resolved
Hide resolved
frontend/packages/dev-console/src/components/monitoring/alerts/monitoring-alerts-utils.tsx
Outdated
Show resolved
Hide resolved
frontend/packages/dev-console/src/components/monitoring/alerts/monitoring-alerts-utils.tsx
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Tested it locally and on an cluster (4.6.0-0.ci.test-2020-09-07-093240-ci-ln-fl8bwh2), works as expected. 👍
/lgtm
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Tested it again on 4.6.0-0.ci.test-2020-09-07-115219-ci-ln-qgpzqit
Thanks @vikram-raj for the support here :)
/lgtm
/approve |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: jerolimov, kyoto, vikram-raj The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
@vikram-raj: All pull requests linked via external trackers have merged: Bugzilla bug 1873140 has been moved to the MODIFIED state. In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
Fix - https://issues.redhat.com/browse/ODC-4424
Screenshots
Test coverage