From c1792bc9a6f3c2fa62ee7cb66991b4d6508781a2 Mon Sep 17 00:00:00 2001 From: Julius Marminge <51714798+juliusmarminge@users.noreply.github.com> Date: Fri, 12 Jun 2026 19:58:15 -0700 Subject: [PATCH] Use real preview tooltips --- apps/web/src/components/RightPanelTabs.tsx | 25 ++++--- .../components/preview/PreviewChromeRow.tsx | 68 +++++++++++-------- 2 files changed, 54 insertions(+), 39 deletions(-) diff --git a/apps/web/src/components/RightPanelTabs.tsx b/apps/web/src/components/RightPanelTabs.tsx index 7c07b61d931a4f25533fbdd4c0e016b7c3b5bd32..b4d5c9cbb4582eab0492a79b8f79920b379e6f82 100644 --- a/apps/web/src/components/RightPanelTabs.tsx +++ b/apps/web/src/components/RightPanelTabs.tsx @@ -7,6 +7,7 @@ import { isElectron } from "~/env"; import type { RightPanelSurface } from "~/rightPanelStore"; import { cn } from "~/lib/utils"; import { Menu, MenuItem, MenuPopup, MenuTrigger } from "~/components/ui/menu"; +import { Tooltip, TooltipPopup, TooltipTrigger } from "~/components/ui/tooltip"; import { faviconUrlForOrigin } from "~/lib/favicon"; import { PreviewPanelShell, type PreviewPanelMode } from "./preview/PreviewPanelShell"; @@ -185,15 +186,21 @@ export function RightPanelTabs(props: RightPanelTabsProps) { : "text-muted-foreground hover:bg-accent/60 hover:text-foreground", )} > - + + props.onActivate(surface)} + > + + {title} + + } + /> + {title} +