diff --git a/frontend/src/components/timeline/ExecutionInspector.tsx b/frontend/src/components/timeline/ExecutionInspector.tsx index fbc208e8..0843ec42 100644 --- a/frontend/src/components/timeline/ExecutionInspector.tsx +++ b/frontend/src/components/timeline/ExecutionInspector.tsx @@ -534,25 +534,21 @@ export function ExecutionInspector({ onRerunRun }: ExecutionInspectorProps = {}) )}
- {truncatedMessage}
-
- {isTruncated && (
-
- ⋯
-
+
+ >
+ {truncatedMessage}
+
{jsonError}
} diff --git a/frontend/src/components/workflow/RunWorkflowDialog.tsx b/frontend/src/components/workflow/RunWorkflowDialog.tsx index 27de2dd7..5eac7d38 100644 --- a/frontend/src/components/workflow/RunWorkflowDialog.tsx +++ b/frontend/src/components/workflow/RunWorkflowDialog.tsx @@ -207,8 +207,8 @@ export function RunWorkflowDialog({ id={input.id} placeholder='{"key": "value"}' onChange={(e) => handleInputChange(input.id, e.target.value, inputType)} - className={hasError ? 'border-red-500' : ''} - rows={4} + className={`${hasError ? 'border-red-500' : ''} max-h-[120px] overflow-y-auto`} + rows={2} defaultValue={ typeof inputs[input.id] === 'string' ? (inputs[input.id] as string) @@ -235,8 +235,8 @@ export function RunWorkflowDialog({ id={input.id} placeholder='value1, value2 or ["value1", "value2"]' onChange={(e) => handleInputChange(input.id, e.target.value, input.type)} - className={hasError ? 'border-red-500 font-mono' : 'font-mono'} - rows={3} + className={`${hasError ? 'border-red-500 font-mono' : 'font-mono'} max-h-[120px] overflow-y-auto`} + rows={2} defaultValue={ typeof inputs[input.id] === 'string' ? (inputs[input.id] as string) @@ -319,8 +319,8 @@ export function RunWorkflowDialog({ id={input.id} placeholder="Enter text" onChange={(e) => handleInputChange(input.id, e.target.value, inputType)} - className={hasError ? 'border-red-500 font-mono' : 'font-mono'} - rows={8} + className={`${hasError ? 'border-red-500 font-mono' : 'font-mono'} max-h-[120px] overflow-y-auto`} + rows={2} defaultValue={ inputs[input.id] !== undefined && inputs[input.id] !== null ? String(inputs[input.id]) @@ -349,7 +349,7 @@ export function RunWorkflowDialog({ {runtimeInputs.length > 0 && ( -