Build Agentic workflows, RAG pipelines, with rich AI model and tool support on one collaborative workspace. Deploy on cloud, VPC, or self-hosted, so teams move from prototype to production without rebuilding the stack.
Python agentagentic-aiagentic-frameworkagentic-workflowaiautomationclaudedeepseekgenaigptllmlow-codemcpnextjsno-codeopenaipythonskillsworkflow
Improve Tooltip UX by enabling delay by default (#21383)
Kerwin Bryant229b4d621e35
diff --git a/web/app/(commonLayout)/datasets/(datasetDetailLayout)/[datasetId]/layout-main.tsx b/web/app/(commonLayout)/datasets/(datasetDetailLayout)/[datasetId]/layout-main.tsxindex acaae3f7200..426778c835c 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) => {<Tooltipposition='right'noDecoration- needsDelaypopupContent={<LinkedAppsPanelrelatedApps={relatedApps.data}@@ -87,7 +86,6 @@ const ExtraInfo = ({ isMobile, relatedApps, expand }: IExtraInfoProps) => {<Tooltipposition='right'noDecoration- needsDelaypopupContent={<div className='w-[240px] rounded-xl border-[0.5px] border-components-panel-border bg-components-panel-bg-blur p-4'><div className='inline-flex rounded-lg border-[0.5px] border-components-panel-border-subtle bg-background-default-subtle p-2'>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.tsxindex 66fe85a170c..a1b82ab2feb 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 = () => {<span className='text-text-tertiary'>{item.tool_label}</span>{!item.isDeleted && (<Tooltip- needsDelaypopupContent={<div className='w-[180px]'><div className='mb-1.5 text-text-secondary'>{item.tool_name}</div>@@ -232,7 +231,6 @@ const AgentTools: FC = () => {<div className='mr-2 flex items-center'><TooltippopupContent={t('tools.toolRemoved')}- needsDelay><div className='mr-1 cursor-pointer rounded-md p-1 hover:bg-black/5'><AlertTriangle className='h-4 w-4 text-[#F79009]' />@@ -259,7 +257,6 @@ const AgentTools: FC = () => {{!item.notAuthor && (<TooltippopupContent={t('tools.setBuiltInTools.infoAndSetting')}- needsDelay><div className='cursor-pointer rounded-md p-1 hover:bg-black/5' onClick={() => {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.tsxindex e509ee50e41..b36bf8848a6 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<IPromptValuePanelProps> = ({<div className='flex justify-between border-t border-divider-subtle p-4 pt-3'><Button className='w-[72px]' onClick={onClear}>{t('common.operation.clear')}</Button>{canNotRun && (- <Tooltip popupContent={t('appDebug.otherError.promptNoBeEmpty')} needsDelay>+ <Tooltip popupContent={t('appDebug.otherError.promptNoBeEmpty')}><Buttonvariant="primary"disabled={canNotRun}diff --git a/web/app/components/base/tooltip/index.spec.tsx b/web/app/components/base/tooltip/index.spec.tsxindex 1b9b7a0eeea..38cb1071973 100644--- a/web/app/components/base/tooltip/index.spec.tsx+++ b/web/app/components/base/tooltip/index.spec.tsx@@ -50,7 +50,7 @@ describe('Tooltip', () => {test('should close on mouse leave when triggerMethod is hover', () => {const triggerClassName = 'custom-trigger'- const { container } = render(<Tooltip popupContent="Tooltip content" triggerClassName={triggerClassName} />)+ const { container } = render(<Tooltip popupContent="Tooltip content" triggerClassName={triggerClassName} needsDelay={false} />)const trigger = container.querySelector(`.${triggerClassName}`)act(() => {fireEvent.mouseEnter(trigger!)diff --git a/web/app/components/base/tooltip/index.tsx b/web/app/components/base/tooltip/index.tsxindex 697d6e3d96e..92a1afe691b 100644--- a/web/app/components/base/tooltip/index.tsx+++ b/web/app/components/base/tooltip/index.tsx@@ -33,7 +33,7 @@ const Tooltip: FC<TooltipProps> = ({noDecoration,offset,asChild = true,- needsDelay = false,+ needsDelay = true,}) => {const [open, setOpen] = useState(false)const [isHoverPopup, {@@ -68,7 +68,7 @@ const Tooltip: FC<TooltipProps> = ({setTimeout(() => {if (!isHoverPopupRef.current && !isHoverTriggerRef.current)setOpen(false)- }, 500)+ }, 300)}else {setOpen(false)diff --git a/web/app/components/datasets/documents/list.tsx b/web/app/components/datasets/documents/list.tsxindex c54b6a1a37f..2eb6a3ac1e1 100644--- a/web/app/components/datasets/documents/list.tsx+++ b/web/app/components/datasets/documents/list.tsx@@ -154,7 +154,6 @@ export const StatusItem: FC<{<TooltippopupContent={t('datasetDocuments.list.action.enableWarning')}popupClassName='text-text-secondary system-xs-medium'- needsDelaydisabled={!archived}><Switch@@ -285,7 +284,6 @@ export const OperationAction: FC<{? <TooltippopupContent={t('datasetDocuments.list.action.enableWarning')}popupClassName='!font-semibold'- needsDelay><div><Switch defaultValue={false} onChange={noop} disabled={true} size='md' />diff --git a/web/app/components/header/account-setting/members-page/index.tsx b/web/app/components/header/account-setting/members-page/index.tsxindex df7aae6b62a..eb8a0291de0 100644--- a/web/app/components/header/account-setting/members-page/index.tsx+++ b/web/app/components/header/account-setting/members-page/index.tsx@@ -70,7 +70,6 @@ const MembersPage = () => {{isCurrentWorkspaceOwner && <span><TooltippopupContent={t('common.account.editWorkspaceInfo')}- needsDelay><divclassName='cursor-pointer rounded-md p-1 hover:bg-black/5'diff --git a/web/app/components/header/account-setting/model-provider-page/model-parameter-modal/status-indicators.tsx b/web/app/components/header/account-setting/model-provider-page/model-parameter-modal/status-indicators.tsxindex 02b8cb24484..259a686d6fd 100644--- a/web/app/components/header/account-setting/model-provider-page/model-parameter-modal/status-indicators.tsx+++ b/web/app/components/header/account-setting/model-provider-page/model-parameter-modal/status-indicators.tsx@@ -63,7 +63,6 @@ const StatusIndicators = ({ needsConfiguration, modelProvider, inModelList, disa'/plugins',)}asChild={false}- needsDelay={true}><RiErrorWarningFill className='h-4 w-4 text-text-destructive' /></Tooltip>@@ -87,7 +86,6 @@ const StatusIndicators = ({ needsConfiguration, modelProvider, inModelList, disa'/plugins',)}asChild={false}- needsDelay><RiErrorWarningFill className='h-4 w-4 text-text-destructive' /></Tooltip>diff --git a/web/app/components/header/account-setting/model-provider-page/provider-added-card/model-list-item.tsx b/web/app/components/header/account-setting/model-provider-page/provider-added-card/model-list-item.tsxindex 62ad4252aa2..5439da669eb 100644--- a/web/app/components/header/account-setting/model-provider-page/provider-added-card/model-list-item.tsx+++ b/web/app/components/header/account-setting/model-provider-page/provider-added-card/model-list-item.tsx@@ -105,7 +105,6 @@ const ModelListItem = ({ model, provider, isConfigurable, onConfig, onModifyLoadpopupContent={<span className='font-semibold'>{t('common.modelProvider.modelHasBeenDeprecated')}</span>} offset={{ mainAxis: 4 }}- needsDelay><Switch defaultValue={false} disabled size='md' /></Tooltip>diff --git a/web/app/components/plugins/plugin-detail-panel/endpoint-list.tsx b/web/app/components/plugins/plugin-detail-panel/endpoint-list.tsxindex b31b45c0c7c..5735022c5d9 100644--- a/web/app/components/plugins/plugin-detail-panel/endpoint-list.tsx+++ b/web/app/components/plugins/plugin-detail-panel/endpoint-list.tsx@@ -68,7 +68,6 @@ const EndpointList = ({ detail }: Props) => {{t('plugin.detailPanel.endpoints')}<Tooltipposition='right'- needsDelaypopupClassName='w-[240px] p-4 rounded-xl bg-components-panel-bg-blur border-[0.5px] border-components-panel-border'popupContent={<div className='flex flex-col gap-2'>diff --git a/web/app/components/plugins/plugin-detail-panel/multiple-tool-selector/index.tsx b/web/app/components/plugins/plugin-detail-panel/multiple-tool-selector/index.tsxindex 2c700c6dc87..44212e38edb 100644--- a/web/app/components/plugins/plugin-detail-panel/multiple-tool-selector/index.tsx+++ b/web/app/components/plugins/plugin-detail-panel/multiple-tool-selector/index.tsx@@ -114,7 +114,6 @@ const MultipleToolSelector = ({{tooltip && (<TooltippopupContent={tooltip}- needsDelay><div><RiQuestionLine className='h-3.5 w-3.5 text-text-quaternary hover:text-text-tertiary' /></div></Tooltip>diff --git a/web/app/components/plugins/plugin-detail-panel/tool-selector/tool-item.tsx b/web/app/components/plugins/plugin-detail-panel/tool-selector/tool-item.tsxindex 5cc9b7a3a8e..6fa0ce57abd 100644--- a/web/app/components/plugins/plugin-detail-panel/tool-selector/tool-item.tsx+++ b/web/app/components/plugins/plugin-detail-panel/tool-selector/tool-item.tsx@@ -161,7 +161,6 @@ const ToolItem = ({{isError && (<TooltippopupContent={errorTip}- needsDelay><div><RiErrorWarningFill className='h-4 w-4 text-text-destructive' />diff --git a/web/app/components/workflow/nodes/_base/components/agent-strategy-selector.tsx b/web/app/components/workflow/nodes/_base/components/agent-strategy-selector.tsxindex ba5281870f1..c872952900c 100644--- a/web/app/components/workflow/nodes/_base/components/agent-strategy-selector.tsx+++ b/web/app/components/workflow/nodes/_base/components/agent-strategy-selector.tsx@@ -49,7 +49,6 @@ const NotFoundWarn = (props: {</p></div>}- needsDelay><div><RiErrorWarningFill className='size-4 text-text-destructive' />diff --git a/web/app/components/workflow/nodes/_base/components/prompt/editor.tsx b/web/app/components/workflow/nodes/_base/components/prompt/editor.tsxindex 0a7ebc2a095..b28e8a1ca3c 100644--- a/web/app/components/workflow/nodes/_base/components/prompt/editor.tsx+++ b/web/app/components/workflow/nodes/_base/components/prompt/editor.tsx@@ -173,7 +173,6 @@ const Editor: FC<Props> = ({<a className='text-text-accent' target='_blank' href='https://jinja.palletsprojects.com/en/2.10.x/'>{t('workflow.common.learnMore')}</a></div>}- needsDelay><div className={cn(editionType === EditionType.jinja2 && 'border-components-button-ghost-bg-hover bg-components-button-ghost-bg-hover', 'flex h-[22px] items-center space-x-0.5 rounded-[5px] border border-transparent px-1.5 hover:border-components-button-ghost-bg-hover')}><Jinja className='h-3 w-6 text-text-quaternary' />diff --git a/web/app/signin/oneMoreStep.tsx b/web/app/signin/oneMoreStep.tsxindex 06a9ddba90c..3569cf96d93 100644--- a/web/app/signin/oneMoreStep.tsx+++ b/web/app/signin/oneMoreStep.tsx@@ -103,7 +103,6 @@ const OneMoreStep = () => {</div></div>}- needsDelay><span className='cursor-pointer text-text-accent-secondary'>{t('login.dontHave')}</span></Tooltip>