Skip to content
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

Code no longer showing in each story's canvas #30289

Open
michela-rousseau-mxm opened this issue Jan 17, 2025 · 0 comments
Open

Code no longer showing in each story's canvas #30289

michela-rousseau-mxm opened this issue Jan 17, 2025 · 0 comments

Comments

@michela-rousseau-mxm
Copy link

Discussed in #30251

Originally posted by michela-rousseau-mxm January 13, 2025

Summary

Hi there! At my company we recently updated to Storybook 7 (I know, we're a bit behind) and we realized that the way stories are written has changed dramatically. We have highly customized components and we heavily rely on the docs page, which lists everything that concerns the component, from usage, import to all its props as a list of complex stories with interactive canvases written in MDX (one file per component). Since the update, we get "no code available" at the bottom of each story's canvas.

We tested the writing of a story with the utilities provided to aid the migration to the new format and realized it requires a lot of manual work for us (we have lots of components and lots of files), nearly as much as we were re-writing them from scratch. We were just wondering if there's something we're missing to help us speed up the process.
Thank you in advance for any help you may be able to provide!

Additional information

No response

Create a reproduction

No response

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant