-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
feat: codemod to enable v12 tile radio icons #18364
base: main
Are you sure you want to change the base?
feat: codemod to enable v12 tile radio icons #18364
Conversation
✅ Deploy Preview for v11-carbon-web-components ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
✅ Deploy Preview for carbon-elements ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
✅ Deploy Preview for v11-carbon-react ready!Built without sensitive environment variables
To edit notification comments on pull requests, go to your Netlify site configuration. |
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #18364 +/- ##
==========================================
- Coverage 84.17% 84.13% -0.04%
==========================================
Files 408 408
Lines 14435 14441 +6
Branches 4660 4643 -17
==========================================
Hits 12150 12150
- Misses 2120 2126 +6
Partials 165 165 ☔ View full report in Codecov by Sentry. |
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 looks pretty good to me! 👍 Could you share the steps and command you're using to test locally?
Also I don't think there will be any interop issues with .tsx files, but could a .tsx test fixture be added just to be sure?
packages/upgrade/transforms/__testfixtures__/enable-v12-tile-radio-icons.input.js
Outdated
Show resolved
Hide resolved
<FeatureFlags someOtherFlag> | ||
<TileGroup legend="Other Attribute" name="other-wrapped"> | ||
<RadioTile id="other-1" value="other-1"> | ||
Other Flag Option 1 | ||
</RadioTile> | ||
</TileGroup> | ||
</FeatureFlags> |
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.
Tile's unique in that it has 2 javascript flags available right now. Adding another test for enable-v12-tile-default-icons
, or changing someOtherFlag
to enableV12TileDefaultIcons
would make sure future changes here don't alter that specifically.
packages/upgrade/transforms/__tests__/enable-v12-tile-radio-icons-test.js
Show resolved
Hide resolved
…adio-icons.input.js Co-authored-by: Taylor Jones <[email protected]>
Co-authored-by: Taylor Jones <[email protected]>
…ons-test.js Co-authored-by: Taylor Jones <[email protected]>
Closes #18350
Enable v12 tile radio icons via feature flags
Changelog
New
Removed
Testing / Reviewing