From 0e7f24da9a4a4288f3e020a27ede37d726be7f4e Mon Sep 17 00:00:00 2001 From: ravi-kumar-pilla Date: Wed, 24 Apr 2024 19:27:11 -0500 Subject: [PATCH 1/5] merge main from remote Signed-off-by: ravi-kumar-pilla --- demo-project/.version | 0 package.json | 0 package/kedro_viz/server.py | 0 trufflehog-ignore.txt | 0 4 files changed, 0 insertions(+), 0 deletions(-) mode change 100644 => 100755 demo-project/.version mode change 100644 => 100755 package.json mode change 100644 => 100755 package/kedro_viz/server.py mode change 100644 => 100755 trufflehog-ignore.txt diff --git a/demo-project/.version b/demo-project/.version old mode 100644 new mode 100755 diff --git a/package.json b/package.json old mode 100644 new mode 100755 diff --git a/package/kedro_viz/server.py b/package/kedro_viz/server.py old mode 100644 new mode 100755 diff --git a/trufflehog-ignore.txt b/trufflehog-ignore.txt old mode 100644 new mode 100755 From 7d0365460021d8240012c571a58ceb28c7128de0 Mon Sep 17 00:00:00 2001 From: ravi-kumar-pilla Date: Mon, 20 May 2024 13:57:44 -0500 Subject: [PATCH 2/5] fix for def pipeline not updating Signed-off-by: ravi-kumar-pilla --- src/components/flowchart-wrapper/flowchart-wrapper.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/flowchart-wrapper/flowchart-wrapper.js b/src/components/flowchart-wrapper/flowchart-wrapper.js index b305bc73ea..de3fee9a36 100644 --- a/src/components/flowchart-wrapper/flowchart-wrapper.js +++ b/src/components/flowchart-wrapper/flowchart-wrapper.js @@ -92,7 +92,7 @@ export const FlowChartWrapper = ({ if (localStorageParams) { const paramActions = { pipeline: (value) => { - if (!searchParams.has(params.pipeline) && activePipeline) { + if (activePipeline) { toSetQueryParam(params.pipeline, value.active || activePipeline); } }, From b5c9a5244a62fe76e937abe1fcb3b6fbfdd46d5a Mon Sep 17 00:00:00 2001 From: ravi-kumar-pilla Date: Mon, 20 May 2024 13:58:58 -0500 Subject: [PATCH 3/5] fix for def pipeline not updating Signed-off-by: ravi-kumar-pilla --- demo-project/.version | 0 package.json | 0 package/kedro_viz/server.py | 0 trufflehog-ignore.txt | 0 4 files changed, 0 insertions(+), 0 deletions(-) mode change 100755 => 100644 demo-project/.version mode change 100755 => 100644 package.json mode change 100755 => 100644 package/kedro_viz/server.py mode change 100755 => 100644 trufflehog-ignore.txt diff --git a/demo-project/.version b/demo-project/.version old mode 100755 new mode 100644 diff --git a/package.json b/package.json old mode 100755 new mode 100644 diff --git a/package/kedro_viz/server.py b/package/kedro_viz/server.py old mode 100755 new mode 100644 diff --git a/trufflehog-ignore.txt b/trufflehog-ignore.txt old mode 100755 new mode 100644 From ebfbd2d9f7218bdda54b7279b47c8a076e38a2e6 Mon Sep 17 00:00:00 2001 From: ravi-kumar-pilla Date: Mon, 20 May 2024 18:53:20 -0500 Subject: [PATCH 4/5] update release note Signed-off-by: ravi-kumar-pilla --- RELEASE.md | 1 + 1 file changed, 1 insertion(+) diff --git a/RELEASE.md b/RELEASE.md index c3cd6e3edf..f2c671f72d 100644 --- a/RELEASE.md +++ b/RELEASE.md @@ -18,6 +18,7 @@ Please follow the established format: - Enhance Kedro-Viz documentation by using Kedro-sphinx-theme. (#1898) - Fix for schema change in strawberry-graphql JSON scalar. (#1903) - Fix messaging level when package compatibility is not satisfied. (#1904) +- Fix broken URL when active pipeline name changes on initial load. (#1914) # Release 9.0.0 From f804fdf0894034615fc91a5eb6cfe3c9ff1896d2 Mon Sep 17 00:00:00 2001 From: ravi-kumar-pilla Date: Tue, 21 May 2024 12:47:19 -0500 Subject: [PATCH 5/5] fix lint Signed-off-by: ravi-kumar-pilla --- package/kedro_viz/data_access/repositories/catalog.py | 2 +- package/kedro_viz/integrations/kedro/hooks.py | 5 ++++- package/kedro_viz/models/flowchart.py | 2 +- 3 files changed, 6 insertions(+), 3 deletions(-) diff --git a/package/kedro_viz/data_access/repositories/catalog.py b/package/kedro_viz/data_access/repositories/catalog.py index 427a13cf0d..bfbd61a437 100644 --- a/package/kedro_viz/data_access/repositories/catalog.py +++ b/package/kedro_viz/data_access/repositories/catalog.py @@ -12,7 +12,7 @@ from kedro.pipeline._transcoding import TRANSCODING_SEPARATOR, _strip_transcoding except ImportError: # pragma: no cover # older versions - from kedro.pipeline.pipeline import TRANSCODING_SEPARATOR, _strip_transcoding + from kedro.pipeline.pipeline import TRANSCODING_SEPARATOR, _strip_transcoding # type: ignore from packaging.version import parse diff --git a/package/kedro_viz/integrations/kedro/hooks.py b/package/kedro_viz/integrations/kedro/hooks.py index d68c5eea70..32f2ffa594 100644 --- a/package/kedro_viz/integrations/kedro/hooks.py +++ b/package/kedro_viz/integrations/kedro/hooks.py @@ -17,7 +17,10 @@ from kedro.pipeline._transcoding import TRANSCODING_SEPARATOR, _strip_transcoding except ImportError: # pragma: no cover # older versions - from kedro.pipeline.pipeline import TRANSCODING_SEPARATOR, _strip_transcoding + from kedro.pipeline.pipeline import ( # type: ignore + TRANSCODING_SEPARATOR, + _strip_transcoding, + ) logger = logging.getLogger(__name__) diff --git a/package/kedro_viz/models/flowchart.py b/package/kedro_viz/models/flowchart.py index e93418323c..b4d43d5cbc 100644 --- a/package/kedro_viz/models/flowchart.py +++ b/package/kedro_viz/models/flowchart.py @@ -17,7 +17,7 @@ from kedro.pipeline._transcoding import TRANSCODING_SEPARATOR, _strip_transcoding except ImportError: # pragma: no cover # older versions - from kedro.pipeline.pipeline import TRANSCODING_SEPARATOR, _strip_transcoding + from kedro.pipeline.pipeline import TRANSCODING_SEPARATOR, _strip_transcoding # type: ignore from pydantic import ( BaseModel,