-
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
chore(AI Label): web components - rename Slug to AI Label #17739
chore(AI Label): web components - rename Slug to AI Label #17739
Conversation
✅ 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!
To edit notification comments on pull requests, go to your Netlify site configuration. |
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #17739 +/- ##
=======================================
Coverage 80.14% 80.14%
=======================================
Files 406 406
Lines 14029 14029
Branches 4391 4363 -28
=======================================
Hits 11243 11243
+ Misses 2620 2619 -1
- Partials 166 167 +1 ☔ View full report in Codecov by Sentry. |
✅ Deploy Preview for v11-carbon-web-components ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
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 LGTM.
One question, will this break things for anyone currently using the Slug? I know in React we kept the slug export with the rename/move to stable, but wasn't sure if there was a similar way to do that in web components.
Oh hmm yeah it would break for folks, I was assuming since it was in experimental we would be able to rename without worrying about it being a breaking change. We could keep Slug around as its own component and I add a check to the components that can have the AI Label to see if they're using |
7d70b23
to
2aa30ca
Compare
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.
awesome updates! LGTM!
b543079
Hey there! v11.69.0 was just released that references this issue/PR. |
…ign-system#17739) * chore: rename ai slug to ai label * chore: rename to ai-label * chore: rename slug example to ai-label * chore: add ai label to form group stories * chore: rename handle slug slot change methods * chore: all stories shifted * fix: fix radio-button with ai-label * fix: modal ai-label styles * chore: rename test files to ai-label * chore: add space between AI and Label in docs * chore: undo changes to tearsheet and side-panel * chore: keep slug component as deprecated * chore: restore readme * fix: specify js extensions for icon imports (carbon-design-system#17818) * chore: add extensions to icons in stories * fix: show actions for playground and datatable sort * fix: catch both slug and ai-label in event handlers
Closes #17697
This PR renames the
slug
component toai-label
in the web-components package and brings it out of experimental.To prevent a breaking change, we are keeping the
slug
component and its references in the related components.Changelog
Changed
With AI Label
story) for:slug
and related properties toai-label
AI Label
component within the stable "Components" section of storybookcds-slug
andcds-slug-action-button
componentsRemoved
Testing / Reviewing
View the new separate
With AI Label
stories for each of the components listed above in the deploy preview