A side panel to display information from all kernels and extensions #4411
Labels
status:resolved-locked
Closed issues are locked after 30 days inactivity. Please open a new issue for related discussion.
A kernel or extension might need to display some information that is not part of the document, which are nonpersistent but not as transient as inspection results. For example,
preview
feature of SoS Notebook displays the "preview" of variables and files until it is overwritten by some other events. These previews are very helpful for interactive data analysis but are not part of the notebook. It is a bit similar to inspection but is much more flexible and can contain figures and tables that users can interact with (e.g. sort and search a table). Note that SoS provides automatic preview (e.g. previewa
after stepping througha=1
), which makes line-by-line execution a lot more useful.%taskinfo
magic of sos displays information of remote tasks. This magic is SoS-specific but I am sure many other kernels/extensions have similar state/progress information to display.I am therefore proposing a universal side panel that displays inspection results and information from all kernels and extensions. More specifically,
Note 1: I am not quite sure if there is a need to display the "source" of information, or what to do when users switch kernel. I tend to keep the panel simple by ignoring sources and kernel-switch events because the panel is updated by user-actions (e.g. inspect, execute a cell or a magic) and the information in the panel can be used beyond the current notebook.
Note 2. If a TOC belongs to this panel conceptually, perhaps @ian-r-rose can add his jupyterlab-toc as a button or subpanel to this panel.
Note 3: There have already been a Shift-Tab tooltip and a inspector panel, and it would be awkward to add another mechanism. I therefore believe that it is better to consolidate all these into a single panel and put it to a more prominent location (side panel). That is to say, we
The text was updated successfully, but these errors were encountered: