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

Introduce portable stories support for Web components #28891

Open
Tracked by #29531 ...
yannbf opened this issue Aug 15, 2024 · 0 comments · May be fixed by #30047
Open
Tracked by #29531 ...

Introduce portable stories support for Web components #28891

yannbf opened this issue Aug 15, 2024 · 0 comments · May be fixed by #30047

Comments

@yannbf
Copy link
Member

yannbf commented Aug 15, 2024

When running portable stories tests with a setup file that does:

import { setProjectAnnotations } from "@storybook/web-components"

setProjectAnnotations([])

the renderToCanvas annotation is used, which is the most important bit that provides PS support for a renderer.

This issue encompasses:

  • Checking how much effort it actually is to add PS support for Web Components
  • Seeing how feasible are the tests (because of shadow-dom)
  • Updating the storybook add postinstall script to allow installation for this renderer
  • Updating docs
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant