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

VariableView goes away if you switch off of an active notebook context #4562

Closed
IanMatthewHuff opened this issue Jan 29, 2021 · 2 comments
Closed
Assignees

Comments

@IanMatthewHuff
Copy link
Member

Right now the VariableView is keyed to having an active notebook context. And it's keyed to being unavailable without one. This leads to some UI annoyance with it. Take the following scenario.

Open a notebook A
Execute it
Open the variable panel
Open the data viewer (or move to a native notebook that has not been executed yet)
Move back to notebook A in the editor

The variable view is still available and has the right info. But since we moved to a context that hid it, it's not open by default when you move back to the document.

I think there is an easy fix here. Instead of enablement of the view when there is an active notebook running, it should just be enabled when there is a native notebook editor (with or without an active notebook / kernel) open at all in the editor.

@DavidKutu DavidKutu self-assigned this Feb 5, 2021
@DavidKutu
Copy link

Its extra annoying if you open settings.

@joyceerhl
Copy link
Contributor

Validated. Opened a blank notebook, created some variables, opened the data viewer and verified that the variable view stayed open, opened another blank notebook, created some variables, verified that variable view updated to match the active notebook, switched back to the first blank notebook, verified that variable view updated, and verified that the variable view only went away after closing all notebooks.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators May 6, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

3 participants