Skip to content

feat(catune): log-scale DualRangeSlider, card grid fix, tutorial baseline docs#96

Merged
daharoni merged 4 commits intomainfrom
feat/catune-dual-range-slider
Mar 7, 2026
Merged

feat(catune): log-scale DualRangeSlider, card grid fix, tutorial baseline docs#96
daharoni merged 4 commits intomainfrom
feat/catune-dual-range-slider

Conversation

@daharoni
Copy link
Contributor

@daharoni daharoni commented Mar 6, 2026

Summary

  • Replace two separate Rise/Decay ParameterSlider components with a single DualRangeSlider sharing a logarithmic time axis (0.001–3.0s)
  • Rise thumb gets adequate visual resolution (~60% of log-scale track) despite its small numeric range
  • Fill bar between thumbs shows the actual time gap on the same scale
  • Preserves true-value markers (pink diamonds), onCommit, and data-tutorial attrs for driver.js compatibility
  • Card grid fix: pack rows to top with align-content: start to eliminate vertical gaps when cards don't fill the grid
  • Tutorial updates: document CaTune's three-layer automatic baseline handling (rolling-percentile subtraction, bandpass filter, solver estimate) in theory steps 2 & 9 and advanced steps 2 & 5 — removes misleading claims that baseline drift is unaddressed

Test plan

  • Load CaTune, drag both thumbs — verify cross-clamping (decay > rise) works
  • Confirm rise thumb has good resolution across left ~60% of track (log scale)
  • Demo mode: confirm two pink diamond markers at correct log-scale positions
  • Verify tutorial steps targeting [data-tutorial="slider-rise"] and [data-tutorial="slider-decay"] still highlight correctly
  • Card grid: no vertical gaps when fewer cards than grid capacity
  • Theory tutorial: advance to steps 2 and 9 — read updated baseline text
  • Advanced tutorial: advance to steps 2 and 5 — read updated baseline/artifact text
  • Confirm CaDecon is completely unchanged

🤖 Generated with Claude Code

daharoni and others added 3 commits March 6, 2026 15:04
Both time constant thumbs now share a single logarithmic track (0.001–3.0s),
making their relationship visually obvious and giving the rise thumb adequate
resolution. Includes true-value markers, onCommit, and tutorial data attrs.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Add align-content: start so grid rows don't stretch to fill the
container, which caused large gaps between card rows.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Tutorials previously omitted or contradicted CaTune's rolling-percentile
baseline subtraction. Update theory (steps 2, 9) and advanced (steps 2, 5)
tutorials to accurately describe the three-layer baseline handling:
rolling-percentile subtraction, bandpass filter, and solver estimate.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@daharoni daharoni changed the title feat(catune): log-scale DualRangeSlider for rise/decay feat(catune): log-scale DualRangeSlider, card grid fix, tutorial baseline docs Mar 7, 2026
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@daharoni daharoni merged commit e0398da into main Mar 7, 2026
2 checks passed
@daharoni daharoni deleted the feat/catune-dual-range-slider branch March 7, 2026 00:26
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

Successfully merging this pull request may close these issues.

1 participant