-
Notifications
You must be signed in to change notification settings - Fork 71
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
Figma file is not loaded properly #243
Comments
Not able to reproduce with my draft file on Please check the response of |
Hey @pocka I'm having a similar issue with the URL from Figma and my bet is: that Figma changed something internally and still didn't updated the My URL from Figma offered to the storybook is something like the one mentioned at #244 (and similar to #242)
And I noticed that other URLs I have (and is still working) are in this format:
So while questioning myself on what's essential to render considering that I just wanted to see the Figma file and opening instead of having a broken experience I started to remove
With this change, it worked for my case. The Thanks for your plugin! 🙏 |
Again, please check the response of It's possible some their/our changes broke handling for addon-designs/packages/storybook-addon-designs/src/manager/components/Figspec.tsx Line 102 in 8e63a56
If a URL does not match to our regular expression, Figspec embed displays something like "Failed to load Figma file <URL> is not a valid Figma URL." |
Affected design types
Describe the bug
When using the figspec, Figma file is not loaded properly:
I can hover on Figma file items and see their styles, but they still are not visible.
Am I doing something wrong? I'm not sure that the issue is related to accessToken, since I can see styles.
BTW, type Figma works well with the same url.
Environment
Affected versions
8.0.2
Storybook versions
8.1.8
The text was updated successfully, but these errors were encountered: