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 1749469: Align event types with k8s #3642
Conversation
Nice! We talked about this change a while ago @spadgett, and this seems to align us closer to what users see in the CLI. Maybe we should change the "All Categories" dropdown to say "All Types" instead. |
@rawagner: This pull request references Bugzilla bug 1749469, 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. 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. |
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.
/lgtm
/hold |
8c366b3
to
ab8aafc
Compare
The first dropdown also says |
@@ -1,13 +1,13 @@ | |||
import * as React from 'react'; | |||
import { RedExclamationCircleIcon } from '@console/shared'; | |||
import { categoryFilter, getLastTime } from '@console/internal/components/events'; | |||
import { typeFilter, getLastTime } from '@console/internal/components/events'; |
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.
note that this file will be removed (events card is replaced by activity card) so I did only minimal change to pass the compilation
Ah good catch, looks great. |
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.
/approve
/lgtm
/hold cancel
/retest |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: rawagner, spadgett 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 |
/retest Please review the full test history for this PR and help us cut down flakes. |
1 similar comment
/retest Please review the full test history for this PR and help us cut down flakes. |
/retest Please review the full test history for this PR and help us cut down flakes. |
1 similar comment
/retest Please review the full test history for this PR and help us cut down flakes. |
@rawagner: All pull requests linked via external trackers have merged. Bugzilla bug 1749469 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. |
Console currently uses Info/Error types for Events but k8s has Normal/Warning. This PR aligns terminology with k8s and also changes colors from red to yellow.
Before this change Event was categorized on basis of words in
reason
field - if it contained any oferror, failed, unhealthy, nodenotready
than the event was considered as error type - after this change we categorize events bytype
field.This change is based on the feedback for 4.3 dashboards https://docs.google.com/document/d/1YfS8QXLvm1Iw2M-9P3dPNrmS6rOHJkMbqAbbLYO53QE/edit#heading=h.ksft1vlhuehh
@spadgett @andybraren