Skip to content

Commit b643f0e

Browse files
authored
Update the browser url when selecting a node in the graph (#716)
1 parent e53252e commit b643f0e

File tree

2 files changed

+2
-291
lines changed

2 files changed

+2
-291
lines changed

src/main/frontend/pipeline-console-view/pipeline-console/main/TestData.tsx

-291
This file was deleted.

src/main/frontend/pipeline-console-view/pipeline-console/main/hooks/use-steps-poller.ts

+2
Original file line numberDiff line numberDiff line change
@@ -197,6 +197,8 @@ export function useStepsPoller(props: RunPollerProps) {
197197
const lastStep = stepsForStage[stepsForStage.length - 1];
198198
const newlyExpandedSteps = lastStep ? [lastStep.id] : [];
199199

200+
history.replaceState({}, "", `?selected-node=` + nodeId);
201+
200202
setOpenStage(nodeId);
201203
setExpandedSteps((prev) => [...prev, ...newlyExpandedSteps]);
202204

0 commit comments

Comments
 (0)