From 88652c91699e7bca2482290d9be0ece78082319f Mon Sep 17 00:00:00 2001 From: The Doom Lab Date: Sat, 13 Dec 2025 20:46:28 -0600 Subject: [PATCH] fix double tooltip issue --- src/core/components/sidebar/Sidebar.tsx | 2 +- src/core/components/sidebar/SidebarTooltips.tsx | 2 ++ src/pages/projects/[projectId]/notes/index.tsx | 4 ++-- 3 files changed, 5 insertions(+), 3 deletions(-) diff --git a/src/core/components/sidebar/Sidebar.tsx b/src/core/components/sidebar/Sidebar.tsx index 69bda728..6e137923 100644 --- a/src/core/components/sidebar/Sidebar.tsx +++ b/src/core/components/sidebar/Sidebar.tsx @@ -104,7 +104,7 @@ export function SidebarItem({ /> )} - {!expanded && ( + {!expanded && !tooltipId && (
diff --git a/src/core/components/sidebar/SidebarTooltips.tsx b/src/core/components/sidebar/SidebarTooltips.tsx index c079cad9..8a932130 100644 --- a/src/core/components/sidebar/SidebarTooltips.tsx +++ b/src/core/components/sidebar/SidebarTooltips.tsx @@ -32,6 +32,8 @@ const SidebarTooltips = () => { { id: "help-tooltip", content: "Get help" }, { id: "project-notification-tooltip", content: "Project notifications" }, { id: "invite-tooltip", content: "Project invitations" }, + { id: "project-notes-tooltip", content: "View notes" }, + { id: "project-tags-tooltip", content: "View tag dashboard" }, ] return ( diff --git a/src/pages/projects/[projectId]/notes/index.tsx b/src/pages/projects/[projectId]/notes/index.tsx index 8162a151..860db6ed 100644 --- a/src/pages/projects/[projectId]/notes/index.tsx +++ b/src/pages/projects/[projectId]/notes/index.tsx @@ -22,10 +22,10 @@ const NotesPage = () => {

Notes