web: unify mobile back and audit controls and link pipeline run history

This commit is contained in:
2026-10-20 16:25:07 +01:00
parent 4e35da7473
commit 6841cdd2a4
16 changed files with 239 additions and 36 deletions
+8 -1
View File
@@ -1017,7 +1017,9 @@ function closeDetail(view) {
restoreListFocus(restore);
return;
}
const route = { kind: view };
const route = view === "runs" && state.runFilters.pipelineId != null
? { kind: "runs", pipelineId: state.runFilters.pipelineId }
: { kind: view };
pushRoute(route);
applyRoute(route);
restoreListFocus(restore);
@@ -1525,6 +1527,11 @@ async function applyRoute(route) {
}
if (r.kind === "runs") {
if (r.pipelineId != null) {
state.runFilters = { ...defaultRunFilters(), pipelineId: r.pipelineId };
} else {
state.runFilters = { ...state.runFilters, pipelineId: null };
}
state.selectedRunId = null;
state.runDetail = null;
state.runStagePane = null;