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

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

fix(web,mobile): sent queued messages say "from queue", not "queued" (#19849)

Co-authored-by: PR Batch Tester <agent@local.test> Co-authored-by: Rodrigo Brechard <rodrigobrechard@gmail.com> Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>

shivam committed Oct 15, 2026 at 17:39 UTC e6bbfdb9ffe8334bed1c9b992f828f04d30db7ea
4 files changed +26 -12
apps/mobile/src/features/threads/ThreadFeed.tsx
+6 -4
@@ -1313,10 +1313,12 @@ function renderFeedEntry(
1313 </View>
1314 <View className="mt-1 flex-row items-center justify-end gap-1 pr-0.5">
1315 {intentBadge ? (
1316 - <View
1317 - accessible
1318 - accessibilityRole="text"
1316 + <Pressable
1317 + accessibilityRole="button"
1318 accessibilityLabel={intentBadge.accessibilityLabel}
1319 + accessibilityHint="Explains this message's badge"
1320 + hitSlop={8}
1321 + onPress={() => Alert.alert("Message history", intentBadge.explanation)}
1322 className={cn(
1323 "rounded-full border px-1.5 py-0.5",
1324 intentBadge.tone === "queued"
@@ -1334,7 +1336,7 @@ function renderFeedEntry(
1336 >
1337 {intentBadge.label}
1338 </Text>
1337 - </View>
1339 + </Pressable>
1340 ) : null}
1341 <Text className="font-t3-medium text-xs tabular-nums text-foreground-secondary">
1342 {entry.pendingMessage && !entry.acknowledged ? "Pending" : timestampLabel}
apps/mobile/src/features/threads/userMessageIntentBadge.test.ts
+9 -4
@@ -8,18 +8,21 @@ describe("user message intent badge", () => {
8 expect(resolveUserMessageIntentBadge("turn_start")).toBeNull();
9 });
10
11 - it("labels messages waiting behind the active turn", () => {
11 + it("explains the queued history without claiming delivery", () => {
12 expect(resolveUserMessageIntentBadge("queued_turn")).toEqual({
13 - label: "queued",
14 - accessibilityLabel: "Queued behind the active turn",
13 + label: "from queue",
14 + accessibilityLabel: "Queued while the agent was busy",
15 + explanation:
16 + "This badge records that the message was queued. It stays visible after the message leaves the queue.",
17 tone: "queued",
18 });
19 });
20
19 - it("labels messages that steer the active turn", () => {
21 + it("explains the intent to steer without claiming delivery", () => {
22 expect(resolveUserMessageIntentBadge("steer")).toEqual({
23 label: "steer",
24 accessibilityLabel: "Steered the active turn",
25 + explanation: "This message was intended to steer the agent while its turn was still running.",
26 tone: "steer",
27 });
28 });
@@ -28,6 +31,8 @@ describe("user message intent badge", () => {
31 expect(resolveUserMessageIntentBadge("promoted_queued_to_steer")).toEqual({
32 label: "queued → steer",
33 accessibilityLabel: "Originally queued, then promoted to steer the active turn",
34 + explanation:
35 + "This message was originally queued, then promoted to steer the agent while its turn was still running.",
36 tone: "steer",
37 });
38 });
apps/mobile/src/features/threads/userMessageIntentBadge.ts
+9 -2
@@ -3,6 +3,7 @@ import type { OrchestrationV2UserMessageInputIntent } from "@t3tools/contracts";
3 export interface UserMessageIntentBadgePresentation {
4 readonly label: string;
5 readonly accessibilityLabel: string;
6 + readonly explanation: string;
7 readonly tone: "queued" | "steer";
8 }
9
@@ -12,20 +13,26 @@ export function resolveUserMessageIntentBadge(
13 switch (intent) {
14 case "queued_turn":
15 return {
15 - label: "queued",
16 - accessibilityLabel: "Queued behind the active turn",
16 + label: "from queue",
17 + accessibilityLabel: "Queued while the agent was busy",
18 + explanation:
19 + "This badge records that the message was queued. It stays visible after the message leaves the queue.",
20 tone: "queued",
21 };
22 case "steer":
23 return {
24 label: "steer",
25 accessibilityLabel: "Steered the active turn",
26 + explanation:
27 + "This message was intended to steer the agent while its turn was still running.",
28 tone: "steer",
29 };
30 case "promoted_queued_to_steer":
31 return {
32 label: "queued → steer",
33 accessibilityLabel: "Originally queued, then promoted to steer the active turn",
34 + explanation:
35 + "This message was originally queued, then promoted to steer the agent while its turn was still running.",
36 tone: "steer",
37 };
38 case "turn_start":
apps/web/src/components/chat/MessagesTimeline.tsx
+2 -2
@@ -2654,7 +2654,7 @@ function UserMessageIntentMarker({
2654 const presentation =
2655 intent === "queued_turn"
2656 ? {
2657 - label: "Queued",
2657 + label: "From queue",
2658 icon: null,
2659 }
2660 : intent === "promoted_queued_to_steer"
@@ -2682,7 +2682,7 @@ function UserMessageIntentMarker({
2682 </TooltipTrigger>
2683 <TooltipPopup side="top">
2684 {intent === "queued_turn"
2685 - ? "Queued behind the active turn"
2685 + ? "Queued while the agent was busy"
2686 : intent === "promoted_queued_to_steer"
2687 ? "Originally queued, then promoted to steer the active turn"
2688 : "Steered the active turn"}