@devries-cameron20 / t3code Mirror · read-only / commits / 827345a07a
Fork 0

The best way to control Claude Code, Codex and more from any computer or phone

Mirrored from https://github.com/Camo67/t3code.git

Synced Nov 24, 12:45 UTC

fix(web): model info button opens its details on click (#9177)

Co-authored-by: Claude Fable 5.1 <noreply@anthropic.com>

Wout Stiens committed Sep 2, 2026 at 08:48 UTC 827345a07a3d2348abc63e5215e57184024078d8
1 file changed +10 -6
apps/web/src/components/settings/ProviderModelsSection.tsx
+10 -6
@@ -23,6 +23,7 @@ import { sortModelsForProviderInstance } from "../../modelOrdering";
23 import { MAX_CUSTOM_MODEL_LENGTH } from "../../modelSelection";
24 import { Button } from "../ui/button";
25 import { Input } from "../ui/input";
26 +import { Popover, PopoverPopup, PopoverTrigger } from "../ui/popover";
27 import { Tooltip, TooltipPopup, TooltipTrigger } from "../ui/tooltip";
28
29 /**
@@ -244,8 +245,11 @@ export function ProviderModelsSection({
245 {model.name}
246 </span>
247 {hasDetails ? (
247 - <Tooltip>
248 - <TooltipTrigger
248 + <Popover>
249 + <PopoverTrigger
250 + openOnHover
251 + delay={250}
252 + closeDelay={100}
253 render={
254 <Button
255 size="icon-micro"
@@ -256,8 +260,8 @@ export function ProviderModelsSection({
260 }
261 >
262 <InfoIcon className="size-3" />
259 - </TooltipTrigger>
260 - <TooltipPopup side="top" className="max-w-56">
263 + </PopoverTrigger>
264 + <PopoverPopup side="top" tooltipStyle className="max-w-56">
265 <div className="space-y-1">
266 <code className="block text-[11px] text-foreground">{model.slug}</code>
267 {capLabels.length > 0 ? (
@@ -270,8 +274,8 @@ export function ProviderModelsSection({
274 </div>
275 ) : null}
276 </div>
273 - </TooltipPopup>
274 - </Tooltip>
277 + </PopoverPopup>
278 + </Popover>
279 ) : null}
280 {isHidden ? (
281 <span className="text-[10px] text-muted-foreground">hidden</span>