The best way to control Claude Code, Codex and more from any computer or phone
fix(web): respect reduced motion in thread loading controls (#22100)
Co-authored-by: SAPHID <saphid@users.noreply.github.com> Co-authored-by: maria-rcks <maria@kuuro.net>
Alex Southwell committed
Oct 29, 2026 at 17:40 UTC
3d5baafecf5cb8ad22ca37962327fa4fdc130663
2 files changed
+6
-5
apps/web/src/components/chat/ThreadLineageWorkflowRow.tsx
+3
-2
@@ -3,7 +3,7 @@ import type {
3
RuntimeSubagent,
4
} from "@t3tools/client-runtime/state/subagentRuntime";
5
import type { ProviderDriverKind, ProviderInstanceId, ServerProvider } from "@t3tools/contracts";
6
-import { ChevronDownIcon, LoaderCircleIcon, SquareIcon } from "lucide-react";
6
+import { ChevronDownIcon, SquareIcon } from "lucide-react";
7
import { useState, type ReactNode } from "react";
8
9
import { AgentElapsed } from "./AgentElapsed";
@@ -14,6 +14,7 @@ import { cn } from "../../lib/utils";
14
import { ThreadDetailsControl } from "./ThreadDetailsControl";
15
import { CollapsibleSectionHeader, SectionHeaderStatus } from "../ui/collapsible-section-header";
16
import { Tooltip, TooltipPopup, TooltipTrigger } from "../ui/tooltip";
17
+import { Spinner } from "../ui/spinner";
18
import {
19
THREAD_DETAILS_PANEL_SPLIT_GROUP_CLASS,
20
THREAD_DETAILS_PANEL_SPLIT_SEPARATOR_CLASS,
@@ -158,7 +159,7 @@ export function ThreadLineageWorkflowRow({
159
}
160
>
161
{stopping ? (
161
- <LoaderCircleIcon aria-hidden className="size-3 animate-spin" />
162
+ <Spinner aria-hidden size="xs" />
163
) : (
164
<SquareIcon aria-hidden className="size-3 fill-current" />
165
)}
apps/web/src/components/chat/ThreadRelationshipsControl.tsx
+3
-3
@@ -49,7 +49,6 @@ import {
49
ChevronDownIcon,
50
CornerLeftUpIcon,
51
GitForkIcon,
52
- LoaderCircleIcon,
52
MoreHorizontalIcon,
53
PlusIcon,
54
SquareIcon,
@@ -76,6 +75,7 @@ import { ThreadLineageWorkflowRow } from "./ThreadLineageWorkflowRow";
75
import { Menu, MenuItem, MenuPopup, MenuTrigger } from "../ui/menu";
76
import { Tooltip, TooltipPopup, TooltipTrigger } from "../ui/tooltip";
77
import { toastManager } from "../ui/toast";
78
+import { Spinner } from "../ui/spinner";
79
import { cn } from "~/lib/utils";
80
import {
81
THREAD_DETAILS_PANEL_CHEVRON_CLASS,
@@ -802,7 +802,7 @@ export function ThreadRelationshipsPanel(props: {
802
onClick={() => void merge()}
803
>
804
{busyAction === "merge" ? (
805
- <LoaderCircleIcon className="size-3 animate-spin" />
805
+ <Spinner size="xs" />
806
) : (
807
<PullRequestGlyph.merged className="size-3" />
808
)}
@@ -841,7 +841,7 @@ export function ThreadRelationshipsPanel(props: {
841
}
842
>
843
{stoppingId === threadId ? (
844
- <LoaderCircleIcon aria-hidden className="size-3 animate-spin" />
844
+ <Spinner aria-hidden size="xs" />
845
) : (
846
<SquareIcon aria-hidden className="size-3 fill-current" />
847
)}