-
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
<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 :)
243148a
to
4bc7573
Compare
5f90de6
to
81053eb
Compare
9183612
to
71f7cf5
Compare
2dacca0
to
67d6842
Compare
Run `eslint:fix` to replace tabs with spaces.
Drop unused Alert import.
Fix rule-empty-line-before
stylelint liberty/use-logical-spec
sytlelint liberty/use-logical-spec
stylelint rule-empty-line-before
In Chromium, the menu is directly hanging off `<body>`, not as a child of `#zoom-control`.
Same "menu is now detached from element" change.
What remains is the bogus screen-reader text, but let's fix this more centrally.
Restrict the hammer.gif size, as otherwise it would take the entire screen width.
Dropdown menu is no longer attached to the element but attaches directly to body.
Don't consider `.pf-v6-screen-reader` sub-elements of ph_text() elements. Current PF6 version forces some extra screen-reader only junk: patternfly/patternfly-react#11678 We will fix this properly (via PF), but it breaks a number of tests.
Makes it so it only applies to HelperTextItems
Acceptance criteria
Notes
Set up pushing to Freya's branch:
git pull --rebase
Current tasks
Easiest is if we fix the codebase per test case. It should reduce the merge conflicts as well. Some test cases might overlap like networkmanager test cases. The tests might fail due to selectors not being updated or because the page or component it's testing hasn't been upgraded to Patternfly v6. They may also fail purely because of pixel changes.
Assign yourself to a test case to fix and assign yourself like this.
check-a
@VenefilynIf you're done and tests pass in GitHub, or it only fails because of pixel changes and these look ok, click the checkbox. If you see that tests already pass and no one is assigned then assign yourself anyway to show that you've verified them. If the pixel change shows brokenness, judge if it is a blocker (and must be fixed in this PR), or can be a followup -- then make sure it appears in the list below.
/test/verify
check-apps
@Venefilyncheck-bots-api
@Venefilyncheck-client
@Venefilyncheck-connection
@Venefilyncheck-embed
@Venefilyncheck-examples
@Venefilyncheck-kdump
check-lib
@martinpittcheck-loopback
check-metrics
@martinpittcheck-networkmanager-basic
@martinpitt (needs followup fix, see below)check-networkmanager-bond
@martinpittcheck-networkmanager-bridge
@martinpittcheck-networkmanager-checkpoints
@martinpittcheck-networkmanager-firewall
@martinpitt (needs followup fix for table headers, see below)check-networkmanager-mac
@martinpittcheck-networkmanager-mtu
@martinpitt (needs followup fix, see below)check-networkmanager-other
@martinpittcheck-networkmanager-settings
@martinpitt (needs followup fix, see below)check-networkmanager-team
@martinpittcheck-networkmanager-unmanaged
@martinpittcheck-networkmanager-vlan
@martinpittcheck-networkmanager-wireguard
@martinpitt (needs followup fix, see below)check-packagekit
@martinpittcheck-packages
check-pages
@martinpittcheck-reauthorize
check-selinux
@martinpitt (needs followup fix, see below)check-session
check-shell-active-pages
@Venefilyncheck-shell-host-switching
@Venefilyncheck-shell-keys
@Venefilyn(needs followup fix, auto-generated pf-screen-reader text)worked aroundcheck-shell-menu
@Venefilyncheck-shell-multi-machine
@Venefilyncheck-shell-multi-machine-key
@Venefilyncheck-shell-multi-os
@Venefilyncheck-sosreport
@martinpittcheck-ssh-api
@martinpittcheck-static-login
check-storage-anaconda
@tomasmatuscheck-storage-basic
@martinpittcheck-storage-btrfs
@tomasmatuscheck-storage-format
check-storage-hidden
check-storage-ignored
check-storage-iscsi
check-storage-luks
@martinpittcheck-storage-lvm2
@tomasmatuscheck-storage-mdraid
@tomasmatuscheck-storage-mounting
@martinpitt (needs followup fix, see below)check-storage-msdos
check-storage-multipath
check-storage-nfs
@tomasmatuscheck-storage-partitions
check-storage-raid1
check-storage-resize
check-storage-scaling
check-storage-smart
check-storage-stratis
@tomasmatus -- known issue; but the pixel failure cancels the naughty match; once we accept pixel update it'll be finecheck-storage-swap
check-storage-unrecognized
check-storage-unused
check-storage-used
@martinpitt (needs follow-up fix for dialog table headers and description list)check-storage-vdo
check-superuser
@martinpitt (needs follow-up fix, see below; plus the multi-host shell crash, same as with check-shell-multi-machine)check-system-info
check-system-journal
check-system-realms
@martinpitt fixed most of itwhat remains is the auto-generated bogus pf-screen-reader textworked aroundcheck-system-services
@Venefilyncheck-system-shutdown-restart
@martinpitt; okexcept for the bogus pf-screen-reader textworked aroundcheck-system-terminal
@martinpittcheck-system-tuned
check-testlib
check-users
@Venefilyn (auto-generated pf-screen-reader textworked around)check-users-roles
@Venefilyncheck-ws-bastion
@martinpitt (it's fine)Description
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 casesAnd for renaming CSS classes
Items 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
Regressions which are acceptable to be fixed in a follow-up (before next release)
Related PRs