notebook icon indicating copy to clipboard operation
notebook copied to clipboard

Fix the default notebook windowing mode

Open jtpio opened this issue 1 year ago • 1 comments
trafficstars

https://github.com/jupyter/notebook/pull/7312 added a plugin to default to the defer windowing mode, because the full windowing mode still has CSS issues:

  • https://github.com/jupyter/notebook/issues/7231
  • https://github.com/jupyter/notebook/pull/7301

We should look into removing it. Or find a way to use defer but for Notebook 7 only, without setting the new value in the settings.

In https://github.com/jupyter/notebook/pull/7312#issuecomment-2044509935 @krassowski suggests:

It looks like you would need to override the notebookConfig in factory: https://github.com/jupyterlab/jupyterlab/blob/6152e3a5f94d728ccd2727d6d8413f12ddafb669/packages/notebook-extension/src/index.ts#L1867-L1898

An alternative would be to use setting transforms to change the default value temporarily.

jtpio avatar Apr 10 '24 08:04 jtpio

Seeing this behavior when trying in a fresh environment on Binder, from https://gist.github.com/jtpio/befb8ebf2b630b4748e2538f79877022:

notebook-default-defer.webm

jtpio avatar Apr 17 '24 11:04 jtpio