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

CONSOLE-3678: Convert EventStream component in events.jsx from class … #12989

Merged
merged 1 commit into from Jul 28, 2023

Conversation

tvu20
Copy link
Contributor

@tvu20 tvu20 commented Jul 10, 2023

…component to functional component

EventStream converted from a class component to a functional component in order to use react-router v6 hooks

…component to functional component

EventStream converted from a class component to a functional component in order to use react-router v6 hooks
@openshift-ci-robot openshift-ci-robot added the jira/valid-reference Indicates that this PR references a valid Jira ticket of any type. label Jul 10, 2023
@openshift-ci-robot
Copy link
Contributor

openshift-ci-robot commented Jul 10, 2023

@tvu20: This pull request references CONSOLE-3678 which is a valid jira issue.

In response to this:

…component to functional component

EventStream converted from a class component to a functional component in order to use react-router v6 hooks

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.

@openshift-ci openshift-ci bot added the component/core Related to console core functionality label Jul 10, 2023
@jhadvig
Copy link
Member

jhadvig commented Jul 10, 2023

/assign @jhadvig

Copy link
Member

@jhadvig jhadvig left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

/lgtm
/approve

Nice work @tvu20 👍

sysEventStatus = <NoMatchingEvents allCount={allCount} />;
}
const toggleStream = () => {
setActive((prev) => !prev);
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Love how the conversion is actually cleaning up the code 🙌

@openshift-ci openshift-ci bot added the lgtm Indicates that a PR is ready to be merged. label Jul 11, 2023
@openshift-ci
Copy link
Contributor

openshift-ci bot commented Jul 11, 2023

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: jhadvig, tvu20

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 /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@openshift-ci openshift-ci bot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Jul 11, 2023
@jhadvig
Copy link
Member

jhadvig commented Jul 11, 2023

This PR is techdebt cleanup and has no user-facing impact, so I am manually assigning docs and px approvals.

/assign @yapei for QE approval.
/label docs-approved
/label px-approved

@openshift-ci openshift-ci bot added docs-approved Signifies that Docs has signed off on this PR px-approved Signifies that Product Support has signed off on this PR labels Jul 11, 2023
@tvu20
Copy link
Contributor Author

tvu20 commented Jul 12, 2023

/assign @yanpzhan for QE approval.

@yanpzhan
Copy link
Contributor

@XiyunZhao will test the pr.

@XiyunZhao
Copy link

This PR has been tested on private build, with manual and regression testing, and no issue was found
/label qe-approved

@openshift-ci openshift-ci bot added the qe-approved Signifies that QE has signed off on this PR label Jul 28, 2023
@openshift-ci
Copy link
Contributor

openshift-ci bot commented Jul 28, 2023

@tvu20: all tests passed!

Full PR test history. Your PR dashboard.

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. I understand the commands that are listed here.

@openshift-merge-robot openshift-merge-robot merged commit ae29b8b into openshift:master Jul 28, 2023
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved Indicates a PR has been approved by an approver from all required OWNERS files. component/core Related to console core functionality docs-approved Signifies that Docs has signed off on this PR jira/valid-reference Indicates that this PR references a valid Jira ticket of any type. lgtm Indicates that a PR is ready to be merged. px-approved Signifies that Product Support has signed off on this PR qe-approved Signifies that QE has signed off on this PR
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

6 participants