From 68e9081d054e6893c47f385536a2256d6e301e7e Mon Sep 17 00:00:00 2001 From: Joel Date: Tue, 1 Jul 2025 10:44:01 +0800 Subject: [PATCH 1/3] fix: setting menu hide by toolbar --- web/app/components/tools/provider-list.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/web/app/components/tools/provider-list.tsx b/web/app/components/tools/provider-list.tsx index 9f532ab90c..5a3e2e7f94 100644 --- a/web/app/components/tools/provider-list.tsx +++ b/web/app/components/tools/provider-list.tsx @@ -74,7 +74,7 @@ const ProviderList = () => { className='relative flex grow flex-col overflow-y-auto bg-background-body' >
Date: Tue, 1 Jul 2025 11:07:00 +0800 Subject: [PATCH 2/3] fix: json schem ui problem --- .../plugin-detail-panel/tool-selector/schema-modal.tsx | 1 + .../workflow/nodes/_base/components/form-input-item.tsx | 1 - .../json-schema-config-modal/visual-editor/index.tsx | 6 ++++-- 3 files changed, 5 insertions(+), 3 deletions(-) diff --git a/web/app/components/plugins/plugin-detail-panel/tool-selector/schema-modal.tsx b/web/app/components/plugins/plugin-detail-panel/tool-selector/schema-modal.tsx index d9dd907816..cd4cf71bac 100644 --- a/web/app/components/plugins/plugin-detail-panel/tool-selector/schema-modal.tsx +++ b/web/app/components/plugins/plugin-detail-panel/tool-selector/schema-modal.tsx @@ -44,6 +44,7 @@ const SchemaModal: FC = ({ = ({ value={varInput?.value as any} isExpand isInNode - height={100} language={CodeLanguage.json} onChange={handleValueChange} className='w-full' diff --git a/web/app/components/workflow/nodes/llm/components/json-schema-config-modal/visual-editor/index.tsx b/web/app/components/workflow/nodes/llm/components/json-schema-config-modal/visual-editor/index.tsx index 28b9035edd..d96f856bbb 100644 --- a/web/app/components/workflow/nodes/llm/components/json-schema-config-modal/visual-editor/index.tsx +++ b/web/app/components/workflow/nodes/llm/components/json-schema-config-modal/visual-editor/index.tsx @@ -2,8 +2,10 @@ import type { FC } from 'react' import type { SchemaRoot } from '../../../types' import SchemaNode from './schema-node' import { useSchemaNodeOperations } from './hooks' +import cn from '@/utils/classnames' export type VisualEditorProps = { + className?: string schema: SchemaRoot rootName?: string readOnly?: boolean @@ -11,11 +13,11 @@ export type VisualEditorProps = { } const VisualEditor: FC = (props) => { - const { schema, readOnly } = props + const { className, schema, readOnly } = props useSchemaNodeOperations(props) return ( -
+
Date: Tue, 1 Jul 2025 11:18:30 +0800 Subject: [PATCH 3/3] chore: handle tool name copy --- .../workflow/nodes/tool/components/copy-id.tsx | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/web/app/components/workflow/nodes/tool/components/copy-id.tsx b/web/app/components/workflow/nodes/tool/components/copy-id.tsx index 1381447f56..18cbc3d12a 100644 --- a/web/app/components/workflow/nodes/tool/components/copy-id.tsx +++ b/web/app/components/workflow/nodes/tool/components/copy-id.tsx @@ -26,7 +26,7 @@ const CopyFeedbackNew = ({ content }: Props) => { }, 100) return ( -
e.stopPropagation()}> +
e.stopPropagation()}> { } >
{content}
+ > +
{content}
+ +
-
) }