Skip to content
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

ui: Upgrade to PatternFly v5 (PROJQUAY-6085) #2281

Merged
merged 2 commits into from
Oct 6, 2023
Merged

Conversation

jpuzz0
Copy link
Contributor

@jpuzz0 jpuzz0 commented Oct 3, 2023

Jira Issue #: https://issues.redhat.com/browse/PROJQUAY-6085

Summary

  • Ran @patternfly/pf-codemods
  • Ran @patternfly/class-name-updater
  • Manually updated all FormGroups with helper text to use separate HelperText components
  • Fixed cypress tests with updated selectors (Several were failing after the upgrade)
  • Minimal regression testing, which led to some minor style adjustments to achieve parity with existing presentations.

Notes

  1. There is a known issue with the latest DatePicker which was identified while updating this app, and reported here. The workaround implemented as a part of this PR is to default the date selection to 1 day after today. This allows for appropriate month navigation within the CalendarMonth component.

  2. Some deprecated components are still in use here (imported via @patternfly/react-core/deprecated). These are intentionally still exposed to provide teams with more time to address functional and syntactical changes required. This will be the next step in the process of migration to PFv5.

  3. Also, there are a handful of existing eslint & prettier issues amongst many of the files updated in this change. This is something that can be addressed in separate issues.

@app-sre-bot
Copy link
Collaborator

Can one of the admins verify this patch?

@jpuzz0 jpuzz0 changed the title PFv5 upgrade Upgrade to PatternFly v5 (PROJQUAY-6085) Oct 3, 2023
@dmage dmage changed the title Upgrade to PatternFly v5 (PROJQUAY-6085) ui: Upgrade to PatternFly v5 (PROJQUAY-6085) Oct 3, 2023
@jpuzz0 jpuzz0 force-pushed the pf-v5-upgrade branch 2 times, most recently from e8687ef to f39bbd0 Compare October 3, 2023 17:58
@codecov
Copy link

codecov bot commented Oct 3, 2023

Codecov Report

All modified lines are covered by tests ✅

see 3 files with indirect coverage changes

📢 Thoughts on this report? Let us know!.

dmage
dmage previously approved these changes Oct 6, 2023
@dmage dmage enabled auto-merge (squash) October 6, 2023 12:00
@dmage dmage merged commit 033bcf6 into quay:master Oct 6, 2023
15 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
3 participants