Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow mulitple launchers to different paths for a single server #266

Open
bollwyvl opened this issue Apr 18, 2021 · 2 comments · May be fixed by #267
Open

Allow mulitple launchers to different paths for a single server #266

bollwyvl opened this issue Apr 18, 2021 · 2 comments · May be fixed by #267

Comments

@bollwyvl
Copy link
Collaborator

bollwyvl commented Apr 18, 2021

Proposed change

Allow a single server instance to open different URLs with different labels, icons, etc.

Even if a single path is given, it can be nice to pre-seed it with a specific path, including ? params and # fragments (#222). fixed by #279

Alternative options

Using multiple servers is unsatisfying if the route in question offers a number of different endpoints, each of which might be relevant, or in the case of Lab, might be interesting to have open simultaneously.

Some applications aren't particularly well-behaved (especially when run under a proxy) and need a little help to know where they are.

Who would use this feature?

  • the dask dashboard has a number of different views that can be launched
  • jupyterlite offers a number of applications (lab, classic) that can "talk" to each other and it would be nice to have a single server to run them

(Optional): Suggest a solution

In config, allow launcher_entry to be an array, requiring a name for each entry (to build predictable icon URLs). Probably also allow new_browser_tab to be set per-launcher, defaulting to the root one.

In the frontsend, a multi-launcher as a menu could have submenus:

JupyterLite >
  Lab
  Classic
  Book
Dask >
  Task Stream
  Profiler
  ...

Meanwhile, in the Lab launcher would draw multiple cards, command palette entries, etc.

@bollwyvl bollwyvl linked a pull request Apr 18, 2021 that will close this issue
@bollwyvl
Copy link
Collaborator Author

#267 is up with a proposed implementation.

@bollwyvl
Copy link
Collaborator Author

The singleton case of this is fixed by #279. Will update #267 at some point in a way that's compatible with this.

@bollwyvl bollwyvl changed the title Allow redirecting to something(s) (other than /) Allow mulitple launchers to different paths for a single server Dec 16, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant