Skip to content

Open in Panel #468

@psychemedia

Description

@psychemedia

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.

image

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.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions