fix: use controls exclude for fixed story props#22163
Conversation
✅ Deploy Preview for v11-carbon-web-components ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
✅ Deploy Preview for v11-carbon-react ready!Built without sensitive environment variables
To edit notification comments on pull requests, go to your Netlify project configuration. |
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #22163 +/- ##
==========================================
- Coverage 95.10% 95.10% -0.01%
==========================================
Files 548 548
Lines 45599 45599
Branches 6582 6520 -62
==========================================
- Hits 43367 43366 -1
- Misses 2102 2103 +1
Partials 130 130
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
maradwan26
left a comment
There was a problem hiding this comment.
The Definition Tooltip stories in React can use some cleaning up, too. WithLargeText is trying to hide controls that are already being excluded .
2830de7
|
Hey there! v11.107.0 was just released that references this issue/PR. |
No issue. #22008 (comment)
Used
parameters.controls.excludefor fixed story props instead ofargTypes.table.disable.Changelog
Changed
parameters.controls.excludefor fixed story props instead ofargTypes.table.disable.Testing / Reviewing
I updated the Storybook stories to use
parameters.controls.excludefor props that are fixed by the story and only need to be hidden from the Controls panel. I kept, what seemed to be, intentionally undocumented, deprecated, or otherwise unusable props onargTypes.table.disable.PR Checklist
As the author of this PR, before marking ready for review, confirm you:
Wrote passing tests that cover this changeAddressed any impact on accessibility (a11y)Tested for cross-browser consistencyMore details can be found in the pull request guide