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

Embed all jupyterlab-manager plugins #1396

Merged
merged 2 commits into from
Sep 15, 2023

Conversation

trungleduc
Copy link
Member

@trungleduc trungleduc commented Sep 15, 2023

References

A patch-level fix for #1392

Code changes

In order to render properly the widgets, Voila needs tokens coming from 4 plugins of @jupyter-widgets/jupyterlab-manager: managerPlugin, baseWidgetsPlugin, controlWidgetsPlugin and outputWidgetPlugin. This PR changes the way Voila loads these plugins:

  • Before: Voila provides a replacement for managerPlugin, relies on the federated extensions to load baseWidgetsPlugin, controlWidgetsPlugin and outputWidgetPlugin

  • After: Voila provides a replacement for managerPlugin, embeds directly baseWidgetsPlugin, controlWidgetsPlugin and outputWidgetPlugin

User-facing changes

Backwards-incompatible changes

@github-actions
Copy link
Contributor

Binder 👈 Launch a Binder on branch trungleduc/voila/fix-ipywidgets-compat

@trungleduc trungleduc added the bug Something isn't working label Sep 15, 2023
@trungleduc trungleduc marked this pull request as ready for review September 15, 2023 14:52
Copy link
Member

@martinRenou martinRenou left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚀

@martinRenou
Copy link
Member

We need to use nodejs 17 in the ui-tests now

@trungleduc
Copy link
Member Author

UI tests pass

@trungleduc trungleduc merged commit 17d0ea3 into voila-dashboards:main Sep 15, 2023
21 of 23 checks passed
@trungleduc trungleduc deleted the fix-ipywidgets-compat branch February 2, 2024 09:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants