Skip to content
This repository was archived by the owner on Mar 28, 2023. It is now read-only.

About this project #1

Open
Wh1isper opened this issue Dec 7, 2022 · 1 comment
Open

About this project #1

Wh1isper opened this issue Dec 7, 2022 · 1 comment
Labels
help wanted Extra attention is needed

Comments

@Wh1isper
Copy link
Owner

Wh1isper commented Dec 7, 2022

Problem

Jupyter has been plaguing us with the problem of saving code output using the front-end for too long.

There is a lot of discussion about this here

jupyterlab/jupyterlab#12455
jupyterlab/jupyterlab#12867
jupyterlab/jupyterlab#2833
jupyter/notebook#641

Proposed Solution

Thanks to contributors, with JupyterLab 4.0 using y-crdt related features, we already have the ability to read changes from files, and the next step is to let the Jupyter server take over the responsibility of writing code execution results.

To validate this idea, I implemented a simple generic client based on the websocket interface (I tried using jupyter_client's zmq interface, but it was hard to use), and then implemented a plugin with fileid support to implement this functionality.

client: https://github.com/Wh1isper/jupyter_kernel_client
extension: https://github.com/Wh1isper/jupyter_kernel_executor

Help with the project

Looking forward to help with this project in the following areas

  1. Maintenance: I know GitHub has a series of Actions and other ways to help maintain the repository, but I lack the time and experience to do so
  2. Testing: Currently, only basic unit tests are available, if possible, add some tests for fileid and JupyterLab 4.0 scenarios
  3. Front-end: I have no front-end related knowledge, but if it is possible to implement a button to execute cell, should be an exciting improvement
  4. Others: Any ideas and suggestions for this project are welcome
@Wh1isper Wh1isper added the help wanted Extra attention is needed label Dec 7, 2022
@Wh1isper Wh1isper pinned this issue Dec 7, 2022
@Wh1isper
Copy link
Owner Author

Wh1isper commented Dec 9, 2022

Welcome discussion here: jupyter-server/jupyter_server#1123

jupyterlab-co-ex2
jupyterlab-co-ex

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

1 participant