Open fcollonval opened 8 months ago
Just for reference: What needs to be done on the nbdime side here?
As notebook v7 is using the JupyterLab command defined there: https://github.com/jupyter/nbdime/blob/2f856dac3b889d48fb0cf2140335e6a78afaa49f/packages/labextension/src/plugin.ts#L212
The issue comes from the isEnabled
logic and the addition of the widget to the shell:
As it will be a no-op in notebook v7: https://github.com/jupyter/notebook/blob/29d665dbac144d143d843168da9823cab6498b0a/packages/application/src/shell.ts#L318
There are ways to now if the extension is running within JupyterLab or Notebook:
app.name
(like in that extension e.g.)Those could be used to tune the command behavior.
Related issue opened in notebook : https://github.com/jupyter/notebook/issues/7134
Here are some issues reported targeting notebook 7: