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

How can I customize the UI? #1576

Closed
flatoy opened this issue Aug 2, 2017 · 12 comments
Closed

How can I customize the UI? #1576

flatoy opened this issue Aug 2, 2017 · 12 comments

Comments

@flatoy
Copy link

flatoy commented Aug 2, 2017

I'm looking at the REAME under storybook/lib/ui and I dont understad In what file I'm supposed to use the renderStorybookUI method.

Could you specify the filenames and paths for the example code in the README?

In the storybook/lib/ui/example you use a new webpack-dev-server with a new webpack config, does that mean I should change the webpack config in the .storybook directory in my project to have a new entry point which is a file containing renderStorybookU?

@ndelangen
Copy link
Member

Here's where this function is called in the react app:
https://github.com/storybooks/storybook/blob/master/app/react/src/client/manager/index.js

@ndelangen
Copy link
Member

ndelangen commented Aug 2, 2017

If you want to customize the Storybook UI visually this is currently very impractical.
There are options for changing the 'logo text' and url on the top left, via addon/options.
So if this is all you wanted: 🎉

It's also possible to inject css using a manager-head.html, but because of the lack of css classes selecting elements will be a major pain. Besides theming something by adding css overrides is fragile!

What we want to do in the near future is port the components used in lib/ui to lib/components. And we also want to redo their styling using glamorous.

Then to finish the epic, we'll expose an api to wrap any of the storybook components with a user-provided component. Allowing full customizability. This is on our roadmap.

Work on migrating the components to lib/components has started.

@stale
Copy link

stale bot commented Oct 31, 2017

Hi everyone! Seems like there hasn't been much going on in this issue lately. If there are still questions, comments, or bugs, please feel free to continue the discussion. We do try to do some housekeeping every once in a while so inactive issues will get closed after 90 days. Thanks!

@stale stale bot added the inactive label Oct 31, 2017
@ndelangen
Copy link
Member

Related: #2101 (work in progress)

@stale stale bot removed the inactive label Oct 31, 2017
@stale
Copy link

stale bot commented Dec 15, 2017

Hi everyone! Seems like there hasn't been much going on in this issue lately. If there are still questions, comments, or bugs, please feel free to continue the discussion. Unfortunately, we don't have time to get to every issue. We are always open to contributions so please send us a pull request if you would like to help. Inactive issues will be closed after 60 days. Thanks!

@stale stale bot added the inactive label Dec 15, 2017
@ndelangen
Copy link
Member

Anyone interested in helping out?

@stale
Copy link

stale bot commented Jan 30, 2018

Hi everyone! Seems like there hasn't been much going on in this issue lately. If there are still questions, comments, or bugs, please feel free to continue the discussion. Unfortunately, we don't have time to get to every issue. We are always open to contributions so please send us a pull request if you would like to help. Inactive issues will be closed after 60 days. Thanks!

@stale stale bot added the inactive label Jan 30, 2018
@davidowens
Copy link

@ndelangen If I can help, I'd be more than happy to chip in. The design team on my project would like the pattern library to use more of the patterns :)

Is #2101 the best place to join in?

@stale stale bot removed the inactive label Feb 6, 2018
@danielduan
Copy link
Member

@davidowens thanks for offering to help.

@ndelangen I'm gonna ask you to create a new issue (or issues) to define what this change would look like, where to start, etc. so it's easier for someone to pick up the work without having to read through all this.

@ndelangen
Copy link
Member

@davidowens Sorry your kind offer for help slipped under my radar for so long. If you'd like, I can invite you to our slack (or you can self-invite). We have @orta currently working on some redesign work. I'm sure you could provide valuable insight what your team would like changed to the storybook app.

Very much interested in what sort of changes you'd like to make to the app 🙇

@orta
Copy link
Member

orta commented Apr 3, 2018

Yep, definitely interested!

@danielduan
Copy link
Member

I'm gonna close this issue since there's nothing actionable here.

For anyone who's interested in helping out with the redesign, please find us on Slack. There's a link in the README at the root of the repo.

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

5 participants