Commit Graph

66 Commits

Author SHA1 Message Date
JGerla
a0324479e6 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
2025-10-25 18:41:57 +02:00
JGerla
b7cd925c2c refactor: moved addNode function outside the handleNode definition
Made sure to minimize responsibilities per function, by taking the addNode logic and moving it into its own function.

ref: N25B-114
2025-10-25 18:29:53 +02:00
JGerla
e1d131e642 feat: updated the phase node creation to better assign ids to new phase and norm nodes.
ref: N25B-114
2025-10-25 18:12:57 +02:00
JGerla
8c698d1f8e refactor: moved delete logic out of the toolbar declaration and into the FlowStore.
BREAKING: changed type of FlowState

ref: N25B-114
2025-10-25 16:58:23 +02:00
JGerla
6a655f62f8 style: moved all logic from VisProgUI.tsx to VisProg.tsx and the css from VisProgUI.module.css to VisProg.module.css.
made code easier to navigate, by removing an unnecessary set of files through combining logic into a mostly empty file that is suitable for hosting said logic.

BREAKING: removed VisProgUI.module.css and removed VisProgUI.tsx, logic is now in VisProg.module.css and VisProg.tsx respectively

ref: N25B-114
2025-10-22 15:12:29 +02:00
JGerla
b365a8754e style: moved inline styles to VisProgUI.module.css and used some existing classes to replace simple css
ref: N25B-114
2025-10-22 12:31:04 +02:00
JGerla
e880e00b6d style: changed VisProgUI.css to VisProgUI.module.css and updated relevant references
ref: N25B-114
2025-10-22 12:12:16 +02:00
JGerla
7e739ef106 refactor: changes from feedback on merge request
ref: N25B-114
2025-10-21 20:31:24 +02:00
JGerla
a9effb7c23 style: added comments to code and changed name of Sidebar to DndToolbar
BREAKING: renamed Sidebar to DndToolbar.

ref: N25B-114
2025-10-12 13:48:42 +02:00
JGerla
bd5887ed9f style: reformated NodeDefinitions.tsx to be compliant with code standards
ref: N25B-114
2025-10-09 17:00:16 +02:00
JGerla
ece94b0b02 style: reformated DragDropSidebar.tsx to be compliant with code standards
ref: N25B-114
2025-10-09 16:55:08 +02:00
JGerla
ff8a617c5e style: reformated VisProgStores.tsx to be compliant with code standards
ref: N25B-114
2025-10-09 16:41:32 +02:00
JGerla
40af530fd5 style: reformated VisProg.tsx and VisProgTypes.tsx to be compliant with code standards
ref: N25B-114
2025-10-09 16:38:52 +02:00
JGerla
f6fcd20462 refactor: reformated VisProgUI.tsx to be compliant with code standards
some inline css was moved to VisProgUI.css

ref: N25B-114
2025-10-09 16:35:38 +02:00
JGerla
d0451f1795 style: updated comments and changed order of lines and fixed general inconsistencies in code-style
ref: N25B-114
2025-10-08 16:39:56 +02:00
JGerla
5b8213d5ef refactor: moved visualProgrammingUI into page folder
BREAKING: moved directory visualProgrammingUI and contents into VisProgPage

ref: N25B-114
2025-10-08 16:31:11 +02:00