Skip to content
This repository has been archived by the owner on Nov 28, 2024. It is now read-only.

Upgrade to Patternfly 5 and SDK 1.1.0 #94

Merged
merged 1 commit into from
Mar 20, 2024

Conversation

upalatucci
Copy link
Collaborator

@upalatucci upalatucci commented Mar 20, 2024

upgrade to patternfly 5
openshift console webpack 1.0.1
openshft console SDK 1.1.0 (to get the rowSearchFilters)

@openshift-ci openshift-ci bot requested review from metalice and yaacov March 20, 2024 11:40
@upalatucci upalatucci changed the title Upgrade to Patternfly 5 Upgrade to Patternfly 5 and SDK 1.1.0 Mar 20, 2024
@pcbailey
Copy link
Collaborator

@upalatucci It looks good to me, but I'll let Aviv and Matan review it first since they dealt with the upgrades on kubevirt-plugin.

Copy link
Collaborator

@avivtur avivtur left a comment

Choose a reason for hiding this comment

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

Nice work Ugo :)
Left you with a few comments/questions, Thank you!

package.json Show resolved Hide resolved
src/utils/components/PolicyForm/PolicyInterface.tsx Outdated Show resolved Hide resolved
src/utils/components/PolicyForm/PolicyInterface.tsx Outdated Show resolved Hide resolved
src/utils/components/PolicyForm/PolicyInterface.tsx Outdated Show resolved Hide resolved
import { MenuToggle, MenuToggleElement, MenuToggleProps } from '@patternfly/react-core';

const DropdownToggle = ({ children, ...props }: MenuToggleProps) =>
function DToggle(toggleRef: Ref<MenuToggleElement>) {
Copy link
Collaborator

Choose a reason for hiding this comment

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

why mixing both arrow function and native function syntax? Please stick with arrow function notation

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

I transformed the inside arrow function into a native function as typescript error raise about react component without displayName

src/utils/components/Toggles/KebabToggle.tsx Show resolved Hide resolved
src/utils/components/Toggles/SelectToggle.tsx Show resolved Hide resolved
webpack.config.ts Outdated Show resolved Hide resolved
@upalatucci upalatucci force-pushed the patternfly-5 branch 6 times, most recently from 36817a6 to ec67fb0 Compare March 20, 2024 14:32
Copy link
Contributor

openshift-ci bot commented Mar 20, 2024

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: avivtur, upalatucci

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-merge-bot openshift-merge-bot bot merged commit c1bd823 into nmstate:main Mar 20, 2024
3 checks passed
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants