From f9a80f30dcf112ed559e91a77eb371e484eb5cf8 Mon Sep 17 00:00:00 2001 From: SaelixCode Date: Thu, 2 Jul 2026 12:48:57 -0400 Subject: [PATCH] fix: wrap tooltip icon triggers in span for Radix compatibility TooltipTrigger asChild requires a native element to forward props. Lucide icon components did not reliably receive data-state and event handlers, so tooltips on the check-failed and git-pending indicators did not open. Wrapped each icon in a span. --- frontend/src/components/sidebar/StackRow.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/frontend/src/components/sidebar/StackRow.tsx b/frontend/src/components/sidebar/StackRow.tsx index 0586c6be..eb7dd9d2 100644 --- a/frontend/src/components/sidebar/StackRow.tsx +++ b/frontend/src/components/sidebar/StackRow.tsx @@ -117,12 +117,12 @@ export function StackRow(props: StackRowProps) { /> ) : checkStatus === 'failed' ? ( } + trigger={} label={lastError ? `Update check failed: ${lastError}` : 'Update check failed'} /> ) : hasGitPending ? ( } + trigger={} label="Git source update pending" /> ) : null}