From 229b4d621e35e5621d78e49050dfc322c0c203bb Mon Sep 17 00:00:00 2001 From: Kerwin Bryant Date: Wed, 16 Jul 2025 11:26:54 +0800 Subject: [PATCH] Improve Tooltip UX by enabling delay by default (#21383) --- .../(datasetDetailLayout)/[datasetId]/layout-main.tsx | 2 -- .../app/configuration/config/agent/agent-tools/index.tsx | 3 --- .../components/app/configuration/prompt-value-panel/index.tsx | 2 +- web/app/components/base/tooltip/index.spec.tsx | 2 +- web/app/components/base/tooltip/index.tsx | 4 ++-- web/app/components/datasets/documents/list.tsx | 2 -- .../components/header/account-setting/members-page/index.tsx | 1 - .../model-parameter-modal/status-indicators.tsx | 2 -- .../provider-added-card/model-list-item.tsx | 1 - .../components/plugins/plugin-detail-panel/endpoint-list.tsx | 1 - .../plugin-detail-panel/multiple-tool-selector/index.tsx | 1 - .../plugins/plugin-detail-panel/tool-selector/tool-item.tsx | 1 - .../nodes/_base/components/agent-strategy-selector.tsx | 1 - .../workflow/nodes/_base/components/prompt/editor.tsx | 1 - web/app/signin/oneMoreStep.tsx | 1 - 15 files changed, 4 insertions(+), 21 deletions(-) diff --git a/web/app/(commonLayout)/datasets/(datasetDetailLayout)/[datasetId]/layout-main.tsx b/web/app/(commonLayout)/datasets/(datasetDetailLayout)/[datasetId]/layout-main.tsx index acaae3f720..426778c835 100644 --- a/web/app/(commonLayout)/datasets/(datasetDetailLayout)/[datasetId]/layout-main.tsx +++ b/web/app/(commonLayout)/datasets/(datasetDetailLayout)/[datasetId]/layout-main.tsx @@ -62,7 +62,6 @@ const ExtraInfo = ({ isMobile, relatedApps, expand }: IExtraInfoProps) => { {
diff --git a/web/app/components/app/configuration/config/agent/agent-tools/index.tsx b/web/app/components/app/configuration/config/agent/agent-tools/index.tsx index 66fe85a170..a1b82ab2fe 100644 --- a/web/app/components/app/configuration/config/agent/agent-tools/index.tsx +++ b/web/app/components/app/configuration/config/agent/agent-tools/index.tsx @@ -209,7 +209,6 @@ const AgentTools: FC = () => { {item.tool_label} {!item.isDeleted && (
{item.tool_name}
@@ -232,7 +231,6 @@ const AgentTools: FC = () => {
@@ -259,7 +257,6 @@ const AgentTools: FC = () => { {!item.notAuthor && (
{ setCurrentTool(item) diff --git a/web/app/components/app/configuration/prompt-value-panel/index.tsx b/web/app/components/app/configuration/prompt-value-panel/index.tsx index e509ee50e4..b36bf8848a 100644 --- a/web/app/components/app/configuration/prompt-value-panel/index.tsx +++ b/web/app/components/app/configuration/prompt-value-panel/index.tsx @@ -177,7 +177,7 @@ const PromptValuePanel: FC = ({
{canNotRun && ( - +