-
Notifications
You must be signed in to change notification settings - Fork 495
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
Migrate the JupyterLab preview extension to JLab2 #555
Conversation
…available in the Browser
@jtpio This is working for me on JLab2. |
Thanks @echarles, this looks good! |
@@ -66,7 +68,7 @@ class VoilaRenderButton | |||
const button = new ToolbarButton({ | |||
className: "voilaRender", | |||
tooltip: "Render with Voila", | |||
iconClassName: VOILA_ICON_CLASS, | |||
iconClass: VOILA_ICON_CLASS, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good thing the icons still support this 👍
We could update to LabIcon
at a later stage (in a separate PR).
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yeah I have been suprised it was still working fine with that. Upgrading to LabIcon
also popped up in my mind for another PR.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It was fixed in jupyterlab/jupyterlab#7947 (icons as css background)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks!
This PR intent is to migrate the JupyterLab preview extension to JLab2.
For now the code builds, I still need to check if the functionality is not degraded.