You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In #1898 we removed all examples except the default one from the docs page to address performance issues.
This now has the downside that the Vue code for the remaining examples can not be shown/copied by the users.
To fix this, we want to contribute to Storybook by implementing a new "Code" panel when viewing a single story which shows the current code snippet with copy functionality. There is also an existing discussion in the Storybook repository which appreciates this new feature: storybookjs/storybook#26691
We already contributed a lot to Storybook to improve the code snippet generation itself (see Storybook PRs) so not being able to view/copy the code snippets would be a big bummer.
Design
Acceptance criteria
Single Storybook stories show a new "Code" panel which shows the current code snippet
JoCa96
added
0-refinement
All issues that can or need to be estimated in our next refinement
and removed
0-refinement
All issues that can or need to be estimated in our next refinement
labels
Oct 2, 2024
Why?
In #1898 we removed all examples except the default one from the docs page to address performance issues.
This now has the downside that the Vue code for the remaining examples can not be shown/copied by the users.
To fix this, we want to contribute to Storybook by implementing a new "Code" panel when viewing a single story which shows the current code snippet with copy functionality. There is also an existing discussion in the Storybook repository which appreciates this new feature: storybookjs/storybook#26691
We already contributed a lot to Storybook to improve the code snippet generation itself (see Storybook PRs) so not being able to view/copy the code snippets would be a big bummer.
Design
Acceptance criteria
Definition of Done
Approval
Implementation details
The text was updated successfully, but these errors were encountered: