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

Sending messages #11

Open
jtpio opened this issue Sep 3, 2019 · 4 comments
Open

Sending messages #11

jtpio opened this issue Sep 3, 2019 · 4 comments

Comments

@jtpio
Copy link
Member

jtpio commented Sep 3, 2019

It would be great to be able to send custom messages to the kernel.

We could imagine having a new panel with a few options:

  1. to select the channel (shell, control...)
  2. select the message (request_execute, debug_request and so on)
  3. have a json blob populated with the right schema (based on to step 1 and 2)
  4. click on a "Send" button to send the message
  5. use the existing KernelSpyView to inspect the messages
@vidartf
Copy link
Collaborator

vidartf commented Sep 3, 2019

We could imagine having a new panel [...]:

I like the idea, but this could probably be a separate extension then? Or would there be some significant overlap with the current codebase?

@jtpio
Copy link
Member Author

jtpio commented Sep 3, 2019

If it's in a different extension then is it reasonable to assume users would also expect being able to inspect the messages being sent (which is already handled by the kernel spy).

Maybe as a different plugin otherwise?

@vidartf
Copy link
Collaborator

vidartf commented Sep 3, 2019

Ah, yeah I guess there is the dist concerns while waiting for a way for jupyterlab extensions to require other extensions (there is a jupyterlab issue about that, but I cannot find it atm).

Maybe as a different plugin otherwise?

I think that would make sense. Possibly the plugins could be split into a file each as well.

@jtpio
Copy link
Member Author

jtpio commented Sep 3, 2019

Yes, the related JupyterLab issues are jupyterlab/jupyterlab#7064 and jupyterlab/jupyterlab#4245.

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

No branches or pull requests

2 participants