-
Notifications
You must be signed in to change notification settings - Fork 30
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
Upgrade to Patternfly 5 #1107
Upgrade to Patternfly 5 #1107
Conversation
packages/mco/components/create-dr-policy/select-cluster-list.tsx
Outdated
Show resolved
Hide resolved
Select as SelectNext /* data-codemods */, | ||
SelectOption as SelectOptionNext /* data-codemods */, | ||
SelectList as SelectListNext /* data-codemods */, | ||
SelectGroup as SelectGroupNext /* data-codemods */, |
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.
shouldn't we remove /* data-codemods */
comments now ?
packages/mco/components/modals/app-data-policies-status/subscriptions/dr-status-table.tsx
Outdated
Show resolved
Hide resolved
{t('No assigned data policy found')} | ||
</Title> | ||
<EmptyStateHeader | ||
titleText={<>{t('No assigned data policy found')}</>} |
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.
titleText={<>{t('No assigned data policy found')}</>} | |
titleText={t('No assigned data policy found')} |
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.
Expects React.ReactNode
packages/mco/components/modals/app-manage-policies/helper/pvc-details-wizard-content.tsx
Outdated
Show resolved
Hide resolved
@@ -460,18 +462,14 @@ export const StorageClassEncryption: React.FC<ProvisionerProps> = ({ | |||
return ( | |||
<div className="ocs-storage-class__form"> | |||
<Form> | |||
<FormGroup | |||
fieldId="storage-class-encryption" | |||
helperTextInvalid={t('This is a required field')} |
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.
Ignoring helperTextInvalid?
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.
added a comment to add it in future as bug fix
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.
ack
<HelperText> | ||
{isValid(kms.apiKey.valid) === ValidatedOptions.error && ( | ||
<HelperTextItem | ||
variant={isValid(kms.apiKey.valid) ? 'default' : 'error'} |
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.
variant={isValid(kms.apiKey.valid) ? 'default' : 'error'} | |
variant={isValid(kms.apiKey.valid) } |
1d1d648
to
45c8912
Compare
Updates @openshift-console sdk to 1.0.0 Signed-off-by: Bipul Adhikari <badhikar@redhat.com>
@@ -1,7 +1,7 @@ | |||
import * as fs from 'fs'; | |||
|
|||
const pluginName = process.env.PLUGIN; | |||
const MAX_ASSET_SIZE = 3; //3 MiB | |||
const MAX_ASSET_SIZE = 17; //17 MiB |
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.
is this intentional ? or were you testing something ?
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.
Yes I will dicuss with ocp team later to reduce bundle size
/retest |
/test odf-console-e2e-aws |
1 similar comment
/test odf-console-e2e-aws |
/override ci/prow/odf-console-e2e-aws |
@SanjalKatiyar: Overrode contexts on behalf of SanjalKatiyar: ci/prow/odf-console-e2e-aws 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. |
/lgtm |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: bipuladh, SanjalKatiyar 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 |
need to merge this in order to send/test followup CI fixes on |
7bc97d8
into
red-hat-storage:master
@@ -80,7 +81,9 @@ const ManagedApplicationsModal: React.FC<CommonModalProps> = (props) => { | |||
isInline | |||
> | |||
{t('Continue to Applications page')} | |||
<ArrowRightIcon size={IconSize.sm} className="pf-u-ml-sm" /> | |||
<Icon size="sm"> | |||
<ArrowRightIcon className="pf-u-ml-sm" /> |
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.
there are other references in this file too...
<ArrowRightIcon className="pf-u-ml-sm" /> | |
<ArrowRightIcon className="pf-v5-u-ml-sm" /> |
size={IconSize.sm} | ||
className="pf-u-mr-sm" | ||
/> | ||
<OutlinedQuestionCircleIcon className="pf-u-mr-sm" /> |
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.
there are other references in this file too...
<OutlinedQuestionCircleIcon className="pf-u-mr-sm" /> | |
<OutlinedQuestionCircleIcon className="pf-v5-u-mr-sm" /> |
@@ -202,6 +204,7 @@ const ProtectedAppsTableRow: React.FC< | |||
<Td translate={null} isActionCell> | |||
<ActionsColumn | |||
items={getRowActions(t, launcher, navigate, application)} | |||
translate={null} |
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.
this file as well, contains references to PF4 classes...
@@ -1,10 +1,10 @@ | |||
.ocs-preview-badge { | |||
&.pf-c-label { |
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.
now we will have to override PF5 classes, I guess...
&.pf-c-label { | |
&.pf-v5-c-label { |
@@ -1,10 +1,10 @@ | |||
.ocs-preview-badge { | |||
&.pf-c-label { | |||
--pf-c-label--BackgroundColor: #d93f00; | |||
--pf-c-label--BorderRadius: var(--pf-global--BorderRadius--sm); | |||
--pf-c-label--BorderRadius: var(--pf-v5-global--BorderRadius--sm); |
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.
aren't these variable names gonna get changed too ??
--pf-c-label--BorderRadius: var(--pf-v5-global--BorderRadius--sm); | |
--pf-v5-c-label--BorderRadius: var(--pf-v5-global--BorderRadius--sm); |
@@ -62,7 +62,6 @@ export const PaginatedsListPage: React.FC<PaginatedsListPageProps> = ({ | |||
</GridItem> | |||
<GridItem md={4} sm={12}> | |||
<Pagination | |||
perPageComponent="button" |
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.
this file contains ref to PF4 classes too...
@@ -63,11 +63,7 @@ export const ComposableTable: ComposableTableProps = < | |||
NoDataEmptyMsg={noDataMsg} | |||
skeleton={<div className="loading-skeleton--table pf-u-mt-lg" />} |
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.
PF4 refs in this file...
@@ -101,7 +102,7 @@ export const SelectableTable: SelectableTableProps = < | |||
data={sortedRows} | |||
skeleton={<div className="loading-skeleton--table pf-u-mt-lg" />} |
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.
PF4 refs...
@@ -103,7 +103,7 @@ const Table: React.FC<TableProps> = React.memo( | |||
NoDataEmptyMsg={noDataMsg} | |||
skeleton={<div className="loading-skeleton--table pf-u-mt-lg" />} |
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.
PF4...
Major changes:
......