From ef59f981f7b9ba993ae2f24b6c06528119303831 Mon Sep 17 00:00:00 2001 From: Alan Silva Date: Tue, 20 Oct 2026 15:04:16 +0100 Subject: [PATCH] web: show the pipeline Run dialog from every tab Graph and Source return before the detail footer, so their Run click set the dialog state but never appended the overlay. Append the overlay before the tab branches. --- web/src/views/pipelines.js | 4 +++- web/sw.js | 2 +- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/web/src/views/pipelines.js b/web/src/views/pipelines.js index 9f131473..5f4a5821 100644 --- a/web/src/views/pipelines.js +++ b/web/src/views/pipelines.js @@ -558,6 +558,9 @@ function renderPipelineDetail() { }), ), ); + // The Run dialog is an overlay; append it before the tab branches so Graph + // and Source (which return early) still show it. + if (state.runStart) pane.append(renderRunStartDialog()); if (state.pipelineTab === "graph") { pane.append(h("p", { class: "graph-note muted", text: graphNote() })); const stages = d.graph?.stages ?? []; @@ -642,7 +645,6 @@ function renderPipelineDetail() { } pane.append(body); } - if (state.runStart) pane.append(renderRunStartDialog()); return pane; } diff --git a/web/sw.js b/web/sw.js index 92d88c3d..5f868cd9 100644 --- a/web/sw.js +++ b/web/sw.js @@ -1,7 +1,7 @@ // A shell cache for an installed Pipelines app. The API (the WebSocket proxy and // artifact files) is never cached; static files prefer the network and fall back // to the last good copy so an installed app still opens when the server is away. -const CACHE = "pipelines-shell-v5"; +const CACHE = "pipelines-shell-v6"; const SHELL = ["/", "/index.html", "/manifest.webmanifest", "/favicon.svg"]; self.addEventListener("install", (event) => {