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

Modal - automate updating from deprecated Modal to new implementation #810

Open
thatblindgeye opened this issue Dec 20, 2024 · 0 comments
Open
Labels

Comments

@thatblindgeye
Copy link
Collaborator

Follow up to comments in #808 and breaking change PR patternfly/patternfly-react#10799. This also would rely upon #809 getting in first.

We should provide a codemod that helps consumers automate an upgrade from the deprecated Modal (which will have had its import path updated to the deprecated directory as part of another codemod) to the current composable implementation. This would include:

  • updating the import path back to non-deprecated
  • importing other subcomponents
  • grabbing certain props from Modal and creating a new structure based on those props
  • removing props from Modal

Required actions:

  1. Build codemod
  2. Build test
  3. Update readme with description & example
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Status: Needs triage
Development

No branches or pull requests

1 participant