Skip to content

SRVKP-11003: React 18 readiness#999

Merged
arvindk-softwaredev merged 1 commit intoopenshift-pipelines:masterfrom
anwesha-palit-redhat:feat/SRVKP-11003
Mar 17, 2026
Merged

SRVKP-11003: React 18 readiness#999
arvindk-softwaredev merged 1 commit intoopenshift-pipelines:masterfrom
anwesha-palit-redhat:feat/SRVKP-11003

Conversation

@anwesha-palit-redhat
Copy link
Contributor

No description provided.

@openshift-ci openshift-ci bot requested review from pratap0007 and vdemeester March 9, 2026 08:41
@openshift-ci openshift-ci bot added the approved Label for Approved PRs label Mar 9, 2026
@anwesha-palit-redhat anwesha-palit-redhat requested review from arvindk-softwaredev and removed request for pratap0007 and vdemeester March 9, 2026 08:41
@anwesha-palit-redhat anwesha-palit-redhat force-pushed the feat/SRVKP-11003 branch 3 times, most recently from 1531d23 to cf5e411 Compare March 10, 2026 08:06
@anwesha-palit-redhat
Copy link
Contributor Author

/retest

@anwesha-palit-redhat anwesha-palit-redhat changed the title react 18 readiness SRVKP-11003: React 18 readiness Mar 10, 2026
@openshift-ci-robot
Copy link
Collaborator

openshift-ci-robot commented Mar 10, 2026

@anwesha-palit-redhat: This pull request references SRVKP-11003 which is a valid jira issue.

Warning: The referenced jira issue has an invalid target version for the target branch this PR targets: expected the story to target the "4.22.0" version, but no target version was set.

Details

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 openshift-eng/jira-lifecycle-plugin repository.

@anwesha-palit-redhat
Copy link
Contributor Author

/retest

@arvindk-softwaredev
Copy link
Contributor

/test images

@anwesha-palit-redhat
Copy link
Contributor Author

/retest

package.json Outdated
"webpack-cli": "^5.1.4",
"ts-node": "^10.9.2",
"typescript": "5.9.3",
"webpack": "5.100.0",
Copy link
Contributor

Choose a reason for hiding this comment

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

we need to add ^ for the webpack to be taking similar version as console

Copy link
Contributor Author

Choose a reason for hiding this comment

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

added

"react-rnd": "^10.3.4",
"react-router-dom-v5-compat": "^6.30.0",
"react-router-dom": "5.3.x",
Copy link
Contributor

Choose a reason for hiding this comment

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

we need to update react-router to 7 for console compatibility

Copy link
Contributor Author

Choose a reason for hiding this comment

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

yes we will be taking this up in a separate Jira

@@ -1,4 +1,5 @@
import * as React from 'react';
import type { FC, Ref } from 'react';
import { useState, useEffect } from 'react';
Copy link
Contributor

Choose a reason for hiding this comment

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

nit: why are we have two separate imports from 'react'

Copy link
Contributor Author

Choose a reason for hiding this comment

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

This is only needed for type checking—and not included in the compiled JS

  • Treats FC like a runtime import (even though it isn’t used at runtime)
  • May add unnecessary code (or at least unnecessary import statements) in the compiled output
  • Is less optimal for bundling/tree-shaking

@anwesha-palit-redhat anwesha-palit-redhat force-pushed the feat/SRVKP-11003 branch 3 times, most recently from 0f334b1 to 12592b1 Compare March 17, 2026 08:10
Copy link
Contributor

@arvindk-softwaredev arvindk-softwaredev left a comment

Choose a reason for hiding this comment

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

/lgtm

@openshift-ci openshift-ci bot added the lgtm Looks Good to Me Label label Mar 17, 2026
@openshift-ci
Copy link
Contributor

openshift-ci bot commented Mar 17, 2026

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: anwesha-palit-redhat, arvindk-softwaredev

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Details Needs approval from an approver in each of these files:
  • OWNERS [anwesha-palit-redhat]

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@openshift-ci
Copy link
Contributor

openshift-ci bot commented Mar 17, 2026

@anwesha-palit-redhat: The following test failed, say /retest to rerun all failed tests or /retest-required to rerun all mandatory failed tests:

Test name Commit Details Required Rerun command
ci/prow/images f9bcbd9 link true /test images

Full PR test history. Your PR dashboard.

Details

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

@arvindk-softwaredev arvindk-softwaredev merged commit 14a239b into openshift-pipelines:master Mar 17, 2026
3 of 5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

approved Label for Approved PRs jira/valid-reference lgtm Looks Good to Me Label

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants