-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
Migration to Patternfly v6 #21611
base: main
Are you sure you want to change the base?
Migration to Patternfly v6 #21611
Conversation
pkg/apps/application-list.jsx
Outdated
@@ -150,17 +150,17 @@ export const ApplicationList = ({ metainfo_db, appProgress, appProgressTitle, ac | |||
} else { | |||
refresh_progress = null; | |||
refresh_button = ( | |||
<Button variant="secondary" onClick={refresh} id="refresh" aria-label={ _("Update package information") }> | |||
<RebootingIcon /> | |||
<Button icon={<RebootingIcon />} variant="secondary" onClick={refresh} id="refresh" aria-label={_("Update package information")}> |
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.
You mentioned that this is just a stylistic thing, as there are tons of changes regarding to PF6 I think it makes sense to keep this codemod turned off
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 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.
Well there is a small margin but that's fine IMO
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.
Removed from codemods for now and commit updated
<Toolbar className="ct-alert-toolbar"> | ||
<ToolbarContent> | ||
<ToolbarGroup spaceItems={{ default: "spaceItemsMd" }}> |
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.
So this no longer does any layout, what replaces this?
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.
IIRC I changed this after messing about with the wrap issue. Can check soon
|
||
// REVIEW @Venefilyn: Is this still true? | ||
/* Import our own fonts since the PF4 font-face rules are filtered out in build.js */ |
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 is a good first prio target :)
</Text> | ||
</TextContent> | ||
</Content> | ||
</Content> |
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 still exists? https://www.patternfly.org/components/text/#textcontent
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.
That's a v5 component and not in v6. Somehow the link albeit removed is still there showing v5 stuff. After the discussion on Matrix on Friday about it I've created upstream issues about it
243148a
to
4bc7573
Compare
TODO: Add documentation about this
`npx @patternfly/class-name-updater ./pkg --v6 --fix`
WIP while we work through what can be skipped, what can be improved before merging, and what is fine to merge
To redo codemod simply reset the commit, revert changes you don't want, and run
button-moveIcons-icon-prop
is excluded as it only makes it have a small margin (can be added later)menuToggle-warn-iconOnly-toggle
same as above icon exclusionhelperTextItem-warn-screenReaderText-update
is excluded for now as things should work still for most casesItems fixed or documented
When we are about to merge these should all be on our minds so we can fix either in this or preferably in upcoming PRs
<Content>
, need to be verified manually post-merge TextContent + Text results in two Content components patternfly/pf-codemods#825@patternfly/patternfly/*-theme-dark.css
stuff is removed due to PF Tokensrem
instead--pf-v5-global--spacer--
need to be renamed to--pf-t--global--spacer--
EmptyStateIconProps
andEmptyStateHeaderProps
are merged intoEmptyStateProps
iframes
usePage
component as it should but we need an override to prevent whitespace in its grid Page - Allow main grid without sidebar and masthead patternfly/patternfly#7357--pf-t--global--icon--color--status--info--default
All new upstream issues deriving from this upgrade
Related PRs