Conversation
95739cb
to
7b80d2c
Compare
3f2f49a
to
d4a9b5a
Compare
This also requires adding the See jupyterlab/jupyterlab@acd909b#diff-e0a6c733b0412c3c723f4e521c837291 for more info |
src/index.ts
Outdated
@@ -137,7 +120,7 @@ class DebuggerHandler< | |||
shell: JupyterFrontEnd.IShell, | |||
debug: IDebugger, | |||
widget: W, | |||
client: IClientSession | Session.ISession | |||
client: Session.ISessionConnection |
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.
This is so much nicer ❤️
Thanks @jasongrout!
@@ -109,8 +109,7 @@ | |||
width: 35px; | |||
} | |||
|
|||
.jp-ToggleSwitch::before { | |||
content: ''; | |||
.jp-Toolbar-item .jp-ToggleSwitch svg { |
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.
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.
Agreed.
c3326c4
to
fa5b570
Compare
Tests pass locally but are failing on CI. Investigating. |
Updated the summary of the changes in the first comment, so this can serve as reference for other extensions and also help checking the JupyterLab changelog for 2.0. |
716dc14
to
e02ab04
Compare
There is now a warning logged to the dev tools console: This is probably a side-effect of the bump to React 16.9 in jupyterlab/jupyterlab#7661, and seems to originate from We might want to give a second try at upgrading |
7bdf673
to
cdd2e49
Compare
Marking this one as ready for review. Two things to investigate after as follow-ups:
We can take a look at these two points separately to keep the current PR focused on migrating to JupyterLab 2.0 only. cc @afshin |
@afshin let's do a |
Tests seem to be flakier than before. But this might as well be an issue with the tests and the kernel readiness not being awaited correctly. |
Adding a missing |
To do the upgrade, I created a new conda environment locally from scratch but haven't seen this. |
And also:
But that should be covered by the |
The |
It works in a brand new conda environment. I wonder what my issue is. |
Good question. We could try to reproduce a "manual upgrade" if that is worth the effort. |
The issue came from |
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.
Thank you! This looks good and works locally for me.
This PR is included in the JupyterLab 1.x to 2.x migration guide: jupyterlab/jupyterlab#7808 |
Fixes #336.
Fixes #208.
Summary of the changes
Here is a list of all the changes, so this PR can also serve as reference when updating other third-party extensions to JupyterLab 2.0
yarn.lock
file andnode_modules
folder.iconClassName
toiconClass
toolbar
from the consoleMainAreaWidget
to avoid special case for theConsolePanel
.svg
await client.kernel.ready
becomesawait sessionContext.session.kernel.info
to check when a kernel is ready