fix(ui): keep execution overlay active when drilled down into sub-routes
Some checks failed
CI / cleanup-branch (push) Has been skipped
CI / build (push) Successful in 1m5s
CI / docker (push) Successful in 59s
CI / deploy-feature (push) Has been skipped
CI / deploy (push) Has been cancelled

This commit is contained in:
hsiegeln
2026-03-28 16:02:44 +01:00
parent 816a034d4a
commit 5873e6a57c

View File

@@ -69,10 +69,10 @@ export function ProcessDiagram({
const currentRouteId = routeStack[routeStack.length - 1]; const currentRouteId = routeStack[routeStack.length - 1];
const isDrilledDown = currentRouteId !== routeId; const isDrilledDown = currentRouteId !== routeId;
// Disable overlay when drilled down — the execution data is for the root route // Keep overlay active when drilled down — the execution tree includes
// and doesn't map to sub-route node IDs. Sub-route shows topology only. // sub-route processors as nested children, so their IDs are in the overlay map.
const overlayActive = !!executionOverlay && !isDrilledDown; const overlayActive = !!executionOverlay;
const effectiveOverlay = isDrilledDown ? undefined : executionOverlay; const effectiveOverlay = executionOverlay;
// Only use the pre-fetched diagramLayout for the root route. // Only use the pre-fetched diagramLayout for the root route.
const effectiveLayout = isDrilledDown ? undefined : diagramLayout; const effectiveLayout = isDrilledDown ? undefined : diagramLayout;