-
Notifications
You must be signed in to change notification settings - Fork 18
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
JupyterServer: opening content in other extensions #472
JupyterServer: opening content in other extensions #472
Comments
Have made some progress towards opening Jupyter Lab from the Cylc UI with these two PRs:
We can take this further and open Jupyter Lab in a specified directory, these two branches allow opening Jupyter Lab in a workflow's source directory:
Opening content in existing Jupyter Lab sessions is trickier, however, it looks like there is now a viable option in the form of |
Here's a POC with three components: It uses the Jupyter Events package. This is relatively new, but a dependency of Jupyter Server. Questions remain over:
|
The Cylc UI Server allows browsing workflows, cycles, tasks and whatnot.
We can open log files, but, the Cylc app lacks tooling to inspect and analyse task output. This is where tools like Jupyter Lab come into it.
We should make it easier to open resources associated with Cylc (e.g. data created by tasks) in other server extensions (e.g. Jupyter Lab).
E.G. We could have a button which opens a task's work directory in Jupyter Lab.
This is actually kinda possible, Jupyter Lab has a URL argument to open the server at a specific location, however, because this is done in the URL you get a new Lab instance every time you follow the link. Ideally we would like the ability to open tabs in an existing Lab session from within Cylc.
There are two ways to go about this problem:
LocalStorage
to send the message sideways to active Lap app sessions.Ideally Jupyter Server would provide an interface for doing this so that all extensions can communicate in this way. Have a chat with the Jupyter folks and see what they think.
The text was updated successfully, but these errors were encountered: