Closed hugokerstens closed 8 months ago
Oh that's unexpected. Thanks for reporting this. Indeed I can confirm the issue on Binder. Do you have the same issue if you call these commands from the command palette too?
I can reproduce the bug too. It is wierd that it occurs only on notebook. I am in a conference all this week. I will look into it next week unless someone wants to have a look at it before. I did not notice any obvious errors in browser console while executing these commands.
We should add UI tests for notebook as well like we do for Lab. Ref #1192
No worries @mahendrapaipuri, the fix for this can wait - you should make the most of your conference! If I had to make a guess I would say that there have not been many extensions for Jupyter Notebook 7 yet, so using extensions there might be a less well tested area?
Well, JupyterLab extensions should work out-of-the-box with Notebook 7 (except for JupyterLab's launcher
part). That was the design objective of Notebook 7 .So, all the extensions of JupyterLab 3 that have been upgraded to JupyterLab 4 should work with Notebook 7 (as long as we use JupyterLab's Launcher
as optional dependency in the extension).
I will check next week, but it could be that notebook tracker behaving differently in JupyterLab and Notebook.
@hugokerstens @mwouts Could you please provide me detailed steps on how to reproduce the behavior on Lab and Notebook? Cheers!!
Hey @mahendrapaipuri , here are the detailed steps to reproduce:
jupyter notebook
)Clicking a second time does not deselect the menu entry, and the notebook metadata continues to be
jupytext:
formats: md:myst,ipynb
Cheers @mwouts for the instructions. I have the same behaviour with JupyterLab too. What I mean is I cannot unpair markdown notebook in the JupyterLab interface either. In the original comment @hugokerstens mentioned that the unpairing works on JupyterLab.
@mwouts Could you please test it on JupyterLab and confirm that unpairing does not work on JupyterLab too? Cheers!!
When working in a md file from jupyter notebook I am unable to unpair the ipynb notebook. I tried to unpair ipynb in two ways:
In both cases,
jupyter.jupytext.formats: md,ipynb
is unchanged in the metadata, and the ipynb output is saved.This issue is not present when using jupyterlab, where the two ways I described above to disable pairing work as intended.
Versions used: