@devries-cameron20 / t3code-1 / commits / a6765d41d5
Fork 0

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

fix(web): audio and server spinners respect reduced motion (#33795)

Co-authored-by: maria-rcks <maria@kuuro.net> Co-authored-by: Julius Marminge <julius0216@outlook.com>

Lakshmi Tanmay committed Nov 14, 2026 at 23:11 UTC a6765d41d58578b043b73df9868a6ebbc4c8296e
2 files changed +5 -9
apps/web/src/components/chat/ThreadServersPanel.tsx
+3 -8
@@ -10,13 +10,7 @@ import {
10 isAtomCommandInterrupted,
11 squashAtomCommandFailure,
12 } from "@t3tools/client-runtime/state/runtime";
13 -import {
14 - GlobeIcon,
15 - LoaderCircleIcon,
16 - SquareIcon,
17 - ChevronDownIcon,
18 - ChevronUpIcon,
19 -} from "lucide-react";
13 +import { GlobeIcon, SquareIcon, ChevronDownIcon, ChevronUpIcon } from "lucide-react";
14 import { type MouseEvent, useState } from "react";
15
16 import { resolveDiscoveredServerUrl } from "../../browser/browserTargetResolver";
@@ -28,6 +22,7 @@ import { previewEnvironment } from "../../state/preview";
22 import { useEnvironmentScope } from "../../state/session";
23 import { useAtomCommand } from "../../state/use-atom-command";
24 import { openDiscoveredPort } from "../preview/openDiscoveredPort";
25 +import { Spinner } from "../ui/spinner";
26 import { stackedThreadToast, toastManager } from "../ui/toast";
27 import { Tooltip, TooltipPopup, TooltipTrigger } from "../ui/tooltip";
28 import { ThreadDetailsControl } from "./ThreadDetailsControl";
@@ -170,7 +165,7 @@ function ThreadServersList(props: ThreadServersPanelProps) {
165 }
166 >
167 {stoppingKey === key ? (
173 - <LoaderCircleIcon aria-hidden className="size-3 animate-spin" />
168 + <Spinner aria-hidden size="xs" />
169 ) : (
170 <SquareIcon aria-hidden className="size-3 fill-current" />
171 )}
apps/web/src/components/files/AudioPreview.tsx
+2 -1
@@ -4,6 +4,7 @@ import { createContext, useContext, useRef, useState } from "react";
4 import { useStableCallback } from "~/hooks/useStableCallback";
5 import { ContextChip, ContextChipAction, ContextChipLabel } from "../ContextChip";
6 import { middleTruncateAttachmentName } from "../composerInlineChip";
7 +import { Spinner } from "../ui/spinner";
8
9 export const AudioPreviewUnmountContext = createContext<((audio: HTMLAudioElement) => void) | null>(
10 null,
@@ -140,7 +141,7 @@ function AudioChip(props: AudioPreviewProps) {
141 });
142 }}
143 >
143 - <Icon aria-hidden className={loading && props.src ? "animate-spin" : undefined} />
144 + {loading && props.src ? <Spinner aria-hidden /> : <Icon aria-hidden />}
145 </ContextChipAction>
146 <ContextChipLabel className={props.variant === "bubble" ? "flex-1" : "max-w-72"}>
147 {open ? (