-
Notifications
You must be signed in to change notification settings - Fork 150
Closed
Labels
Description
Currently, proxied apps appear to be opened into a new browser tab from a launcher button.
In contrast, upyterlab-pytutor
is opened from a JupyterLab notebook toolbar and opened into a panel, with code from one or more selected code cells passed into the iframe via a an encoded iframe URL parameter.

Poking through the code, the extension creates a panel that contains an iframe.
In some situations, it might be useful to be able to open a proxied service in to a panel, perhaps defined via a config setting:
{
'command': [...],
'environment': ...,
'timeout': ...,
'launcher_target': 'tab' | 'panel_iframe'
'launcher_entry': {
'title': ...
'icon_path': ...
}
}
Clicking on the launcher with an iframe target would then open the created URL in a iframe in a panel inside JupyterLab.