Commit Graph

138 Commits

Author SHA1 Message Date
Björn Otgaar
941658a817 Merge branch 'dev' into refactor/node-encapsulation 2025-11-18 12:35:53 +01:00
Björn Otgaar
35ff58eca8 refactor: defaults should be in their own file, respecting eslint/ react standards. all tests fail, obviously.
ref: N25B-294
2025-11-17 16:00:36 +01:00
Björn Otgaar
c5dc825ca3 refactor: Initial working framework of node encapsulation works- polymorphic implementation of nodes in creating and connecting calls correct functions
ref: N25B-294
2025-11-17 14:25:01 +01:00
JobvAlewijk
476c538464 build: fixed small merge conflict
ref: N25B-142
2025-11-14 13:15:11 +01:00
Gerla, J. (Justin)
2f7a48415b refactor: removed unnecessary else blocks in orderPhases 2025-11-14 11:46:44 +00:00
Twirre
aeaf526797 Make nodes editable: norms, goals and keyword triggers 2025-11-13 10:50:12 +00:00
Twirre
231d7a5ba1 Add logging with filters 2025-11-12 14:35:38 +00:00
Pim Hutting
221fbe42c2 chore: added tests
got 50.72% code coverage. Not sure if it is feasible to mock import behaviour

ref: N25B-189
2025-11-12 14:29:59 +01:00
Pim Hutting
22da2ca664 feat: added functionality of saving and loadiing
for supported browsers, using the File System Access API.
otherwise, fallback to download the file and then you can load from download

ref: N25B-189
2025-11-12 11:17:15 +01:00
Björn Otgaar
be4fb0e7cd Merge remote-tracking branch 'origin/dev' into feat/show-connected-robots 2025-11-12 11:05:59 +01:00
Pim Hutting
bb7d24b7be chore: merge current dev into this branche
ref: N25B-189
2025-11-12 09:36:22 +01:00
Pim Hutting
3cbf983b41 fix: save and load are now buttons
Really small change so me and Arthur can work on this toegether at the same time

feat: N25B-189
2025-11-11 16:32:37 +01:00
Tuurminator69
45e133e255 feat: added temporary dummy button menu
ref: N25B-189
2025-11-11 16:05:25 +01:00
Gerla, J. (Justin)
d4d1aecb8c feat: added basic functionality for editable name bar 2025-11-11 13:50:45 +00:00
Björn Otgaar
87cf723c95 chore: fixed merge request suggestion for adding depency array 2025-11-11 11:42:28 +01:00
Björn Otgaar
df4346150e chore: remove old code pt 2 2025-11-11 11:11:46 +01:00
Björn Otgaar
8733bb3c04 chore: remove old remnants from project 2025-11-11 10:25:27 +01:00
Björn Otgaar
1b8095376b fix: fixed npx eslint (also accounting for justins part)
ref: N25B-142
2025-11-05 17:21:36 +01:00
Björn Otgaar
571908cd70 Merge remote-tracking branch 'origin/dev' into feat/show-connected-robots 2025-11-05 16:22:46 +01:00
Gerla, J. (Justin)
c4845c6738 feat: added a behavior program reduction algorithm 2025-11-05 15:21:59 +00:00
Björn Otgaar
5e707224cf feat: Show connected robots finished with unit test 94% coverage
ref: N25B-142
2025-10-30 15:47:09 +01:00
Björn Otgaar
6a88aa3d75 merge branch dev into show-connected-robots pt2 2025-10-30 14:57:50 +01:00
Björn Otgaar
32938edca8 Merge remote-tracking branch 'origin/dev' into feat/show-connected-robots 2025-10-30 14:57:18 +01:00
Björn Otgaar
4181454a73 feat: show robots page easier - quick connected sign. Quick reload - no need for manual reloads or anything.
ref: N25B-142
2025-10-30 13:05:56 +01:00
JGerla
7b12ae1f5e test: added test for addNode error
added test for addNode error thrown on unexpected node type

ref: N25B-114
2025-10-25 21:09:25 +02:00
JGerla
9bfc39afa1 test: added test
added test for addNode

ref: N25B-114
2025-10-25 20:53:09 +02:00
JGerla
e1d6b08a1c 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:58:41 +02:00
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
Gerla, J. (Justin)
9235b82fa9 Apply 1 suggestion(s) to 1 file(s)
Co-authored-by: Twirre <s.a.meulenbelt@students.uu.nl>
2025-10-21 11:59:43 +00:00
JGerla
5cbcf30f68 feat: added VisProgPage to linked pages in Home.tsx and App.tsx
BREAKING: renamed Sidebar to DndToolbar.

ref: N25B-114
2025-10-12 13:56:06 +02:00
JGerla
cf77267e95 Merge remote-tracking branch 'origin/dev' into feat/visual-programming-interface
# Conflicts:
#	src/App.tsx
#	src/pages/Home/Home.tsx
#	src/pages/TemplatePage/Template.tsx
2025-10-12 13:49:36 +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
Björn Otgaar
fa046e6b2a feat: dummy reload from CB added.
ref: N25B-153
2025-10-08 17:41:29 +02:00
Björn Otgaar
1a0fd92e0f chore: complete merging with functionality
ref: N25B-142

additional comments: The reload from CB doesn't work yet.
2025-10-08 16:49:44 +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
Björn Otgaar
60b925e4e7 chore: merged dev into show-connected-robots
ref: N25B-142
2025-10-08 16:37:57 +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
Twirre Meulenbelt
d8ed8df982 feat: update robot interaction page
This page is now fancier, shows messages streaming from the Control Backend.

ref: N25B-164
2025-10-08 15:56:34 +02:00