feat: color value source test visualization
Lint & Test / test (push) Successful in 1m6s

WS now sends color RGB data for color-type streams. Test modal renders
a color history swatch strip below the chart, colors the chart line and
fill area with the current output color, and shows rgb() in the stats.
Works for static_color, animated_color, and adaptive_time_color sources.
This commit is contained in:
2026-03-30 03:12:57 +03:00
parent 0a8737157c
commit f6c25cd15f
4 changed files with 95 additions and 3 deletions
@@ -7,6 +7,9 @@
</div>
<div class="modal-body">
<canvas id="vs-test-canvas" class="vs-test-canvas"></canvas>
<div id="vs-test-color-swatch" class="vs-test-color-swatch" style="display:none">
<canvas id="vs-test-color-canvas" class="vs-test-color-canvas"></canvas>
</div>
<div class="vs-test-stats">
<span class="vs-test-stat vs-test-stat-current">
<span class="vs-test-stat-label" data-i18n="value_source.test.current">Current</span>