From e1d6b08a1c9faafca213442c28c5b179b4d910f3 Mon Sep 17 00:00:00 2001 From: JGerla Date: Sat, 25 Oct 2025 18:58:41 +0200 Subject: [PATCH] refactor: removed start and end nodes from the addNode functionality as they are not supported for manual adding removed unnecessary code. BREAKING: end and start nodes are no longer supported by the dnd addNode functionality. ref: N25B-114 --- .../visualProgrammingUI/components/DragDropSidebar.tsx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/pages/VisProgPage/visualProgrammingUI/components/DragDropSidebar.tsx b/src/pages/VisProgPage/visualProgrammingUI/components/DragDropSidebar.tsx index 5d626d3..3540b75 100644 --- a/src/pages/VisProgPage/visualProgrammingUI/components/DragDropSidebar.tsx +++ b/src/pages/VisProgPage/visualProgrammingUI/components/DragDropSidebar.tsx @@ -9,8 +9,9 @@ import { useRef, useState } from 'react'; -import styles from "../../VisProg.module.css" import useFlowStore from "../VisProgStores.tsx"; +import styles from "../../VisProg.module.css" + // Is used to make sure each subsequent node gets a unique id, so the ReactFlow implementation // can distinguish between different nodes.