Skip to content
This repository has been archived by the owner on Nov 10, 2017. It is now read-only.

Remember panel sizes in local-storage. #62

Closed
philcockfield opened this issue Nov 24, 2016 · 5 comments
Closed

Remember panel sizes in local-storage. #62

philcockfield opened this issue Nov 24, 2016 · 5 comments

Comments

@philcockfield
Copy link

Cross referencing this issue over to the actual repo: storybookjs/storybook#466


Would be great if the action-logger panel, and the index panel, didn't not lose their size between page loads.

image

ndelangen pushed a commit that referenced this issue Apr 2, 2017
Fix issue where hot reloaded updates were not rendered
benediktvaldez added a commit that referenced this issue Apr 5, 2017
save height of down panel in local storage #62
ndelangen pushed a commit that referenced this issue Apr 10, 2017
Add react-storybook-addon-chapters
@willowcheng
Copy link

Would love to see that width can be remembered if down panel is configured to be displayed on right.

@ndelangen
Copy link
Contributor

PR is very much welcome @willowcheng ❤️

@benediktvaldez
Copy link
Contributor

Does this previous change not solve this issue as well @willowcheng ? Haven't tried it out though, but if not, it could at least be an idea of how to tackle it.

https://github.com/storybooks/storybook-ui/pull/74/files#diff-45accb91d04d726de15be9e2a89530ebR172

@willowcheng
Copy link

Hi @benediktvaldez, it actually works and I thought it's already available to newest storybook release.

Created #80 to remember both width and height in case of use cases that need to switch panel position. I found that by dragging splitter and then changing down panel position, the height would be instantly carried to width without applying rendering, no idea how to solve it.

@ndelangen
Copy link
Contributor

Please open an issue over at the new repo if you're still experiencing this issue, thanks!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Development

No branches or pull requests

4 participants