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

Error and broken playground stories after other stories (pre)load #68363

Open
stokesman opened this issue Dec 28, 2024 · 1 comment
Open

Error and broken playground stories after other stories (pre)load #68363

stokesman opened this issue Dec 28, 2024 · 1 comment
Labels
Storybook Storybook and its stories for components

Comments

@stokesman
Copy link
Contributor

Reproduction steps:

  1. Visit https://wordpress.github.io/gutenberg/
  2. Select one of the stories under "Playground" > "Block Editor"
  3. Hover over the "BlockCard" story group (under the "blockeditor" root)
    Note: there are other story groups one can hover instead and still reproduce the error
  4. Select one of the other stories under "Playground" > "Block Editor"

Screen recording

storybook-playground-error.mp4

More

It seems that any story that imports store from @wordpress/block-editor sets up the error. The import doesn't have to be in the story source itself and can be in one of the dependencies.

@stokesman stokesman added the Storybook Storybook and its stories for components label Dec 28, 2024
@Infinite-Null
Copy link
Contributor

Infinite-Null commented Dec 29, 2024

Hi @stokesman,
Thank you for reporting this issue. I was able to reproduce the behavior successfully.

Screenshot:

Image

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

No branches or pull requests

2 participants