mmh352 / ou-container-builder

0 stars 2 forks source link

Jupyter-server-proxy application icon #49

Open psychemedia opened 2 years ago

psychemedia commented 2 years ago

In JupyterLab settings, an icon is used to launch the proxied applications from the launcher (or whatever it's called).

In the Jupyter-server-proxy config, we'd have something like:

'command': ['refine', '-p', '{port}','-d', openrefine_path],
        'environment': {},
        'launcher_entry': {
            'title': 'OpenRefine',
            'icon_path': os.path.join(os.path.dirname(os.path.abspath(__file__)), 'icons', 'openrefine.svg')
        }

It would be useful to have an icon_path option in the web_apps definition for an app, as well as guidance on where the icon file should be placed in the directory structure.