Skip to content

OpenProject is the leading open source project management software for product, project and portfolio management. A powerful Jira alternative with agile planning, issue tracking, roadmaps, Gantt charts, time tracking, collaboration features, and more. Available on premises or in the cloud. ⭐ Star us on GitHub

Show pages first, then previews

Oliver Güntherca0ac755662e
diff --git a/config/initializers/lookbook.rb b/config/initializers/lookbook.rb
index 7278a9d4b67..10f1c1874e6 100644
--- a/config/initializers/lookbook.rb
+++ b/config/initializers/lookbook.rb
@@ -17,6 +17,8 @@ Rails.application.configure do
Primer::ViewComponents::Engine.root.join('previews').to_s
]
+ # Show pages first, then previews
+ config.lookbook.preview_inspector.sidebar_panels = [:pages, :previews]
# Show notes first, all other panels next
config.lookbook.preview_inspector.drawer_panels = [:notes, "*"]
config.lookbook.ui_theme = "blue"