diff --git a/web/app/dashboard/ai-workflows/_components/node-config-panel.tsx b/web/app/dashboard/ai-workflows/_components/node-config-panel.tsx index b4d50df..ed932ed 100644 --- a/web/app/dashboard/ai-workflows/_components/node-config-panel.tsx +++ b/web/app/dashboard/ai-workflows/_components/node-config-panel.tsx @@ -104,7 +104,7 @@ export function NodeConfigPanel({ } return ( -
+
{showHeader ? (
@@ -129,7 +129,7 @@ export function NodeConfigPanel({
) : null} -
+
{inputSchema.length > 0 ? (
@@ -217,7 +217,7 @@ export function ConditionBranchConfigPanel({ } return ( -
+
diff --git a/web/app/dashboard/ai-workflows/_components/workflow-config-sidebar.tsx b/web/app/dashboard/ai-workflows/_components/workflow-config-sidebar.tsx index 247d4f4..01d823a 100644 --- a/web/app/dashboard/ai-workflows/_components/workflow-config-sidebar.tsx +++ b/web/app/dashboard/ai-workflows/_components/workflow-config-sidebar.tsx @@ -5,6 +5,7 @@ import { XIcon } from "lucide-react" import { Button } from "@/components/ui/button" import { Input } from "@/components/ui/input" +import { ScrollArea } from "@/components/ui/scroll-area" import type { AIWorkflowDefinition, AIWorkflowNodeSpec } from "@/lib/api/admin" import type { SelectedWorkflowBranch } from "./workflow-branch-selection" @@ -127,76 +128,78 @@ export function WorkflowConfigPanel({
-
-
-
-
-
- -
- updatePanelTitle(event.target.value)} - /> + +
+
+
+
+
+
+ +
+ updatePanelTitle(event.target.value)} + /> +
+
+
+ {panelDescription ? ( +
+ {panelDescription} +
+ ) : null}
- + {panelMeta ? ( +
+
+ + {panelMeta} + +
+
+ ) : null}
- {panelDescription ? ( -
- {panelDescription} -
- ) : null}
- {panelMeta ? ( -
-
- - {panelMeta} - -
-
- ) : null} + {selectedBranchItem && selectedBranch ? ( + + ) : ( + + )}
-
-
- {selectedBranchItem && selectedBranch ? ( - - ) : ( - - )} -
+
)