zeplin / storybook-zeplin

Storybook addon to view Zeplin resources in story panel
https://storybook-zeplin.netlify.app
MIT License
115 stars 16 forks source link

Cannot use Zeplin links with seid parameter #58

Closed mannyblum closed 2 years ago

mannyblum commented 2 years ago

Good day!

I was trying out this plugin today and ran into an issue. All the examples use a coid param in zeplin URLs but Zeplin now seems to use an seid param instead.

parameters: {
    zeplinLink: 'https://app.zeplin.io/project/PROJECT_ID/styleguide/components?seid=COMPONENT_ID'
},

The Zeplin tab in storybook shows me the following message:

Zeplin link is invalid.

You are currently logged in as USERNAME. If you prefer using another account, you can log out first.

has anyone else run into this?

yuqu commented 2 years ago

seid refers to a component section. Make sure to get a component link by selecting the component.