-
Notifications
You must be signed in to change notification settings - Fork 443
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
Codemod v3 slots improvements #1746
Codemod v3 slots improvements #1746
Conversation
@Spone can we merge it at the current state? I included this class in Polaris ViewComponents v1 release and tested upgrade on a couple production apps. It works great. Even if the current implementation is not perfect it will be beneficial to have it shipped with ViewComponent now when people are doing upgrades to v3. In a couple of months this will be less useful I suppose. |
I agree. What do you think @joelhawksley? |
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.
I like the idea of getting this into main
even if it isn't perfect ❤️
Gemfile
Outdated
@@ -14,7 +14,7 @@ group :test do | |||
gem "cuprite", "~> 0.8" | |||
gem "puma", "~> 5" | |||
|
|||
gem "selenium-webdriver", "~> 4" | |||
gem "selenium-webdriver", "~> 4", "< 4.9.1" |
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.
Do you still need this? I'm wary of introducing such a restriction as it is something we'll have to eventually remove.
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 it
Co-authored-by: Hans Lemuet <[email protected]>
Co-authored-by: Hans Lemuet <[email protected]>
@joelhawksley please note that this PR is a contribution to #1669. We'll need to make a final review there once merged. |
Let's wrap this up in #1669! |
This PR includes improvements for #1669:
bin/rails view_component:detect_legacy_slots
bin/rails view_component:migrate_legacy_slots