Skip to content
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

Custom storybook UI #313

Closed
necolas opened this issue Jul 14, 2016 · 7 comments
Closed

Custom storybook UI #313

necolas opened this issue Jul 14, 2016 · 7 comments

Comments

@necolas
Copy link
Contributor

necolas commented Jul 14, 2016

I'm starting to use storybook for react-native-web - https://necolas.github.io/react-native-web/storybook - and internally at Twitter. In both cases, we could benefit from customising the UI outside of the iframe. For example:

  • something more whitelabel that can be themed with React Native or Twitter brand styles (e.g., replace "React Storybook" with our own logo, style the sidebar)

  • support for a deeper hierarchy

    "APIs" -> "StyleSheet" -> stories
    "Components" -> "Touchable" -> stories

  • works on mobile (e.g., doesn't rely on keyboard shortcuts or mouse controls to change view modes)

Are there any plans in this vain – or is there any interest?

@arunoda
Copy link
Member

arunoda commented Jul 14, 2016

I think you are referring to this: https://github.com/kadirahq/storybook-ui
We also started to work with the React Native.

I think we could add more features into the storybook-ui and then simply upgrade the version in this repo.

Is this something you looked for?

@arunoda
Copy link
Member

arunoda commented Jul 14, 2016

BTW: It's nice to see you guys started to using storybook and that's a nice storybook :)

And add some better mobile support is important. I think we can talk this on the storybook-ui repo.

@necolas
Copy link
Contributor Author

necolas commented Jul 14, 2016

Oh I see, thanks. Using storybook-ui directly feels more like developing another app which is something I want to avoid at the moment. But perhaps we can eventually help adapt storybook-ui to support some basic skinning and better mobile support. I see you already have storybook-eol/storybook-ui#4.

@arunoda
Copy link
Member

arunoda commented Jul 14, 2016

I think we could work more features directly into the storybook-ui and put it here.
There are still a few to merge. Implementing a mobile view is pretty important at this moment.
We will work on that.

@gabrielhpugliese
Copy link

gabrielhpugliese commented Nov 28, 2016

I want to do a single page with all stories, one on bottom of each other. Do you think it would be easy to do @arunoda ? If yes, how can I start doing that?

@ndelangen
Copy link
Member

The work needed to make Storybook 100% customizable is in progress, but it's a long process. and Will take #1209 to be done.

@ndelangen
Copy link
Member

There are quite a few issues about this:
#1360 #1107 #428

I'll close a few, but of course it IS on the roadmap.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants