web: run-detail polish — bigger graph, artifact counts, tighter stage pane

- the run Graph tab drops the guidance paragraph and the graph fills ~70vh;
- the Artifacts collapsible carries the visit's count in its title (the body keeps
  the reason line only when there is nothing to show);
- the stage panel's section padding and gaps are reduced.
This commit is contained in:
2026-10-19 20:05:47 +01:00
parent 23809051e9
commit ff70b3796f
7 changed files with 19 additions and 27 deletions
-3
View File
@@ -14,7 +14,6 @@ import {
MAX_SCALE,
PIPELINE_GRAPH_EMPTY,
RUN_GRAPH_MISSING,
RUN_GRAPH_NOTE,
NO_NODE_DETAILS,
STAGE_DEFINITION_TITLE,
configLabel,
@@ -485,8 +484,6 @@ test("runGraphState falls back to the last visit's stage, else null", () => {
test("the empty-state and pane wording matches the app's sentences", () => {
assert.equal(RUN_GRAPH_MISSING, "This server did not include the run graph.");
assert.ok(RUN_GRAPH_NOTE.includes("pulses"));
assert.ok(RUN_GRAPH_NOTE.includes("Mouse wheel to zoom"));
assert.equal(PIPELINE_GRAPH_EMPTY, "This pipeline has no stages.");
assert.equal(NO_NODE_DETAILS, "No details recorded for this node.");
assert.equal(STAGE_DEFINITION_TITLE, "Stage definition");
+1 -1
View File
@@ -412,7 +412,7 @@ test("stageSectionSpecs orders the run sections and puts the definition last", (
const specs = stageSectionSpecs("implementer", graph, [step1], 0, true);
assert.deepEqual(specs.map((spec) => spec.key), ["artifacts", "output", "input", "run", "definition"]);
assert.deepEqual(specs.map((spec) => spec.title), [
"Artifacts",
"Artifacts · 0 recorded",
"Output",
"Input",
"This run",