-
-
Notifications
You must be signed in to change notification settings - Fork 9.4k
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
Option to hide the action logger #192
Comments
Yes. That's via keyboard shortcuts. |
Sorry, should've been more specific. I meant is there a way to permanantly disable it from a configuration perspective, not at runtime. I'd love to use that area to display code examples instead, since my app doesn't use Redux I read this section about customizing the UI https://github.com/kadirahq/react-storybook/blob/master/docs/configure_storybook.md#customizing-the-ui, but it links to a dead file https://raw.githubusercontent.com/kadirahq/react-storybook/master/src/client/ui/layout.js |
Ah okay. That's a nice feature. |
You can simply remove it via our custom addons.js file. Or you can hide it by adding |
Just to clarify, because it wasn't clear to me:
This means adding an import '@kadira/storybook-addon-links/register'; |
I've added an empty addons.js file to my .storybook folder, and I no longer get the action logger, but I still have a down panel that just states "No Panels Available". It seems the down panel should just be hidden in this case? Is there any way to make it so that the down panel is hidden by default? Ideally I wouldn't have to add a query param every time to hide it. |
This is great except for this:
|
@mrchief Why not use it globally (in |
@Hypnosphi I'm trying to create a storybook where some of the stories will need the action panel. While some are simply CodeSandbox embeds. For those, I would like to claim the whole screen area and so would disable the action panel completely. You can see it here: https://github.com/dowjones/react-dropdown-tree-select/tree/storybook |
For posterity: This is now possible by configuring
See https://github.com/storybookjs/storybook/tree/master/addons/options for more details |
while that is technically true, you will need to add |
@kriskate if that's the case, you should be able to set it globally to true, since parameters cascade. (haven't tested for this specific case, but am certain cascading works) |
thanks @shilman , just tried doing so and it works. I've set The only inconvenience right now is that in order for this to work, you have to write your stories the old fashioned, non-exports way:
LE: Taken from #9175 (comment)
|
For future reference, you can remove the actions tabs globally in
|
Is there an option to hide the action logger?
The text was updated successfully, but these errors were encountered: