Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

format: "new" setting only generates one storybook link #26

Open
alphanumericone opened this issue Jun 16, 2020 · 3 comments
Open

format: "new" setting only generates one storybook link #26

alphanumericone opened this issue Jun 16, 2020 · 3 comments

Comments

@alphanumericone
Copy link

When specifying format: "new" in the configuration, even if multiple stories are manually configured for the component, only a single storybook link will be generated.

@yuqu
Copy link
Contributor

yuqu commented Jun 29, 2020

Hey @alphanumericone, I couldn't reproduce this issue. Could you share a sample configuration?

@alphanumericone
Copy link
Author

{
"plugins": [
{
"name": "@zeplin/cli-connect-react-plugin"
},
{
"name": "@zeplin/cli-connect-storybook-plugin",
"config": {
"url": "http://localhost:6006",
"format": "new",
"targetUrl": "https://targetLocation"
}
}
],
"projects": [],
"styleguides": ["styleguideID"],
"components": [
{
"path": "src/AppBar/app-bar.component.js",
"zeplinNames": [
"Nav / Global / Inventory+",
"Nav / Global / CRM",
"Nav / Global / iDMS"
],
"storybook": {
"kind": "Surfaces/AppBar",
"stories": ["Basic", "Advanced", "Icons"]
}
}
],
"bitbucket": {
"user": "dealersocket",
"repository": "web.lib.ds-ui-react",
"branch": "master"
}
}

@yuqu
Copy link
Contributor

yuqu commented Jul 1, 2020

I was able to generate 4 links (3 manual + 1 auto) using the configuration you sent. Do you use the latest version on both CLI and its plugins?

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants