You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
But I think it's super useful if we can solve that "oh you changed the design spec silently!?" problem with this addon 😝
It's hard or impossible to detect differences from the last time visited because the Figma preview is sandboxed (I mean, iframe). The idea I came up with to overcome this limitation, is saving a rendered image fetched via API or a hash of it with CLI then compare it with the previous one (like image snapshot testing).
Developer implements component
Developer runs the snapshot command
Designer updates the design
Developer runs the snapshot command, changes detected
What do you think? Will that solve your problem?
If anyone has ideas, please feel free to comment on here!
Using a hash to compare is a great idea and might be one that I entertain in the future when time permits. There were two other approaches that are floating up in the air for me. Mabl has visual testing capabilities which can be used and Chromatic seems like it might be worth it to look into integrating with this add-on. I'll post on here as I come across anymore ideas and/or discoveries.
Is there a way to notify Storybook that there were changes to the Figma design for a component since it was last visited?
The text was updated successfully, but these errors were encountered: