question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Remote Jupyter server and kernel picker UX

See original GitHub issue

Define idealized UX for connecting to remote Jupyter servers

Open questions

1. If we were to improve current UX/UI…

What does the user expect to see in the kernel drop down list when…

  1. They’re on VS Code desktop / vscode.dev / Codespaces?
  2. They have N Python environments? a. Python not installed b. Only global Python envs (is “Global Env” descriptive enough?) c. Multiple Python environment manager types
  3. Opening a notebook for the N-th time (i.e. kernel suggestion)?
  4. The user is connected to a local Jupyter kernel, but have connected to a remote Jupyter server via the Specify Jupyter Server for Connections command? Current: image

How well are these remote server connection entry-points served?

  1. Specifying an currently running Jupyter URI with password authentication does not work
  2. Running a cell without selecting a kernel ❔
  3. Using SSH to start & connect to a Jupyter server (e.g. access remote notebook via port forwarding) ❔ a. Command line SSH b. Remote-SSH extension
  4. Going backwards, clicking on ‘Jupyter Server: <Local/Remote>’ button doesn’t give option to disconnect / “connect” back to local server

What does the user expect to see in the remote connection server drop down list when…

  1. There are multiple connection tokens for the same URI? E.g. how do we represent the notion of multiple tokens for the same server, and how would we save tokens?
  2. There are multiple older connections for the same URI? Current: image
  3. There are one or more local Jupyter servers running (i.e. http://localhost:8888/?token=<…>)?
  4. Some existing connections are active / reachable and some are inactive / unreachable?

2. If we were to “reimagine” the UX/UI…

What does the user expect to see in the VS Code window when connected to a kernel / Jupyter server?

  1. File system in the context of the kernel / server?
  2. Integrated terminal in the context of the kernel / server?
  3. Should connecting to a remote Jupyter server be treated as a Remote Window? i.e. a part of this (the >< indicator on bottom left): image a. How about when user types jupyter notebook in the integrated terminal? Should this open a Remote Window instance on VS Code?

Issue Analytics

  • State:open
  • Created a year ago
  • Comments:16 (9 by maintainers)

github_iconTop GitHub Comments

2reactions
miguelsoloriocommented, Aug 17, 2022

I think we can include this dialog when installing the environment, and maybe with a “don’t ask again” checkbox?

2reactions
miguelsoloriocommented, Aug 17, 2022

Will be posting various scenario demos that I’ve mocked up.

Scenario 1: Running a notebook for the first time with no environment/extensions installed

This mirrors what we do right now out of the box and then leverages the “auto-create environment” concept that @IanMatthewHuff is currently working on.

https://user-images.githubusercontent.com/35271042/185251947-188d7ea9-9647-4006-af27-0b285cf03dea.mp4

Read more comments on GitHub >

github_iconTop Results From Across the Web

Working with Jupyter Notebooks in Visual Studio Code
Jupyter (formerly IPython Notebook) is an open-source project that lets you easily ... Next, select a kernel using the kernel picker in the...
Read more >
Running a notebook server
This command will create the Jupyter folder if necessary, and create notebook configuration file, jupyter_notebook_config.py , in this folder. Automatic ...
Read more >
Cannot find python kernels corresponding to Virtual ...
I've selected "default", letting VSCode starting a server on the local (remote) host, and then the interpeter / kernel was enabled. hope it...
Read more >
Jupyter Notebook files - GitLab Docs
Code. Narrative text. Equations. Rich output. When you add a Jupyter Notebook (with .ipynb extension) to your repository ...
Read more >
Can't restart kernel in VSCode jupyter notebook - VS Code
As the title says, recently notebooks in VSCode does not allow me to press restart kernel or interrupt (greyed out) and running the...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found