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

Add the variable inspector to the right area #265

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

jtpio
Copy link
Member

@jtpio jtpio commented Jan 19, 2023

Fixes #137

As suggested in #137, the right sidebar sounds like a nice place for the variable inspector widget:

right-sidebar.mp4

It's also possible to switch sidebar side if needed:

switch-sidebar.mp4

Changes

  • Add the variable inspector to the right area by default
  • Remove the command to open a new inspector in the main area

@jtpio jtpio changed the title Add the variable inspector to the right area Add the variable inspector to the right area Jan 19, 2023
@jtpio
Copy link
Member Author

jtpio commented Jan 19, 2023

As a nice side-effect, this extension will probably be compatible with the next major version of the Jupyter Notebook 7 as well:

image

Probably a couple of things to address so the context is properly detected, but could be fixed separately.

@lckr
Copy link
Collaborator

lckr commented May 21, 2023

I think this look very nice but breaks with the matrix viewer that displays numpy arrays or similar.
I'm currently trying to get around this issue and also use a proper SidePanel to host the variable inspector in.

@jtpio
Copy link
Member Author

jtpio commented Jun 14, 2023

cc @ericsnekbytes since you said you were looking into this.

Maybe this PR might not be needed with the layout customization

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

Successfully merging this pull request may close these issues.

Feature request: Put in sidebar
2 participants