ipython/ipython — pull request #1220 by madhusudancs (2012-01-02 06:53:46+00:00)
Title: Open a new notebook while connecting to an existing kernel (opened by qtconsole or terminal or standalone)

This adds a new GET handler for the /kernels/ RequestHandler which opens the new notebook based on the kernel file name specified as the value for the kernel_id argument in the URL.

On the UI side, it looks like this. The main dashboard already has a New button. Upon clicking it, a dialog opens with a text box with the label "kernel". It is not a mandatory field. One can leave it blank in which case it opens up a new notebook with new kernel and it is the same as the action that happens when we click the new button as of now. But if we choose to put the name of the kernel file, say "kernel-5151.json", it redirects to the URL /kernels/kernel-5151.json and opens a new notebook with that kernel.

This is not a perfect patch. I do not even expect this to be merged right away. It needs a lot of changes. So it is a first cut. Sending a pull request just to draw some attention for discussion.