Commit Graph

7 Commits

Author SHA1 Message Date
Michael Pilosov
4f6e900c05 runs filter: persist chip state in URL + server-render initial slice
- runs-filter.js mirrors its chip selections into the query string
  (dataset/algorithm/N/T/J). Empty selections are omitted entirely.
  Reads URL on init; triggers an immediate /runs refresh if any filter
  was present so the polled slice catches up instantly.
- dataset-picker.js's updateUrlState now merges into the existing query
  instead of rebuilding, so the two scripts don't stomp each other's
  keys.
- Index route applies the same chip filter to its initial server-side
  run listing, so a filter-bearing deep-link renders the right slice on
  first paint — no flash of unfiltered runs.
2026-04-22 18:21:51 -06:00
Michael Pilosov
3a951b387a homepage: persist intro/picker open state + dataset/N/T/J in URL query
- dataset-picker.js writes a compact query string (?ds=&n=&f=&j= plus
  intro=1/picker=0 when non-default) on every change and reads it on
  init. Refresh restores the page; the URL also works as a shareable
  deep-link.
- To avoid a first-paint flicker of the <details> elements, the index
  route pre-resolves intro_open / picker_open from the query and renders
  the <details open> attribute accordingly.
2026-04-22 18:16:42 -06:00
Michael Pilosov
158f3fdefa theme picker canvas backgrounds
Read --picker-panel from the card's computed style at scene creation
and re-apply on themechange, so the three-js canvases flip with the
rest of the UI instead of staying stuck on the light palette.
2026-04-21 21:56:14 -06:00
Michael Pilosov
d385337a36 require dataset selection before submit
Client-side: disable the form submit button until the picker writes a
dataset_id. Server-side: reject posts where dataset_id is present but
empty, instead of silently defaulting to make_s_curve.
2026-04-21 21:54:50 -06:00
Michael Pilosov
eaeb6b5c2a styling changes (radio for N) 2026-04-21 20:07:42 -06:00
Michael Pilosov
92069a3c91 rename snapshots -> timesteps 2026-04-21 19:55:01 -06:00
Michael Pilosov
afc9b5b2f2 migrate new data picker 2026-04-21 19:46:31 -06:00