From 0ca7c29c4725ff424757e6608099d7640283dcae Mon Sep 17 00:00:00 2001 From: Joel Date: Fri, 22 Aug 2025 11:35:54 +0800 Subject: [PATCH] feat: preiew show the large data --- web/app/components/workflow/run/node.tsx | 3 +++ 1 file changed, 3 insertions(+) diff --git a/web/app/components/workflow/run/node.tsx b/web/app/components/workflow/run/node.tsx index a4df5f4c74..7de4d47a97 100644 --- a/web/app/components/workflow/run/node.tsx +++ b/web/app/components/workflow/run/node.tsx @@ -30,6 +30,7 @@ import ErrorHandleTip from '@/app/components/workflow/nodes/_base/components/err import { hasRetryNode } from '@/app/components/workflow/utils' import { useDocLink } from '@/context/i18n' import Tooltip from '@/app/components/base/tooltip' +import LargeDataAlert from '../variable-inspect/large-data-alert' type Props = { className?: string @@ -231,6 +232,7 @@ const NodePanel: FC = ({ language={CodeLanguage.json} value={nodeInfo.inputs} isJSONStringifyBeauty + footer={nodeInfo.inputs_truncated && } /> )} @@ -254,6 +256,7 @@ const NodePanel: FC = ({ value={nodeInfo.outputs} isJSONStringifyBeauty tip={} + footer={nodeInfo.outputs_truncated && } /> )}