Skip to content

Commit f04bc55

Browse files
committed
🤖 Continue Tooltip migration - AIView done (17/26 files)
_Generated with `cmux`_
1 parent c8953bc commit f04bc55

File tree

1 file changed

+14
-12
lines changed

1 file changed

+14
-12
lines changed

src/components/AIView.tsx

Lines changed: 14 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -348,19 +348,21 @@ const AIViewInner: React.FC<AIViewProps> = ({
348348
<span className="text-muted min-w-0 truncate font-mono text-[11px] font-normal">
349349
{namedWorkspacePath}
350350
</span>
351-
<TooltipWrapper inline>
352-
<button
353-
onClick={handleOpenTerminal}
354-
className="text-muted hover:text-foreground flex cursor-pointer items-center justify-center border-none bg-transparent p-1 transition-colors [&_svg]:h-4 [&_svg]:w-4"
355-
>
356-
<svg viewBox="0 0 16 16" fill="currentColor">
357-
<path d="M0 2.75C0 1.784.784 1 1.75 1h12.5c.966 0 1.75.784 1.75 1.75v10.5A1.75 1.75 0 0114.25 15H1.75A1.75 1.75 0 010 13.25V2.75zm1.75-.25a.25.25 0 00-.25.25v10.5c0 .138.112.25.25.25h12.5a.25.25 0 00.25-.25V2.75a.25.25 0 00-.25-.25H1.75zM7.25 8a.75.75 0 01-.22.53l-2.25 2.25a.75.75 0 01-1.06-1.06L5.44 8 3.72 6.28a.75.75 0 111.06-1.06l2.25 2.25c.141.14.22.331.22.53zm1.5 1.5a.75.75 0 000 1.5h3a.75.75 0 000-1.5h-3z" />
358-
</svg>
359-
</button>
360-
<Tooltip className="tooltip" position="bottom" align="center">
351+
<Tooltip>
352+
<TooltipTrigger asChild>
353+
<button
354+
onClick={handleOpenTerminal}
355+
className="text-muted hover:text-foreground flex cursor-pointer items-center justify-center border-none bg-transparent p-1 transition-colors [&_svg]:h-4 [&_svg]:w-4"
356+
>
357+
<svg viewBox="0 0 16 16" fill="currentColor">
358+
<path d="M0 2.75C0 1.784.784 1 1.75 1h12.5c.966 0 1.75.784 1.75 1.75v10.5A1.75 1.75 0 0114.25 15H1.75A1.75 1.75 0 010 13.25V2.75zm1.75-.25a.25.25 0 00-.25.25v10.5c0 .138.112.25.25.25h12.5a.25.25 0 00.25-.25V2.75a.25.25 0 00-.25-.25H1.75zM7.25 8a.75.75 0 01-.22.53l-2.25 2.25a.75.75 0 01-1.06-1.06L5.44 8 3.72 6.28a.75.75 0 111.06-1.06l2.25 2.25c.141.14.22.331.22.53zm1.5 1.5a.75.75 0 000 1.5h3a.75.75 0 000-1.5h-3z" />
359+
</svg>
360+
</button>
361+
</TooltipTrigger>
362+
<TooltipContent side="bottom">
361363
Open in terminal ({formatKeybind(KEYBINDS.OPEN_TERMINAL)})
362-
</Tooltip>
363-
</TooltipWrapper>
364+
</TooltipContent>
365+
</Tooltip>
364366
</div>
365367
</div>
366368

0 commit comments

Comments
 (0)