Skip to content

feat: Update PulpUI to PatternFly 6 #339

Description

@Redtigercod4

Summary

PatternFly 6 brings a fleet of a new components and upgrades following PatternFly 5. To enable the migration to React 19, PatternFly needs to be upgraded. A codemod has been generated by the RedHat team to convert most changes across automatically but some components might require manual intervention. In this case, it is proposed that more generic primitive components are designed so that they are reused throughout, avoiding multiple unique implementations.

Tasks

  • Understand current dependency requirements for all @patternfly packages.
  • Update Package Files: Bump @patternfly/patternfly, @patternfly/react-core, @patternfly/react-table to 6.6.1.
  • Deploy @patternfly/pf-codemods to identity and convert deprecated functionality to new standards if possible.
  • Manually migrate components, if they are unable to be updated by the codemod.
  • Run Cypress test & run UI build steps.
  • Document minor issues found for future attention within Github Issues.

Deprecated Components for manual migration

  1. Modal
  2. Select
  3. Dropdown
  4. Dropdown Toggle
  5. KebabToggle

Found Blockers (To be updated throughout work)

N/A

Notes

  • 183 problems (180 errors, 3 warnings)
  • 137 errors and 0 warnings potentially fixable
  • 46 problems (43 errors, 3 warnings) need manual intervention

References

  1. https://www.patternfly.org/releases/upgrade-guide#notable-changes
  2. https://www.npmjs.com/package/@patternfly/patternfly
  3. https://www.npmjs.com/package/@patternfly/react-core
  4. https://www.npmjs.com/package/@patternfly/react-table

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions