-
Notifications
You must be signed in to change notification settings - Fork 5k
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
Bump to JupyterLab 4.1.0a4 #7166
Conversation
I believe this is mostly jupyterlab/jupyterlab#15021 CC @brichet |
Yes probably, I'll look at it @jtpio |
Bumping the latest Now some tests are failing when trying to do file manipulations via the file browser toolbar: notebook/ui-tests/test/filebrowser.spec.ts Lines 20 to 83 in ef1f8db
d3efbeff9e3336758817295039be2073bc8d89e4.webm |
So the remaining issue now are: Refresh File List button label Probably related to the switch to Left icon for the interface switcher toolbar button If this is the way to go or if there are reasons to do this w.r.t accessibility then it's fine to leave it this way (we'll just update the reference snapshots) Some CSS inconsistencies on the file action buttons (wrong height) Some other tests are failing due to snapshot comparison because of some minor style update, but we can just update the reference snapshots. |
The web components embed the content into shadow DOM, which change the CSS selectors. To fix it for the Switch to jupyterlab icon, the selector
|
Also a selector to change at notebook/packages/tree/style/base.css Line 45 in ef1f8db
to |
There will probably be some other side effect, like the padding left of the interface switcher icon notebook/packages/lab-extension/style/base.css Lines 21 to 25 in ef1f8db
which should be .jp-nb-interface-switcher-button
> .jp-ToolbarButtonComponent
> svg {
padding-left: 3px;
} |
That one is more tricky, since it's not only about style but also about accessibility. Currently these We should include these buttons as direct child of the filebrowser toolbar. |
OK that makes sense, thanks @brichet for providing these details 👍 |
There is also #7137 about the interface switcher that was created during review. @brichet would you have time to add the example style changes that extension authors may need to make to the extension migration guide section? https://jupyterlab.readthedocs.io/en/latest/extension/extension_migration.html#use-of-ui-toolkit-for-toolbar-and-toolbarbuttoncomponent |
Closing in favor of #7172. |
Update to the freshly released
4.1.0a4
: https://github.com/jupyterlab/jupyterlab/releases/tag/v4.1.0a4