Adds UI mode switch to session menu. UI mode is saved per project (working directory).
Zen Mode is the simplified Single document mode. It is an alternative to Classic Notebook view.
Custom mode is the default mode that comes with JupyterLab and restores user's layout configuration. Other modes reset the layout based on the selection whenever a new session is created.
[x] Introduce UI modes
[x] Make Zen Mode default for opening single notebook files by double clicking or from CLI
[x] Expose UI modes in settings dialog and CLI
cc. @bollwyvl I looked into supporting Jupyter Notebook mode but it was not feasible. It didn't seem to worth the effort. The Zen Mode introduced in this PR is a good alternative for Classic Notebook view fans.
Adds UI mode switch to session menu. UI mode is saved per project (working directory).
Zen Mode is the simplified Single document mode. It is an alternative to Classic Notebook view.
Custom mode is the default mode that comes with JupyterLab and restores user's layout configuration. Other modes reset the layout based on the selection whenever a new session is created.
[x] Introduce UI modes
[x] Make Zen Mode default for opening single notebook files by double clicking or from CLI
[x] Expose UI modes in settings dialog and CLI
cc. @bollwyvl I looked into supporting Jupyter Notebook mode but it was not feasible. It didn't seem to worth the effort. The Zen Mode introduced in this PR is a good alternative for Classic Notebook view fans.