trungleduc / jupyter_app_launcher

A JupyterLab extension to create custom launcher entries.
https://jupyter-app-launcher.readthedocs.io/
BSD 3-Clause "New" or "Revised" License
53 stars 11 forks source link

Add notebook gridstack document #11

Closed trungleduc closed 1 year ago

trungleduc commented 1 year ago
github-actions[bot] commented 1 year ago

Binder :point_left: Launch a Binder on branch _trungleduc/jupyter_applauncher/app-doc

trungleduc commented 1 year ago

@nthiery I add the context menu for opening a notebook in dashboard mode. The layout issue was also fixed and was included in the 0.1.4

open-with

nthiery commented 1 year ago

Oh, wow, that was super quick!

I confirm that my notebook opens smoothly after pip installing the new version, with a proper layout. For the later, congrats on analyzing the issue even before I could provide you with a workable minimal example!

2 cents suggestion: what about: Open as -> 'GridStack App' rather than `Notebook GridStack'?

For now, the ipylab action is non functional. But that may well be on my side. I'll investigate further and provide you with usable feedback.

nthiery commented 1 year ago

There it is. The following minimal example requests the current JupyterLab session through ipylab. On the left as standard notebook; on the right as an app. The current session appears non empty on the left and empty on the right.

I am not quite surprised that this breaks at this fragile spot where the execution loop needs to be released to leave room for the interaction with the front end. But I don't have a good enough understanding of the inner working to find a correct way or workaround to achieve this.

image

test-jupyter-app-launcher-ipylab.ipynb.zip