Tune page: chart and parameter list side by side, every secondary section collapsed

The progress summary, the movement chart and a scrollable parameter list now
share one panel. Settings, Actions, Parameter details and Contributors are
single-line folds, closed by default, so the page fits on roughly one screen.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01TyAt5S5MAwLBY2idan1SwU
This commit is contained in:
claude committed 2026-10-11 18:52:04 +02:00
1 parent de5ec59ece
commit 7269fd96e9
2 files changed
+100 -42

No files matched your search

+15 -14
View File
@@ -18,7 +18,7 @@
{% block content %}
<div class="workload-container{% if type == "TUNE" %} tune-page{% endif %}">
{% if type == "TUNE" %}<div class="tune-side">{% endif %}
{% if type == "TUNE" %}<details id="config" class="card config-fold"><summary><span class="card-title">Settings</span><span class="config-hint">Engine, network, book</span></summary>{% else %}<div id="config" class="card">{% endif %}
{% if type != "TUNE" %}<header class="card-head"><h2 class="card-title">Configuration</h2></header>{% endif %}
@@ -74,8 +74,8 @@
</table>
{% if type == "TUNE" %}</details>{% else %}</div>{% endif %}
<div id="actions" class="card">
<header class="card-head"><h2 class="card-title">Actions</h2></header>
{% if type == "TUNE" %}<details id="actions" class="card config-fold"><summary><span class="card-title">Actions</span><span class="config-hint">Approve, stop, copy inputs, adjust</span></summary>{% else %}<div id="actions" class="card">
<header class="card-head"><h2 class="card-title">Actions</h2></header>{% endif %}
<!-- Dev vs Base [Git Diff Link] -->
<a class="diff-link" href="{{workload|gitDiffLink}}"><i class="fa-solid fa-code-compare fa-fw"></i> {{workload|git_diff_text}}</a>
@@ -213,16 +213,12 @@
</div>
</div>
{% endif %}
</div>
{% if type == "TUNE" %}</details>{% else %}</div>{% endif %}
<!-- SPSA Paramater Summary, for Tunes -->
{% if type == "TUNE" %}
</div><!-- /tune-side -->
<div class="tune-main">
{% with panel=workload|spsa_param_panel %}
<section id="spsa-panel" class="card spsa-panel">
<header class="card-head"><h2 class="card-title">Tuning progress</h2></header>
<section id="spsa-panel" class="card spsa-panel" aria-label="Tuning progress">
<div class="spsa-summary">
<div class="spsa-iter">
<span class="spsa-big">{{ panel.complete }}</span>
@@ -236,14 +232,18 @@
</dl>
</div>
<div class="spsa-split">
<div class="spsa-split-chart">
<div class="spsa-history">
<div class="spsa-history-head">
<h3>Movement since the start</h3>
<p>Each line is one parameter, as a share of its allowed range. Point at a name below to follow it, or click it to keep it on the chart.</p>
<p>Each line is a parameter, as a share of its range. Point at a name to follow it, or click to keep it on the chart.</p>
</div>
{{ workload|spsa_history_chart }}
</div>
</div>
<div class="spsa-split-list"><div class="spsa-list-inner">
<div class="spsa-tools">
<input id="spsa-filter" type="search" placeholder="Filter parameters" aria-label="Filter parameters by name" autocomplete="off">
<select id="spsa-sort" aria-label="Sort parameters">
@@ -277,6 +277,8 @@
<span><i class="k-now"></i>Current value</span>
<span><i class="k-limit"></i>At a limit of its range</span>
</div>
</div></div><!-- /list -->
</div><!-- /split -->
</section>
{% endwith %}
@@ -306,8 +308,8 @@
</details>
{% endif %}
<div id="results" class="card">
<header class="card-head"><h2 class="card-title">Results by Machine</h2></header>
{% if type == "TUNE" %}<details id="results" class="card config-fold"><summary><span class="card-title">Contributors</span><span class="config-hint">{{ results|length }} machine{{ results|length|pluralize }}, games and results</span></summary>{% else %}<div id="results" class="card">
<header class="card-head"><h2 class="card-title">Results by Machine</h2></header>{% endif %}
<table class="stripes wrappable">
<tr class="table-header">
<th>#</th>
@@ -336,8 +338,7 @@
</tr>
{% endfor %}
</table>
</div>
{% if type == "TUNE" %}</div><!-- /tune-main -->{% endif %}
{% if type == "TUNE" %}</details>{% else %}</div>{% endif %}
</div>