diff options
| author | Craig Jennings <c@cjennings.net> | 2026-07-18 16:33:31 -0500 |
|---|---|---|
| committer | Craig Jennings <c@cjennings.net> | 2026-07-18 16:33:31 -0500 |
| commit | 05398f5a02f2008c23c05cfe80c6dd4fcd183860 (patch) | |
| tree | 06f78f2f559e036c7b7632d455164291efd994a6 /tests/gallery-probes/probe-fams.mjs | |
| parent | 99d32abc85c4e953d5d911bf26df678afbffb6ff (diff) | |
| download | archsetup-05398f5a02f2008c23c05cfe80c6dd4fcd183860.tar.gz archsetup-05398f5a02f2008c23c05cfe80c6dd4fcd183860.zip | |
feat(gallery): bring the decade-through-EQ ten to the extraction bar
decadeBox, twoHandSafety, voiceLoop, miniSig, fuelBar, radialRing, sparkline, waveStrip, scope, and eqBars each get the contract comment. The eight DOM builders take dupre- prefixes across their markup and CSS blocks. voiceLoop's inner bar becomes dupre-vk-bar to stay clear of fuelBar's dupre-bar, and miniSig and eqBars move their cell modifiers to the shared dupre-on, dupre-hot, and dupre-clip.
Domain gates land where a handle could wedge: decadeBox coerces and clamps its digits, twoHandSafety ignores sides other than L and R, voiceLoop keeps the demo state to the stock loop set (a caller's shorter list used to crash on it), the meters clamp set() to their documented ranges, and sparkline and scope guard the one-sample case that drew NaN coordinates. Two probe checks cover the gates and drive voiceLoop's grammar through the prefixed DOM. probe-fams follows scope's rename.
Extraction audit: 74/111 contract comments.
Diffstat (limited to 'tests/gallery-probes/probe-fams.mjs')
| -rw-r--r-- | tests/gallery-probes/probe-fams.mjs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/gallery-probes/probe-fams.mjs b/tests/gallery-probes/probe-fams.mjs index c1b5f9d..a2333fb 100644 --- a/tests/gallery-probes/probe-fams.mjs +++ b/tests/gallery-probes/probe-fams.mjs @@ -43,9 +43,9 @@ try { ok('R31 green chip recolors furniture', line0 !== line1 && line1 === 'rgb(88, 184, 126)', `${line0} -> ${line1}`); // scope (CSS instrument): trace stroke changes on amber chip - const tr0 = await evl(`getComputedStyle(document.querySelector('.scope polyline')).stroke`); - await evl(`document.querySelector('.scope').closest('.card').querySelector('.fc[title="amber"]').click()`); - const tr1 = await evl(`getComputedStyle(document.querySelector('.scope polyline')).stroke`); + const tr0 = await evl(`getComputedStyle(document.querySelector('.dupre-scope polyline')).stroke`); + await evl(`document.querySelector('.dupre-scope').closest('.card').querySelector('.fc[title="amber"]').click()`); + const tr1 = await evl(`getComputedStyle(document.querySelector('.dupre-scope polyline')).stroke`); ok('N11 amber chip recolors trace', tr0 !== tr1 && tr1 === 'rgb(255, 190, 84)', `${tr0} -> ${tr1}`); // R19: drag still works after family switch (click vfd, then check the handle's set() writes var-based fills) |
