Skip to content

Commit f3b058c

Browse files
t3dotggclaude
andauthored
fix(web,mobile): stopped runs no longer look like errors (#25830)
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
1 parent 1702d55 commit f3b058c

4 files changed

Lines changed: 12 additions & 13 deletions

File tree

‎apps/mobile/src/features/threads/thread-work-log.tsx‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -407,6 +407,8 @@ function workRowSymbolName(icon: ThreadFeedActivity["icon"]): WorkContentIcon {
407407
return { ios: "globe", android: "public" };
408408
case "search":
409409
return "magnifyingglass";
410+
case "stop":
411+
return "stop.fill";
410412
case "hammer":
411413
return { ios: "hammer", android: "construction" };
412414
case "lock":

‎apps/mobile/src/lib/threadActivity.ts‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -111,6 +111,7 @@ export interface ThreadFeedActivity {
111111
| "eye"
112112
| "globe"
113113
| "search"
114+
| "stop"
114115
| "hammer"
115116
| "lock"
116117
| "message"
@@ -617,6 +618,7 @@ function itemIcon(item: OrchestrationV2TurnItem): ThreadFeedActivity["icon"] {
617618
return "hammer";
618619
case "run_interrupt_request":
619620
case "run_interrupt_result":
621+
return "stop";
620622
case "system_notice":
621623
return "warning";
622624
case "error":

‎apps/web/src/components/chat/TimelineV2EventRow.logic.ts‎

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,11 @@ import { providerErrorPresentation } from "../../session-logic";
33
import {
44
CheckIcon,
55
CircleAlertIcon,
6+
CircleStopIcon,
67
GitForkIcon,
78
type LucideIcon,
89
MinusIcon,
910
WrenchIcon,
10-
XIcon,
1111
ZapIcon,
1212
} from "lucide-react";
1313
import * as DateTime from "effect/DateTime";
@@ -38,15 +38,15 @@ export function v2EventPresentation(item: OrchestrationV2TurnItem): {
3838
return {
3939
label: "Interrupt requested",
4040
detail: item.message,
41-
tone: "warning",
42-
icon: CircleAlertIcon,
41+
tone: "muted",
42+
icon: CircleStopIcon,
4343
};
4444
case "run_interrupt_result":
4545
return {
4646
label: "Run interrupted",
4747
detail: item.message,
48-
tone: "danger",
49-
icon: XIcon,
48+
tone: "muted",
49+
icon: CircleStopIcon,
5050
};
5151
case "handoff":
5252
return {

‎apps/web/src/components/chat/V2LifecycleRow.tsx‎

Lines changed: 3 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -33,12 +33,12 @@ import type { TimestampFormat } from "@t3tools/contracts/settings";
3333
import {
3434
BotIcon,
3535
ChevronRightIcon,
36+
CircleStopIcon,
3637
ArrowRightLeftIcon,
3738
ArrowRightIcon,
3839
GitForkIcon,
3940
MessageSquareIcon,
4041
MinusIcon,
41-
XIcon,
4242
} from "lucide-react";
4343

4444
import { Tooltip, TooltipTrigger, TooltipPopup } from "../ui/tooltip";
@@ -86,7 +86,7 @@ export function V2LifecycleRow(props: {
8686
if (item.type === "run_interrupt_request") {
8787
return (
8888
<div className="flex justify-end px-1 py-1" data-v2-item-type={item.type}>
89-
<div className="flex max-w-[80%] items-center gap-2 text-xs text-destructive">
89+
<div className="flex max-w-[80%] items-center gap-2 text-xs text-muted-foreground">
9090
<span aria-hidden="true" className="font-mono">
9191
■
9292
</span>
@@ -104,12 +104,7 @@ export function V2LifecycleRow(props: {
104104
}
105105
if (item.type === "run_interrupt_result") {
106106
return (
107-
<TimelineSystemDivider
108-
label="Run interrupted"
109-
detail={item.message}
110-
tone="danger"
111-
icon={XIcon}
112-
/>
107+
<TimelineSystemDivider label="Run interrupted" detail={item.message} icon={CircleStopIcon} />
113108
);
114109
}
115110
if (item.type === "compaction") {

0 commit comments

Comments
 (0)