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

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

fix(mobile): compact Dynamic Island opens the Live Activity's thread (#19022)

Co-authored-by: Julius Marminge <julius0216@outlook.com>

fixfon committed Oct 20, 2026 at 07:16 UTC 0f06d2715b59c1bc038a44e11dce634c7c2f9949
1 file changed +24 -8
apps/mobile/src/widgets/AgentActivity.tsx
+24 -8
@@ -158,6 +158,7 @@ export function AgentActivity(
158 deepLinkRow && deepLinkRow.deepLink.startsWith("/") && !deepLinkRow.deepLink.startsWith("//")
159 ? `t3code://${deepLinkRow.deepLink.slice(1)}`
160 : null;
161 + const linkModifiers = deepLink ? [widgetURL(deepLink)] : [];
162
163 type SFName = NonNullable<ComponentProps<typeof Image>["systemName"]>;
164 const phaseSymbol = (phase: AgentActivityPhase): SFName => {
@@ -182,8 +183,15 @@ export function AgentActivity(
183
184 // SF Symbols, like the logo, ignore frame/foregroundStyle applied directly to
185 // the image; size + tint them through a container the resizable symbol fills.
185 - const renderGlyph = (systemName: SFName, size: number, color: Foreground) => (
186 - <HStack modifiers={[frame({ width: size, height: size }), foregroundStyle(color)]}>
186 + const renderGlyph = (
187 + systemName: SFName,
188 + size: number,
189 + color: Foreground,
190 + modifiers: typeof linkModifiers = [],
191 + ) => (
192 + <HStack
193 + modifiers={[frame({ width: size, height: size }), foregroundStyle(color), ...modifiers]}
194 + >
195 <Image systemName={systemName} modifiers={[resizable()]} />
196 </HStack>
197 );
@@ -223,8 +231,10 @@ export function AgentActivity(
231 // dropped), so we size it via a container frame the resizable image fills and
232 // tint it through the container's foreground style, which the template image
233 // inherits.
226 - const renderLogo = (height: number, color: Foreground) => (
227 - <HStack modifiers={[frame({ width: height * 1.5, height }), foregroundStyle(color)]}>
234 + const renderLogo = (height: number, color: Foreground, modifiers: typeof linkModifiers = []) => (
235 + <HStack
236 + modifiers={[frame({ width: height * 1.5, height }), foregroundStyle(color), ...modifiers]}
237 + >
238 <Image assetName="T3Mark" modifiers={[resizable()]} />
239 </HStack>
240 );
@@ -315,9 +325,15 @@ export function AgentActivity(
325 ) : null}
326 </VStack>
327 ),
318 - compactLeading: renderLogo(14, tint),
328 + compactLeading: renderLogo(14, tint, linkModifiers),
329 compactTrailing: (
320 - <Text modifiers={[font({ weight: "semibold", size: 11 }), foregroundStyle(tint)]}>
330 + <Text
331 + modifiers={[
332 + font({ weight: "semibold", size: 11 }),
333 + foregroundStyle(tint),
334 + ...linkModifiers,
335 + ]}
336 + >
337 {attentionRow
338 ? attentionRow.phase === "waiting_for_approval"
339 ? "Approval"
@@ -327,8 +343,8 @@ export function AgentActivity(
343 ),
344 minimal:
345 (attentionRow || failedRow || allDone) && heroRow
330 - ? renderGlyph(phaseSymbol(heroRow.phase), 13, phaseTint(heroRow.phase))
331 - : renderLogo(11, tint),
346 + ? renderGlyph(phaseSymbol(heroRow.phase), 13, phaseTint(heroRow.phase), linkModifiers)
347 + : renderLogo(11, tint, linkModifiers),
348 expandedLeading: (
349 <HStack spacing={5} alignment="center" modifiers={[padding({ leading: 4, vertical: 4 })]}>
350 {renderLogo(15, tint)}