-
The problemWhen on-demand story loading is enabled, as per:
Environment
DetailsWe have been using Percy and Storybook together for some time, and were attempting to make use of the on-demand loading feature added in Storybook v6.4. But when we enabled it, as per the example in the docs, As a note, our Storybook deployments are password protected, via simple authentication. This has not caused any issues in the past, but to make sure I have tested with authentication disabled, and it causes no differing effects Debug logsSee above Code to reproduce issueConfigure the |
Beta Was this translation helpful? Give feedback.
Replies: 5 comments 7 replies
-
Hey @benedfit! Thanks for the info, can you provide a hosted storybook without auth if possible with this? Or a reproduction? The error that's thrown is we can't find this var on the window: https://github.com/percy/percy-storybook/blob/master/src/eval.js#L62 which is how we collect the list of stories. My hope is that var isn't missing with this setting (it's currently the only API they provide to gather a list of stories). |
Beta Was this translation helpful? Give feedback.
-
I can't link to the Netlify one unfortunately, as we have sensitive content. But here is another Storybook that I personally run; https://chipset.newhighsco.re/, that uses the same settings. It is worth noting that there is also an additional feature called |
Beta Was this translation helpful? Give feedback.
-
Bumb. We're currently testing storyStoreV7 as well. This feature is going to be the default in Storybook 7. https://storybook.js.org/blog/storybook-on-demand-architecture/
Supporting it as early as possible would be great. |
Beta Was this translation helpful? Give feedback.
-
At the moment this feature is experimental (from their docs):
We'll add a feature to the SDK to add support for |
Beta Was this translation helpful? Give feedback.
-
I can confirm that |
Beta Was this translation helpful? Give feedback.
I can confirm that
storyStoreV7
works with v4.3.0