-
Notifications
You must be signed in to change notification settings - Fork 96
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
Sidebar customisation improvements #556
Conversation
✅ Deploy Preview for lookbook-docs canceled.
|
@allmarkedup I've pulled the gem locally, and I can see that the section configuration is working, but I do not see the search appearing. Configuration setup:
Even if I disable all the configurations, I'm not seeing the search show up any longer: |
a11aa3f
to
8430db4
Compare
@cody-clio argh sorry, my bad, I was rushing things to get the PR up before I had to head out and made a stupid typo. Should be fixed now! |
@cody-clio Awesome, thanks for the feature requests that prodded me into action :) I'll merge this now and hopefully get a new release out in the next day or two. |
This PR adds config options to:
Sidebar panel order
This PR adds a
preview_inspector.sidebar_panels
config option that allows for the reordering (or omitting) of section panels in the Lookbook sidebar.The default value is
[:previews, :pages]
. Documentation hereSearch/filter inputs
This PR adds
preview_search
andpage_search
config options to hide or show the filter box UI for previews and pages respectively.For backwards compatibility preview search is enabled by default, but pages search is not.
Documentation for pages and previews.