Refactor of visual programming page to fully match the CB's program schema. Includes overhaul of UI elements for plan creation. #38

Merged
9828273 merged 23 commits from refactor/nodes-match-functionality into demo 2026-01-07 15:19:47 +00:00
Showing only changes of commit 0b29cb5858 - Show all commits

View File

@@ -945,14 +945,9 @@ describe('NormNode', () => {
targetHandle: null, targetHandle: null,
}); });
const state = useFlowStore.getState(); const state = useFlowStore.getState();
const updatedNorm = state.nodes.find(n => n.id === 'norm-1'); const updatedNorm = state.nodes.find(n => n.id === 'norm-1');
console.log(updatedNorm?.data.conditions);
expect(updatedNorm?.data.conditions).toEqual(["basic_belief-1", "basic_belief-2"]); expect(updatedNorm?.data.conditions).toEqual(["basic_belief-1", "basic_belief-2"]);
}); });
}); });
}); });