parmentelat / jupyterlab-nbhosting

BSD 3-Clause "New" or "Revised" License
0 stars 0 forks source link

too many items in the menus #3

Closed parmentelat closed 1 year ago

parmentelat commented 1 year ago

the following submenus / buttons are too wide and need to be disabled

in File jp-mainmenu-file

in View jp-mainmenu-view

in Settings jp-mainmenu-settings

in Help jp-mainmenu-help

side notes:

parmentelat commented 1 year ago

concerning ViewOpen as NbClassic, this could be a simple way to open the notebook in a more friendly layout - no side decoration

however I wonder about possible side-efffects I suspect the 2 open views (one in FUN, one in the standalone tab) are writing the same file without coordination this needs to be tested more

parmentelat commented 1 year ago

about scrubbing the remaining menu entries, see:

https://discourse.jupyter.org/t/is-there-a-way-to-introspect-the-mainmenu/

essentially

it was also mentioned that a more user-friendly interface to the MainMenu class would have been welcome, e.g. for deleting entries based on a regexp..

parmentelat commented 1 year ago

killer approach was to use disabledExtensions in package.json which is much more effective than trying to turn off individual menu entries

parmentelat commented 1 year ago

should be good in 0.4.1

parmentelat commented 1 year ago

in a further iteration, we will remove the following entries in mainmenu