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

optional "sidecar" phosphor panel display for ipywidgets #4151

Closed
paul-shannon opened this issue Mar 8, 2018 · 1 comment
Closed

optional "sidecar" phosphor panel display for ipywidgets #4151

paul-shannon opened this issue Mar 8, 2018 · 1 comment
Labels
enhancement status:resolved-locked Closed issues are locked after 30 days inactivity. Please open a new issue for related discussion. tag:Design and UX
Milestone

Comments

@paul-shannon
Copy link

I propose (that is, I request) a jupyterlab enhancement: the option to render an ipywidget into a new and separate phosphorjs panel. Notebooks currently render the ipywidget only into the output cell right below and associated with the originating code cell.

phosphor apparently supports deferred movement to a new panel (see stackoverflow discussion from 9/16).

But for user-friendly operation - some of my users are not coders at all - immediate display in a separate panel would be a real boon. The new panel could be resized and positioned, perhaps into a central position, for subsequent interaction, both programmatic (from subsequent code cells) and via mouse and keyboard. Perhaps this option could be exposed by an extra, optional argument to the widget's constructor.

I predict that the ability to create widgets in their own phosphor panels will open up a variety of UX design possibilities, perhaps including dashboards and greater freedom to create "good enough" web apps.

A motivating use case for the ipywidget sidecar panel is our work in genomics with igv.js, as pictured below. igv enables interactive exploration of genome annotations and a wide variety of experimental data: copy number counts, mutations, sequence reads, transcription factor binding sites. We build models, filter data, create and remove tracks, change genomic locations - mostly with with the genome view at the center of our attention. jupyterlab, with ipywidget sidecar panels, will be a fine way to deliver this capability to interested biologists. A second image is included below, another candidate for a sidecar panel, illustrating the use of cytoscape.js to explore the gene regulatory model constructed from the experimental data assembled in the igv widget. Putative transcription factors (red) and suppressors (green), their binding sites, and the target gene are displayed. Many models, based upon different assumptions, can be viewed in succession.

image

image

@saulshanabrook
Copy link
Member

The sidecar extension can help with this use case: https://github.com/jupyter-widgets/jupyterlab-sidecar. ALso see #3692 for more discussion on providing some functionality like this by default.

@saulshanabrook saulshanabrook added this to the Reference milestone Sep 8, 2018
@lock lock bot added the status:resolved-locked Closed issues are locked after 30 days inactivity. Please open a new issue for related discussion. label Aug 8, 2019
@lock lock bot locked as resolved and limited conversation to collaborators Aug 8, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement status:resolved-locked Closed issues are locked after 30 days inactivity. Please open a new issue for related discussion. tag:Design and UX
Projects
None yet
Development

No branches or pull requests

3 participants