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

enable multiple launchers (with paths) #267

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

bollwyvl
Copy link
Collaborator

This reworks the configuration in a backwards-compatible way to enable multiple launchers from the same server process.

The public REST API would change (from launcher_entry to launcher_entries), as does the URL scheme for the icons <server.name>/<launcher.name>.

I opted not to do the submenus, but could.

Additionally, in lab, this makes launcher and layoutrestorer optional, and adds mainmenu and commandpalette, which should make this compatible with jupyterlab-classic (though it wouldn't be exposed in the son-of-tree page, and is probably out of scope for this PR).

I didn't see where launcher_entry is under test, but am happy to add something if requested.

@bollwyvl
Copy link
Collaborator Author

ha, bash ate my commit message, but the most recent push should be:

add docs for `name` and `path`

"typescript": "~3.7.0"
"rimraf": "^3.0.2",
"typescript": "~4.2.4",
"npm-run-all": "~4.1.5"
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

makes watch work as advertised. the typescript/rimraf stuff is just a ride-along.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
2 participants