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:
@@ -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");
|
||||
|
||||
@@ -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",
|
||||
|
||||
Reference in New Issue
Block a user