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.
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
@@ -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) => {
|
||||
|
||||
Reference in New Issue
Block a user