We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Describe the bug With storyStoreV7 feature enabled overriding story name with storyName property in CSF3 format doesn't works.
storyStoreV7
storyName
To Reproduce
npx sb@next repro
features: { storyStoreV7: true, },
.storybook/main.js
src/stories/Button.stories.tsx
export const Primary: ComponentStoryObj<typeof Button> = { args: { primary: true, label: 'Button', }, storyName: "Override using storyName" }; export const Secondary: ComponentStoryObj<typeof Button> = { args: { label: 'Button', }, name: "Override using name" };
System
Environment Info: System: OS: Linux 5.13 Ubuntu 21.10 21.10 (Impish Indri) CPU: (8) x64 Intel(R) Core(TM) i7-8650U CPU @ 1.90GHz Binaries: Node: 14.18.1 - ~/.volta/tools/image/node/14.18.1/bin/node Yarn: 1.22.15 - ~/.volta/tools/image/yarn/1.22.15/bin/yarn npm: 8.5.0 - ~/.volta/tools/image/npm/8.5.0/bin/npm Browsers: Chrome: 98.0.4758.102 Firefox: 97.0
Additional context Initially reported at storybookjs/builder-vite#253 Most suspicious code found during debug: https://github.com/storybookjs/storybook/blob/main/lib/store/src/normalizeStory.ts#L47-L51
The text was updated successfully, but these errors were encountered:
Yippee!! I just released https://github.com/storybookjs/storybook/releases/tag/v6.5.9-alpha.0 containing PR #18464 that references this issue. Upgrade today to the @prerelease NPM tag to try it out!
@prerelease
npx sb upgrade --prerelease
Closing this issue. Please re-open if you think there's still more to do.
Sorry, something went wrong.
Yowza!! I just released https://github.com/storybookjs/storybook/releases/tag/v6.5.9 containing PR #18464 that references this issue. Upgrade today to the @latest NPM tag to try it out!
@latest
npx sb upgrade
Zoinks!! I just released https://github.com/storybookjs/storybook/releases/tag/v7.0.0-alpha.2 containing PR #18464 that references this issue. Upgrade today to the @future NPM tag to try it out!
@future
No branches or pull requests
Describe the bug
With
storyStoreV7
feature enabled overriding story name withstoryName
property in CSF3 format doesn't works.To Reproduce
npx sb@next repro
features: { storyStoreV7: true, },
to.storybook/main.js
src/stories/Button.stories.tsx
to rewrite using CSF3 formatSystem
Additional context
Initially reported at storybookjs/builder-vite#253
Most suspicious code found during debug:
https://github.com/storybookjs/storybook/blob/main/lib/store/src/normalizeStory.ts#L47-L51
The text was updated successfully, but these errors were encountered: