@devries-cameron20 / t3code-1 / commits / 5cda25e72b
Fork 0

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

fix(web,mobile): queued messages no longer say "From queue" once sent (#21474)

oliver committed Oct 18, 2026 at 22:06 UTC 5cda25e72b3b6708200925b7380ab7055d8cf5d4
4 files changed +12 -50
apps/mobile/src/features/threads/ThreadFeed.tsx
+1 -3
@@ -1302,9 +1302,7 @@ function renderFeedEntry(
1302 accessibilityLabel={intentBadge.accessibilityLabel}
1303 className="flex-row items-center gap-1"
1304 >
1305 - {intentBadge.icon ? (
1306 - <SymbolView name={intentBadge.icon} size={12} tintColor={iconSubtleColor} />
1307 - ) : null}
1305 + <SymbolView name="arrow.uturn.forward" size={12} tintColor={iconSubtleColor} />
1306 <Text className="font-t3-medium text-xs text-foreground-secondary">
1307 {intentBadge.label}
1308 </Text>
apps/mobile/src/features/threads/userMessageIntentBadge.test.ts
+2 -11
@@ -3,24 +3,16 @@ import { describe, expect, it } from "@effect/vitest";
3 import { resolveUserMessageIntentBadge } from "./userMessageIntentBadge";
4
5 describe("user message intent badge", () => {
6 - it("does not label ordinary turn-start messages", () => {
6 + it("does not label turn-start or queued messages", () => {
7 expect(resolveUserMessageIntentBadge(undefined)).toBeNull();
8 expect(resolveUserMessageIntentBadge("turn_start")).toBeNull();
9 - });
10 -
11 - it("explains the queued history without claiming delivery", () => {
12 - expect(resolveUserMessageIntentBadge("queued_turn")).toEqual({
13 - label: "From queue",
14 - accessibilityLabel: "Queued while the agent was busy",
15 - icon: null,
16 - });
9 + expect(resolveUserMessageIntentBadge("queued_turn")).toBeNull();
10 });
11
12 it("explains the intent to steer without claiming delivery", () => {
13 expect(resolveUserMessageIntentBadge("steer")).toEqual({
14 label: "Steer",
15 accessibilityLabel: "Steered the active turn",
23 - icon: "arrow.uturn.forward",
16 });
17 });
18
@@ -28,7 +20,6 @@ describe("user message intent badge", () => {
20 expect(resolveUserMessageIntentBadge("promoted_queued_to_steer")).toEqual({
21 label: "Steer",
22 accessibilityLabel: "Originally queued, then promoted to steer the active turn",
31 - icon: "arrow.uturn.forward",
23 });
24 });
25 });
apps/mobile/src/features/threads/userMessageIntentBadge.ts
+1 -11
@@ -1,35 +1,25 @@
1 import type { OrchestrationV2UserMessageInputIntent } from "@t3tools/contracts";
2
3 -import type { AppSymbolName } from "../../components/ui/AppSymbol";
4 -
3 export interface UserMessageIntentBadgePresentation {
4 readonly label: string;
5 readonly accessibilityLabel: string;
8 - readonly icon: AppSymbolName | null;
6 }
7
8 export function resolveUserMessageIntentBadge(
9 intent: OrchestrationV2UserMessageInputIntent | undefined,
10 ): UserMessageIntentBadgePresentation | null {
11 switch (intent) {
15 - case "queued_turn":
16 - return {
17 - label: "From queue",
18 - accessibilityLabel: "Queued while the agent was busy",
19 - icon: null,
20 - };
12 case "steer":
13 return {
14 label: "Steer",
15 accessibilityLabel: "Steered the active turn",
25 - icon: "arrow.uturn.forward",
16 };
17 case "promoted_queued_to_steer":
18 return {
19 label: "Steer",
20 accessibilityLabel: "Originally queued, then promoted to steer the active turn",
31 - icon: "arrow.uturn.forward",
21 };
22 + case "queued_turn":
23 case "turn_start":
24 case undefined:
25 return null;
apps/web/src/components/chat/MessagesTimeline.tsx
+8 -25
@@ -2276,7 +2276,8 @@ function UserTimelineRow({ row }: { row: Extract<TimelineRow, { kind: "message"
2276 )}
2277 </p>
2278 ) : null}
2279 - {row.message.inputIntent && row.message.inputIntent !== "turn_start" ? (
2279 + {row.message.inputIntent === "steer" ||
2280 + row.message.inputIntent === "promoted_queued_to_steer" ? (
2281 <UserMessageIntentMarker intent={row.message.inputIntent} />
2282 ) : null}
2283 <div className="relative max-w-[80%] rounded-2xl bg-message p-3 text-message-foreground">
@@ -2447,24 +2448,8 @@ function UserTimelineRow({ row }: { row: Extract<TimelineRow, { kind: "message"
2448 function UserMessageIntentMarker({
2449 intent,
2450 }: {
2450 - readonly intent: NonNullable<ChatMessage["inputIntent"]>;
2451 + readonly intent: "steer" | "promoted_queued_to_steer";
2452 }) {
2452 - const presentation =
2453 - intent === "queued_turn"
2454 - ? {
2455 - label: "From queue",
2456 - icon: null,
2457 - }
2458 - : intent === "promoted_queued_to_steer"
2459 - ? {
2460 - label: "Steer",
2461 - icon: Redo2Icon,
2462 - }
2463 - : {
2464 - label: "Steer",
2465 - icon: Redo2Icon,
2466 - };
2467 - const IntentIcon = presentation.icon;
2453 return (
2454 <Tooltip>
2455 <TooltipTrigger
@@ -2475,15 +2460,13 @@ function UserMessageIntentMarker({
2460 />
2461 }
2462 >
2478 - {IntentIcon ? <IntentIcon aria-hidden="true" className="size-3" /> : null}
2479 - {presentation.label}
2463 + <Redo2Icon aria-hidden="true" className="size-3" />
2464 + Steer
2465 </TooltipTrigger>
2466 <TooltipPopup side="top">
2482 - {intent === "queued_turn"
2483 - ? "Queued while the agent was busy"
2484 - : intent === "promoted_queued_to_steer"
2485 - ? "Originally queued, then promoted to steer the active turn"
2486 - : "Steered the active turn"}
2467 + {intent === "promoted_queued_to_steer"
2468 + ? "Originally queued, then promoted to steer the active turn"
2469 + : "Steered the active turn"}
2470 </TooltipPopup>
2471 </Tooltip>
2472 );