From 1554aa1aed07e7d35da4266c8f2c04b939ead657 Mon Sep 17 00:00:00 2001 From: Ahmed Awan Date: Mon, 9 Dec 2024 14:49:31 -0600 Subject: [PATCH] have a functioning side by side inputs w/graph run form The input values are synced with the graph --- client/src/components/Form/FormDisplay.vue | 8 +- client/src/components/Form/FormInputs.vue | 34 ++++- .../src/components/Workflow/Editor/Node.vue | 24 +++- .../Workflow/Editor/WorkflowGraph.vue | 2 + .../Workflow/Run/WorkflowRunFormSimple.vue | 37 +++-- .../Workflow/Run/WorkflowRunGraph.vue | 130 ++++++++++++++++++ .../Workflow/Run/WorkflowRunInfo.vue | 74 ---------- 7 files changed, 213 insertions(+), 96 deletions(-) create mode 100644 client/src/components/Workflow/Run/WorkflowRunGraph.vue delete mode 100644 client/src/components/Workflow/Run/WorkflowRunInfo.vue diff --git a/client/src/components/Form/FormDisplay.vue b/client/src/components/Form/FormDisplay.vue index 5975714adfcf..b0d447512844 100644 --- a/client/src/components/Form/FormDisplay.vue +++ b/client/src/components/Form/FormDisplay.vue @@ -13,7 +13,9 @@ :on-change="onChange" :on-change-form="onChangeForm" :workflow-building-mode="workflowBuildingMode" - :active-node-id="activeNodeId" /> + :active-node-id="activeNodeId" + :sync-with-graph="syncWithGraph" + @update:active-node-id="($event) => $emit('update:active-node-id', $event)" /> + + diff --git a/client/src/components/Workflow/Run/WorkflowRunInfo.vue b/client/src/components/Workflow/Run/WorkflowRunInfo.vue deleted file mode 100644 index 01d8f784d9a9..000000000000 --- a/client/src/components/Workflow/Run/WorkflowRunInfo.vue +++ /dev/null @@ -1,74 +0,0 @@ - - -