@devries-cameron20 / t3code-1 / commits / 4cb6945dc6
Fork 0

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

fix(mobile): keep settled status pills readable (#31635)

Co-authored-by: maria-rcks <maria@kuuro.net>

shivam committed Nov 7, 2026 at 08:42 UTC 4cb6945dc60ed03f567dc5daafd083e52308e82b
1 file changed +17 -11
apps/mobile/src/features/threads/floating-working-control.tsx
+17 -11
@@ -101,11 +101,12 @@ export function FloatingWorkingControl(props: {
101 const [previewWidth, setPreviewWidth] = useState(0);
102 const agents = props.agents;
103 const hasAgents = agents !== null;
104 + // Only reserve the scroll button's slot while it is visible.
105 + const reservedWidth = props.showScrollToEnd ? CONTROL_HEIGHT + 32 : 16;
106 const availableLabelWidth = Math.max(
107 0,
108 Math.min(overlayWidth, windowWidth) -
107 - CONTROL_HEIGHT -
108 - 32 -
109 + reservedWidth -
110 (action !== null ? actionWidth : 0) -
111 (hasQueue ? queueWidth : 0) -
112 (hasAgents ? agentsWidth : 0) -
@@ -186,7 +187,7 @@ export function FloatingWorkingControl(props: {
187 props.status !== null ? (
188 <View
189 pointerEvents={statusInteractive ? "box-none" : "none"}
189 - className="h-11 items-center justify-center"
190 + className="h-11 items-center justify-center overflow-hidden"
191 >
192 <Animated.View className="h-11" style={capsuleSizerStyle} />
193 <View
@@ -272,7 +273,7 @@ export function FloatingWorkingControl(props: {
273 className="h-11 flex-row items-center gap-1.5 px-3 active:opacity-70"
274 >
275 {hasStatus || hasPreview ? <View className="absolute left-0 h-4 w-px bg-border" /> : null}
275 - <SymbolView name="person.2" size={13} tintColorClassName="accent-foreground-muted" />
276 + <SymbolView name="person.2" size={13} tintColorClassName="accent-foreground" />
277 <Text className="font-t3-medium text-xs tabular-nums" numberOfLines={1}>
278 {agents.label}
279 </Text>
@@ -291,7 +292,7 @@ export function FloatingWorkingControl(props: {
292 {hasStatus || hasPreview || hasAgents ? (
293 <View className="absolute left-0 h-4 w-px bg-border" />
294 ) : null}
294 - <SymbolView name="list.number" size={13} tintColorClassName="accent-foreground-muted" />
295 + <SymbolView name="list.number" size={13} tintColorClassName="accent-foreground" />
296 <Text className="shrink font-t3-medium text-xs tabular-nums" numberOfLines={1}>
297 {props.queuedCount} queued
298 </Text>
@@ -395,7 +396,7 @@ function CompactingLabel(props: { readonly onLayout: (event: LayoutChangeEvent)
396 <SymbolView
397 name="arrow.down.right.and.arrow.up.left"
398 size={13}
398 - tintColorClassName="foreground"
399 + tintColorClassName="accent-foreground"
400 type="monochrome"
401 />
402 <Text className="font-t3-medium text-xs text-foreground">Compacting…</Text>
@@ -452,7 +453,7 @@ function FloatingStatusLabel(props: {
453 onLayout={props.onLayout}
454 onPress={props.status.onPress}
455 >
455 - <SymbolView name="text.bubble" size={13} tintColorClassName="foreground" />
456 + <SymbolView name="text.bubble" size={13} tintColorClassName="accent-foreground" />
457 <Text className="shrink font-t3-medium text-xs text-foreground" numberOfLines={1}>
458 {props.status.label}
459 </Text>
@@ -494,7 +495,7 @@ function FloatingStatusLabel(props: {
495 <SymbolView
496 name={props.status.state === "settled" ? "checkmark.circle" : "clock"}
497 size={13}
497 - tintColorClassName="foreground"
498 + tintColorClassName="accent-foreground"
499 type="monochrome"
500 />
501 <Text className="shrink font-t3-medium text-xs text-foreground" numberOfLines={1}>
@@ -516,7 +517,7 @@ function FloatingStatusLabel(props: {
517 <SymbolView
518 name={props.status.waiting ? "person.2" : "terminal"}
519 size={13}
519 - tintColorClassName="foreground"
520 + tintColorClassName="accent-foreground"
521 type="monochrome"
522 />
523 <Text className="shrink font-t3-medium text-xs text-foreground" numberOfLines={1}>
@@ -557,7 +558,12 @@ function FloatingStatusLabel(props: {
558 className="gap-2"
559 onLayout={props.onLayout}
560 >
560 - <SymbolView name="target" size={13} tintColorClassName="foreground" type="monochrome" />
561 + <SymbolView
562 + name="target"
563 + size={13}
564 + tintColorClassName="accent-foreground"
565 + type="monochrome"
566 + />
567 <Text className="shrink font-t3-medium text-xs text-foreground" numberOfLines={1}>
568 {props.status.label}
569 </Text>
@@ -575,7 +581,7 @@ function FloatingStatusLabel(props: {
581 <SymbolView
582 name="arrow.triangle.branch"
583 size={13}
578 - tintColorClassName="foreground"
584 + tintColorClassName="accent-foreground"
585 type="monochrome"
586 />
587 <ShimmeringWorkContent