Send program to backend in the latest form #22

Merged
0950726 merged 3 commits from feat/send-program into dev 2025-12-02 15:56:27 +00:00
0950726 commented 2025-11-25 10:25:03 +00:00 (Migrated from git.science.uu.nl)

The CB has been updated to support this new data in branch feat/norms-and-goals-program.

This introduces the functionality to send programs to the backend in the right form.

To test:

  • Style checks pass (eslint)
  • Unit tests pass (npx jest)
  • Open the UI
    • Start the CB on a branch that supports the new type of program
    • Make a small sample program with each type of node, press "run program"
    • Check that the CB receives it correctly
    • Check that there are no errors in the browser console after pressing the button

ref: N25B-198

The CB has been updated to support this new data in branch `feat/norms-and-goals-program`. This introduces the functionality to send programs to the backend in the right form. To test: - [x] Style checks pass (`eslint`) - [x] Unit tests pass (`npx jest`) - [x] Open the UI - [x] Start the CB on a branch that supports the new type of program - [x] Make a small sample program with each type of node, press "run program" - [x] Check that the CB receives it correctly - [x] Check that there are no errors in the browser console after pressing the button ref: N25B-198
0950726 commented 2025-12-02 09:53:34 +00:00 (Migrated from git.science.uu.nl)

added 3 commits

  • 32c8c985...0ec6f556 - 2 commits from branch dev
  • ff4ee7e1 - Merge remote-tracking branch 'origin/dev' into feat/send-program

Compare with previous version

added 3 commits <ul><li>32c8c985...0ec6f556 - 2 commits from branch <code>dev</code></li><li>ff4ee7e1 - Merge remote-tracking branch &#39;origin/dev&#39; into feat/send-program</li></ul> [Compare with previous version](/ics/sp/2025/n25b/pepperplus-ui/-/merge_requests/22/diffs?diff_id=134995&start_sha=32c8c985c3edf7309842345352a018a795c1e880)
2584433 commented 2025-12-02 10:41:34 +00:00 (Migrated from git.science.uu.nl)

assigned to @0950726

assigned to @0950726
2584433 commented 2025-12-02 10:41:36 +00:00 (Migrated from git.science.uu.nl)

requested review from @2584433

requested review from @2584433
2584433 commented 2025-12-02 10:49:28 +00:00 (Migrated from git.science.uu.nl)

marked the checklist item Style checks pass (eslint) as completed

marked the checklist item **Style checks pass (`eslint`)** as completed
2584433 commented 2025-12-02 10:49:29 +00:00 (Migrated from git.science.uu.nl)

marked the checklist item Unit tests pass (npx jest) as completed

marked the checklist item **Unit tests pass (`npx jest`)** as completed
2584433 commented 2025-12-02 10:49:32 +00:00 (Migrated from git.science.uu.nl)

marked the checklist item Open the UI as completed

marked the checklist item **Open the UI** as completed
2584433 commented 2025-12-02 10:49:36 +00:00 (Migrated from git.science.uu.nl)

marked the checklist item Start the CB on a branch that supports the new type of program as completed

marked the checklist item **Start the CB on a branch that supports the new type of program** as completed
2584433 commented 2025-12-02 10:54:09 +00:00 (Migrated from git.science.uu.nl)

marked the checklist item Make a small sample program with each type of node, press "run program" as completed

marked the checklist item **Make a small sample program with each type of node, press "run program"** as completed
2584433 commented 2025-12-02 10:56:40 +00:00 (Migrated from git.science.uu.nl)

marked the checklist item Check that the CB receives it correctly as completed

marked the checklist item **Check that the CB receives it correctly** as completed
2584433 commented 2025-12-02 10:56:44 +00:00 (Migrated from git.science.uu.nl)

marked the checklist item Check that there are no errors in the browser console after pressing the button as completed

marked the checklist item **Check that there are no errors in the browser console after pressing the button** as completed
2584433 commented 2025-12-02 11:01:21 +00:00 (Migrated from git.science.uu.nl)

Found bug that every phase contains all nodes in the program.
However has nothing to do with this Ticket, Ui sends and CB receives the program correctly.

Found bug that every phase contains all nodes in the program. However has nothing to do with this Ticket, Ui sends and CB receives the program correctly.
2584433 commented 2025-12-02 11:01:25 +00:00 (Migrated from git.science.uu.nl)

approved this merge request

approved this merge request
9828273 commented 2025-12-02 15:56:00 +00:00 (Migrated from git.science.uu.nl)

approved this merge request

approved this merge request
9828273 commented 2025-12-02 15:56:27 +00:00 (Migrated from git.science.uu.nl)

mentioned in commit df255a83b6

mentioned in commit df255a83b69aecea9504313d674b80c0a78dd077
9828273 (Migrated from git.science.uu.nl) merged commit df255a83b6 into dev 2025-12-02 15:56:27 +00:00
2584433 (Migrated from git.science.uu.nl) approved these changes 2026-02-02 13:31:16 +00:00
9828273 (Migrated from git.science.uu.nl) approved these changes 2026-02-02 13:31:16 +00:00
Sign in to join this conversation.
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: pepperplus/pepperplus-ui#22