observablehq / framework

A static site generator for data apps, dashboards, reports, and more. Observable Framework combines JavaScript on the front-end for interactive graphics with any language on the back-end for data analysis.
https://observablehq.com/framework/
ISC License
2.13k stars 85 forks source link

Keep the inspector open on update #1458

Open Fil opened 2 weeks ago

Fil commented 2 weeks ago

Related to #1456/#1457, it would be great if we could keep the inspector open in the same[1] position when the inspected object is updated, instead of reverting to the initial (closed) state.

[1] or same-ish… as much as the differences between data structure make possible.

mbostock commented 2 weeks ago

Related https://github.com/observablehq/inspector/issues/12 which is that the inspector itself is only smart enough to keep the top-level state expanded or collapsed.