From da9e1d1b58405dcf85016f11afe37b916a1daf58 Mon Sep 17 00:00:00 2001
From: zhom <2717306+zhom@users.noreply.github.com>
Date: Fri, 15 Aug 2025 19:17:07 +0400
Subject: [PATCH] refactor: show tooltip on tags hover
---
src/components/profile-data-table.tsx | 73 ++++++++++++++++++---------
1 file changed, 48 insertions(+), 25 deletions(-)
diff --git a/src/components/profile-data-table.tsx b/src/components/profile-data-table.tsx
index 9a2ebf8..8ddfd47 100644
--- a/src/components/profile-data-table.tsx
+++ b/src/components/profile-data-table.tsx
@@ -220,33 +220,56 @@ const TagsCell = React.memo<{
if (openTagsEditorFor !== profile.name) {
const hiddenCount = Math.max(0, effectiveTags.length - visibleCount);
+ const ButtonContent = (
+
+ );
+
return (
-
+ {hiddenCount > 0 ? (
+
+ {ButtonContent}
+
+
+ {effectiveTags.map((t) => (
+
+ {t}
+
+ ))}
+
+
+
+ ) : (
+ ButtonContent
+ )}
);
}