Why
The 4-box stats panel (Resolution, Clusters Loaded, Samples Loaded, Load Time) is great for power users but confusing for novices (RY, 2026-06-01). Make it collapsible, collapsed by default, with a clear expand affordance.
Scope (self-contained, low risk — good parallel task)
- The
.stats-compact grid lives in the first .panel-section of .side-panel in explorer.qmd (~L600s). Element ids: #sPhase, #sPoints, #sSamples, #sTime.
- Add a small header/toggle (e.g. a 'Stats ▾' disclosure) that shows/hides the four boxes. Default collapsed.
- Optional: persist open/closed in localStorage and/or a URL param, mirroring the facet sections' pattern (the Material/Sampled-Feature/Specimen-Type
.filter-header onclick toggle is a copyable model).
- Keep updating the values while collapsed (cheap) so expanding shows current numbers.
Acceptance
- On load, stats are collapsed; clicking the disclosure reveals them; state is obvious. No layout shift that buries the results panel further. Smoke gate green.
Why
The 4-box stats panel (Resolution, Clusters Loaded, Samples Loaded, Load Time) is great for power users but confusing for novices (RY, 2026-06-01). Make it collapsible, collapsed by default, with a clear expand affordance.
Scope (self-contained, low risk — good parallel task)
.stats-compactgrid lives in the first.panel-sectionof.side-panelinexplorer.qmd(~L600s). Element ids:#sPhase,#sPoints,#sSamples,#sTime..filter-headeronclick toggle is a copyable model).Acceptance