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

Maintain deep expanded state of inspector. #23

Closed
mbostock opened this issue Oct 18, 2017 · 2 comments
Closed

Maintain deep expanded state of inspector. #23

mbostock opened this issue Oct 18, 2017 · 2 comments

Comments

@mbostock
Copy link
Member

From observablehq/notebook#201:

collapse

Inspector collapse/expand state is maintained on the top level, but not when those inspectors are nested. Ideally we can maintain as much expanded/collapsed state as possible: clearest way to do this would be to maintain a list of expanded keypaths, and expand them when there's new output.

@mbostock
Copy link
Member Author

Here’s a good test case where this would be extremely useful:

https://selecttransform.github.io/site/

As it stands currently, it’s difficult to see the results of the transform interactively because every time you re-evaluate it collapses back to a single level.

I wonder if, related to this, we want a way to expand an entire level? Like option-click in the finder, but of course we don’t want to open every folder recursively forever, since that could hang. Maybe option-click would expand or collapse everything at the same level in the inspector?

@mbostock
Copy link
Member Author

Moved to observablehq/inspector#12.

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

No branches or pull requests

1 participant