From 5838f7e5951884786cdaf814fea8c024969c28a1 Mon Sep 17 00:00:00 2001 From: jubinsoni Date: Tue, 15 Jul 2025 21:52:49 +0530 Subject: [PATCH] adding tooltip for bindingCount --- .../components/base/tag-management/tag-item-editor.tsx | 9 +++++++++ web/i18n/en-US/workflow.ts | 1 + 2 files changed, 10 insertions(+) diff --git a/web/app/components/base/tag-management/tag-item-editor.tsx b/web/app/components/base/tag-management/tag-item-editor.tsx index 3264979955..d1b1a804f8 100644 --- a/web/app/components/base/tag-management/tag-item-editor.tsx +++ b/web/app/components/base/tag-management/tag-item-editor.tsx @@ -12,6 +12,7 @@ import Confirm from '@/app/components/base/confirm' import cn from '@/utils/classnames' import type { Tag } from '@/app/components/base/tag-management/constant' import { ToastContext } from '@/app/components/base/toast' +import Tooltip from '@/app/components/base/tooltip' import { deleteTag, updateTag, @@ -110,6 +111,14 @@ const TagItemEditor: FC = ({ {tag.name}
{tag.binding_count}
+ {t('workflow.common.tagBound')} + } + needsDelay + > +
{tag.binding_count}
+
setIsEditing(true)}>
diff --git a/web/i18n/en-US/workflow.ts b/web/i18n/en-US/workflow.ts index c56b497ac2..50d3fa7795 100644 --- a/web/i18n/en-US/workflow.ts +++ b/web/i18n/en-US/workflow.ts @@ -113,6 +113,7 @@ const translation = { addFailureBranch: 'Add Fail Branch', loadMore: 'Load More', noHistory: 'No History', + tagBound: 'number of apps to which this tag is bound', }, env: { envPanelTitle: 'Environment Variables',