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
Impossible to use the Notes addon as a panel #9480
Comments
Yay!! I just released https://github.com/storybookjs/storybook/releases/tag/v5.3.4 containing PR #9486 that references this issue. Upgrade today to try it out! Closing this issue. Please re-open if you think there's still more to do. |
Just tried 5.3.4, still getting the same error. Only we are using |
@EvgenyOrekhov Can you remove |
@shilman
module.exports = {
stories: ["../stories/**/*.stories.js"],
addons: [
"@storybook/addon-knobs",
"@storybook/addon-actions",
"@storybook/addon-links",
{
name: "@storybook/addon-storysource",
options: {
loaderOptions: {
prettierConfig: {
printWidth: 80,
singleQuote: false,
trailingComma: "none",
arrowParens: "always"
}
}
}
},
"@storybook/addon-viewport",
"@storybook/addon-notes/register-panel",
"@storybook/addon-a11y",
"@storybook/addon-backgrounds"
]
}; Storybook dependencies in {
"@babel/core": "^7.8.3",
"@storybook/addon-a11y": "^5.3.4",
"@storybook/addon-actions": "^5.3.4",
"@storybook/addon-backgrounds": "^5.3.4",
"@storybook/addon-knobs": "^5.3.4",
"@storybook/addon-links": "^5.3.4",
"@storybook/addon-notes": "^5.3.4",
"@storybook/addon-storysource": "^5.3.4",
"@storybook/addon-viewport": "^5.3.4",
"@storybook/addons": "^5.3.4",
"@storybook/ember": "^5.3.4",
"@storybook/source-loader": "^5.3.4",
"@storybook/theming": "^5.3.4",
"babel-loader": "^8.0.6",
"ember-cli-storybook": "^0.1.0",
} |
I can confirm that the problem is still present with v5.3.4. @shilman, would you mind re-opening this issue? |
I see the problem, will fix in the next release. |
I can confirm that v5.3.5 fixes the issue. Thanks @shilman! 🙏 |
Son of a gun!! I just released https://github.com/storybookjs/storybook/releases/tag/v5.3.5 containing PR #9497 that references this issue. Upgrade today to try it out! |
Describe the bug
Using the new configuration format, it is not possible to use the "Notes" addon as a panel anymore.
To Reproduce
Here is our
main.js
, as documented here:When starting up Storybook with
start-storybook --config-dir storybook --port 9001 --static-dir .
, we get the following errors:Storybook starts up but the "Notes" tab is missing.
Expected behavior
We expect the "Notes" tab to appear as a panel when using the documented format:
When using the following
main.js
:Storybook starts correctly and the "Notes" tab is available, but obviously not as a panel:
System:
The text was updated successfully, but these errors were encountered: