Skip to content

Set default Storybook layout to show sidebar, toolbar, and addons panel#102

Merged
einari merged 1 commit into
mainfrom
chore/storybook-default-layout
Jun 12, 2026
Merged

Set default Storybook layout to show sidebar, toolbar, and addons panel#102
einari merged 1 commit into
mainfrom
chore/storybook-default-layout

Conversation

@einari

@einari einari commented Jun 12, 2026

Copy link
Copy Markdown
Contributor

Changed

  • Storybook now always opens with the sidebar, toolbar, and addons panel (Controls/Actions/Interactions) visible, regardless of any previous browser localStorage state.

Without explicit layout config, Storybook reads from localStorage — meaning
users who previously hid the panel or nav would see them hidden on return,
and the first load on a fresh session might show no panel at all. Pinning
navSize, bottomPanelHeight, panelPosition, showToolbar, and showTabs in
addons.setConfig makes the sidebar + toolbar + controls panel visible by
default regardless of prior localStorage state.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@einari einari added the patch label Jun 12, 2026
@einari einari merged commit bc49ae1 into main Jun 12, 2026
4 checks passed
@einari einari deleted the chore/storybook-default-layout branch June 12, 2026 12:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant