Ensure playground stories have working controls
See original GitHub issueEvery component in the storybook sidebar should have a Playground story, those stories should have operable controls.
High level checklist for each component:
- Move
.stories.js
file out ofnext
folder, or create.stories.js
file and copy contents of*-story.js
file over. - Remove deprecated
knobs
package and usage. - Ensure there is a playground story
- Add
argtypes
to playground story - Pass
...args
to playground story, spread them on the applicable component(s) - Make sure values are defined to enable controls view by default
- https://github.com/carbon-design-system/carbon/issues/11249
FAQ:
- What if there’s no playground story but other stories have controls enabled on them?
- Ignore these components for now, we need to prioritize getting controls working for components that have nothing right now.
Checklist
- #11467
- #12351
- #11468
- #11463
- #11469
- #11471
- #11472
- https://github.com/carbon-design-system/carbon/issues/11894
- #11564
- #11719
- #11565
- #11716
- https://github.com/carbon-design-system/carbon/issues/11954
- #11717
- components/Dropdown/next/Dropdown.stories.js
- #12161
- #12224
- components/FluidForm/FluidForm-story.js
- components/Form/next/Form.stories.js
- #12339
- #12250
- #12248
- #12249
- ~components/Heading/Heading-story.js~
- #12584
- #12352
- #12255
- components/Layer/next/Layer.stories.js
- #11464
- #12162
- components/Modal/next/Modal.stories.js
- #11718
- #11562
- #11823
- components/NumberInput/next/NumberInput.stories.js
- #12145
- #12226
- #12271
- #12272
- #12273
- components/Popover/next/Popover.stories.js
- components/ProgressBar/ProgressBar-story.js
- components/ProgressBar/next/ProgressBar.stories.js
- #12227
- components/RadioButton/RadioButton-story.js
- components/RadioButton/next/RadioButton.stories.js
- #12353
- components/Select/Select-story.js
- #12448
- components/SkeletonPlaceholder/SkeletonPlaceholder-story.js
- components/SkeletonText/SkeletonText-story.js
- components/Slider/Slider-story.js
- components/Slider/next/Slider.stories.js
- components/Stack/next/Stack.stories.js
- components/StructuredList/StructuredList-story.js
- components/StructuredList/next/StructuredList.stories.js
- #12251
- components/Tag/Tag-story.js
- #12583
- #12228
- components/TextInput/next/TextInput.stories.js
- components/Theme/next/Theme.stories.js
- components/Tile/next/Tile.stories.js
- #12356
- components/Toggle/Toggle-story.js
- components/ToggleSmall/ToggleSmall-story.js
- components/Toggletip/next/Toggletip.stories.js
- components/Toolbar/Toolbar-story.js
- components/Tooltip/Tooltip-story.js
- components/Tooltip/next/Tooltip.stories.js
- components/TooltipDefinition/TooltipDefinition-story.js
- components/TooltipIcon/TooltipIcon-story.js
- components/TreeView/TreeView-story.js
- components/TreeView/next/Treeview.stories.js
- #11606
- #12447
- #12486
- #12487
- #12488
- #12489
- #12490
- #12491
- #12510
- Storybook controls: Revisit Pagination nav
- #12588
- #12589
- #12664
Issue Analytics
- State:
- Created 2 years ago
- Comments:6 (6 by maintainers)
Top Results From Across the Web
Update Accordion.stories.js to include a playground ... - GitHub
Checklist Move .stories.js file out of next folder, or create .stories.js file and copy contents ... Ensure playground stories have working controls #10751....
Read more >Playground Safety (for Parents) - Nemours KidsHealth
Swings, slides, and climbing equipment have different safety concerns. And some kinds of equipment are not safe for playgrounds, no matter how careful...
Read more >Swift Playground Books - cleanswifter.com
Swift Playground Books are going to usher in creative new ways to learn a programming language, and I can't wait, here's an overview...
Read more >School Playground Safety Guide | Landscape Structures, Inc.
Find information about school playground safety and state regulations that apply to your location. View our playground safety checklist to learn more.
Read more >Using Playground Design to Minimize Bullying - Playworld
Cooperative play ensures children get a chance to socialize and to work together, which can help build bridges, even across differences, ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Just an fyi @tay1orjones and @tw15egan I am handling
For TextInput in this pr => https://github.com/carbon-design-system/carbon/pull/12139
I also plan to open a pr to help out with more of these soon
@TannerS
next
folder deleted.