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
+5 -1
View File
@@ -601,7 +601,11 @@ export function stageSectionSpecs(stageKey, graph, runSteps, visitIndex, runCont
if (runContext && selectedStep != null) {
const runFields = runStepFields(selectedStep);
const session = sessionExportArtifact(selectedStep) != null;
specs.push({ key: "artifacts", title: STAGE_ARTIFACTS_TITLE, fields: [], artifacts: true, session: false });
// The collapsible's title carries the count so the operator sees how many
// artifacts this visit recorded without expanding it.
const presented = presentedArtifacts(selectedStep).length;
const artifactsTitle = `${STAGE_ARTIFACTS_TITLE} · ${presented} recorded`;
specs.push({ key: "artifacts", title: artifactsTitle, fields: [], artifacts: true, session: false });
if (session) {
specs.push({ key: "session", title: STAGE_SESSION_TITLE, fields: [], artifacts: false, session: true });
}