LLR history: back to a simple graph, back in the Actions card, fixed snapping

- Simple graph again: plot with grid, 3 y labels, games axis, bounds/zero
  when in range, green/red line, hover marker + one-line tooltip. Removed the
  header, progress bar, legend, area fill, zones, pulse and animations.
  Colours are unchanged.
- The LLR panel is back at the end of the Actions card (below Adjust) where it
  was originally; the separate LLR card and its grid placement are gone.
- Snapping: the marker now locks onto every visible peak and valley. Peaks
  are found with a swing filter (a turning point counts once the line has
  moved >= 3px away from it), so plateaus and tiny wiggles no longer steal
  the snap from the real peaks. The first and latest points snap as well.
This commit is contained in:
claude committed 2026-10-09 22:15:23 +02:00
1 parent 8ac2335020
commit 56e22e6936
3 files changed
+241 -835

No files matched your search

+9 -11
View File
@@ -198,19 +198,17 @@
</div>
</div>
</form>
</div>
<!-- LLR history for SPRT tests: the data is fetched lazily, and drawn by llr_history.js -->
{% if workload.test_mode == "SPRT" %}
<div id="llr" class="card">
<header class="card-head">
<h2 class="card-title">LLR History</h2>
</header>
<div id="llr-history-container" class="llr-history-loader" data-history-url="{{llr_history_endpoint}}" aria-busy="true">
<div class="llrc-skeleton" role="status">Loading history&hellip;</div>
<!-- LLR history for SPRT tests: fetched lazily, and drawn by llr_history.js -->
{% if workload.test_mode == "SPRT" %}
<div class="llr-history-panel" title="LLR history over the lifetime of the test">
<div class="llr-history-label">LLR History</div>
<div id="llr-history-container" class="llr-history-loader" data-history-url="{{llr_history_endpoint}}">
<div class="llr-history-placeholder">Loading history graph...</div>
</div>
</div>
</div>
{% endif %}
{% endif %}
</div>
<!-- SPSA Paramater Summary, for Tunes -->
{% if type == "TUNE" %}