Closed Bug 1917302 Opened 1 year ago Closed 1 year ago

Create form widget Storybook helpers

Categories

(Toolkit :: UI Widgets, task, P2)

task

Tracking

()

RESOLVED WONTFIX

People

(Reporter: mstriemer, Unassigned)

References

Details

(Whiteboard: [recomp])

Our form widgets have a common API of label/description/support-page/icon and writing stories manually for each component can be tedious. After we refactor our components to use common helpers in bug 1900122 it would be nice to do the same for the storybook attributes so that they are more consistent and it's easier to create new components

After some investigation, since Storybook depends on static ESM exports it doesn't appear to be possible to easily get a common list of stories and reexport them in the component's stories without copy/pasting the names of the stories. Because of that this doesn't feel super useful without discovering some other solution, so WONTFIX for now

Status: NEW → RESOLVED
Closed: 1 year ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.