Skip to content

add mount_lookbook configuration option#4470

Open
Paul-Bob wants to merge 4 commits into
4-devfrom
mount_lookbook
Open

add mount_lookbook configuration option#4470
Paul-Bob wants to merge 4 commits into
4-devfrom
mount_lookbook

Conversation

@Paul-Bob
Copy link
Copy Markdown
Contributor

Description

Avo no longer mounts Lookbook automatically. Lookbook can only be mounted once per app, so this avoids conflicts when the host app already mounts Lookbook.

Opt in via routes:

mount_avo mount_lookbook: true

Default is off (mount_lookbook: false).

Paul-Bob and others added 3 commits May 15, 2026 10:51
- Introduced a new configuration option `mount_lookbook` in Avo, allowing users to control the mounting of the Lookbook engine.
- Updated the routes to conditionally mount Lookbook based on the new configuration.
- Added tests to verify the default behavior and the effect of the `mount_lookbook` option.
Comment thread spec/features/avo/lib/mount_avo_spec.rb
Comment thread spec/features/avo/lib/mount_avo_spec.rb
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants