Skip to content

fix: restore notebook layouts with ipyvuetify 3 - #1293

Merged
maartenbreddels merged 1 commit into
widgetti:masterfrom
EwoutH:fix/embedded-sidebar-vue3
Dec 1, 2026
Merged

maartenbreddels merged 1 commit into
widgetti:masterfrom
EwoutH:fix/embedded-sidebar-vue3

Conversation

@EwoutH

@EwoutH EwoutH commented Nov 17, 2026 •

Copy link
Copy Markdown
Contributor

Jupyter notebooks using solara.Sidebar() lose their toolbar and sidebar launcher with ipyvuetify 3, logging [Vuetify] Could not find injected layout. Entering fullscreen has the same error, and standalone sidebar launchers render without their menu icon.

This change:

  • Uses an inline toolbar for embedded Vue 3 layouts and binds the menu activator through x.props, letting the menu handle its click.
  • Supplies a Vue 3 layout context inside fullscreen dialogs, so the drawer, app bar and main content render and the exit button works.
  • Renders explicit navigation icon children, which the widget's empty default slot otherwise hides.

Adds browser coverage for sidebar controls, closing/reopening the menu, fullscreen entry and exit, and the visible standalone navigation icon. Includes a changelog entry. Vue 2 behavior remains covered.

Fixes #1292. Fixes #1294. Fixes #1295.
Related: mesa/mesa#4133.

Validation

  • Both AppLayout browser tests and both AppLayout unit tests pass with ipyvue/ipyvuetify 3.1.1 and with ipyvue 1.13.0 / ipyvuetify 1.12.0 (Windows, Starlette, headless Chrome).
  • The updated sidebar/fullscreen assertions pass in a real JupyterLab 4.6.6 notebook with Vue 3, without browser errors. Controls update reactive state in fullscreen and after returning to embedded mode.
  • Mesa's Boltzmann Wealth notebook toolbar, sidebar and Step button were verified with Vue 3 during the initial fix.
  • Ruff 0.11.11 lint and formatting checks pass.

Use an inline toolbar and Vue 3 menu activator bindings in embedded layouts, provide a layout context in fullscreen dialogs, and render explicit navigation icons. Cover sidebar controls, fullscreen entry and exit, and visible menu icons in browser tests.

Assisted-by: GPT-6
@EwoutH
EwoutH force-pushed the fix/embedded-sidebar-vue3 branch from 63a6bec to e9f9655 Compare November 17, 2026 16:10
@EwoutH EwoutH changed the title fix: restore embedded sidebar with ipyvuetify 3 fix: restore notebook layouts with ipyvuetify 3 Nov 17, 2026
@EwoutH

EwoutH commented Nov 19, 2026

Copy link
Copy Markdown
Contributor Author

@maartenbreddels could you or one of your colleagues review and if good merge this? We would love to have this fix in before releasing the next Mesa version. Otherwise we're going to pin, track and update versions. We would love to have this properly fixed upstream for everyone.

@EwoutH

EwoutH commented Nov 22, 2026

Copy link
Copy Markdown
Contributor Author

Friendly ping @maartenbreddels @mariobuikhuizen: would one of you have time to review this? It fixes the notebook sidebar, fullscreen and app bar icon with ipyvuetify 3 (#1292, #1294, #1295), which fresh installs now get.

We're releasing Mesa 3.5.3 without a cap for now and point notebook users to pip install "ipyvue<3" "ipyvuetify<3" as a workaround. We'd much rather have this fixed in Solara for everyone, so happy to adjust anything. Thanks!

@EwoutH

EwoutH commented Nov 25, 2026

Copy link
Copy Markdown
Contributor Author

@maartenbreddels @mariobuikhuizen can I help in any way?

@maartenbreddels
maartenbreddels merged commit 421ec3d into widgetti:master Dec 1, 2026
34 of 35 checks passed
@maartenbreddels

Copy link
Copy Markdown
Contributor

Thanks for the fix Ewout! A release will be available soon.

@maartenbreddels

Copy link
Copy Markdown
Contributor

This is released in Solara 1.66.4 (changelog).

@EwoutH

EwoutH commented Dec 1, 2026

Copy link
Copy Markdown
Contributor Author

Thanks!

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

Labels

None yet

Projects

None yet

2 participants