@devries-cameron20 / t3code-1 / commits / 184d915d87
Fork 0

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

feat(mobile): thread rows drop the branch and lead with the title (#25415)

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>

Julius Marminge committed Oct 26, 2026 at 01:59 UTC 184d915d8774615a01ebae0350235a1039852e85
4 files changed +117 -138
apps/mobile/src/features/home/HomeScreen.tsx
+1 -3
@@ -591,9 +591,6 @@ export function HomeScreen(props: HomeScreenProps) {
591 timeLabel={item.timeLabel}
592 showTrailingDivider={item.showTrailingDivider}
593 project={projectByKey.get(scopedProjectKey(thread.environmentId, thread.projectId)) ?? null}
594 - projectTitle={v2ProjectTitleByProjectKey.get(
595 - scopedProjectKey(thread.environmentId, thread.projectId),
596 - )}
594 providerInstance={resolveProviderInstance(thread)}
595 providers={providersByEnvironmentId.get(thread.environmentId)}
596 environmentLabel={
@@ -728,6 +725,7 @@ export function HomeScreen(props: HomeScreenProps) {
725 {listHeader}
726 {Platform.OS === "ios" && workspace ? (
727 <ThreadListFilters
728 + gutter={primaryColumn ? 8 : 0}
729 environments={props.environments}
730 projects={projectScopes.map((scope) => ({ key: scope.key, label: scope.title }))}
731 selectedEnvironmentId={props.selectedEnvironmentId}
apps/mobile/src/features/home/ThreadListFilters.tsx
+6 -2
@@ -12,7 +12,10 @@ export function ThreadListFilters(
12 | "selectedProjectKey"
13 | "onEnvironmentChange"
14 | "onProjectChange"
15 - >,
15 + > & {
16 + /** List padding the scroller bleeds through so pills start where row content does. */
17 + readonly gutter: number;
18 + },
19 ) {
20 const selectedEnvironment = props.environments.find(
21 (environment) => environment.environmentId === props.selectedEnvironmentId,
@@ -24,7 +27,8 @@ export function ThreadListFilters(
27 <ScrollView
28 horizontal
29 showsHorizontalScrollIndicator={false}
27 - contentContainerStyle={{ paddingHorizontal: 16, paddingTop: 2, paddingBottom: 10, gap: 8 }}
30 + style={{ marginHorizontal: -props.gutter }}
31 + contentContainerStyle={{ paddingHorizontal: 20, paddingTop: 2, paddingBottom: 10, gap: 8 }}
32 >
33 <ListFilterMenu
34 label={selectedEnvironment?.label ?? "All environments"}
apps/mobile/src/features/threads/ThreadNavigationSidebar.tsx
-1
@@ -567,7 +567,6 @@ function ThreadNavigationSidebarPane(
567 snoozeWakeLabelText={item.snoozeWakeLabelText}
568 timeLabel={item.timeLabel}
569 project={projectByKey.get(scopeKey) ?? null}
570 - projectTitle={projectTitleByProjectKey.get(scopeKey)}
570 providerInstance={resolveProviderInstance(thread)}
571 providers={providersByEnvironmentId.get(thread.environmentId)}
572 environmentLabel={
apps/mobile/src/features/threads/thread-list-v2-items.tsx
+110 -132
@@ -68,6 +68,12 @@ import { ThreadSearchMatchExcerpt } from "./thread-search-match";
68 import { PullRequestGlyph } from "../pull-requests/pullRequestGlyphs";
69 import { pullRequestStatus } from "../pull-requests/pullRequestStatus";
70
71 +const TITLE_FAVICON_SIZE = 15;
72 +// Centers the favicon on the first line of the text-base title.
73 +const TITLE_FAVICON_OFFSET = 4;
74 +// Lines below the title start where the title text does.
75 +const TITLE_TEXT_INSET = TITLE_FAVICON_SIZE + 8;
76 +
77 interface StatusLabel {
78 readonly label: string;
79 readonly icon: AppSymbolName;
@@ -552,7 +558,6 @@ export const ThreadListV2Row = memo(function ThreadListV2Row(props: {
558 readonly timeLabel: string;
559 readonly snoozePresetMinute: string;
560 readonly project: EnvironmentProject | null;
555 - readonly projectTitle?: string;
561 readonly providers: ReadonlyArray<ThreadListProvider> | undefined;
562 readonly providerInstance: ThreadRowProviderInstance | null;
563 readonly environmentLabel: string | null;
@@ -996,119 +1001,117 @@ export const ThreadListV2Row = memo(function ThreadListV2Row(props: {
1001 ? `Opens the thread. Swipe left to ${primaryAction.label.toLowerCase()}.`
1002 : `Opens the thread. Swipe left for ${primaryAction.label.toLowerCase()} and snooze actions.`;
1003
1004 + const titleTextInset = props.project ? TITLE_TEXT_INSET : 0;
1005 const cardContent = (
1006 <>
1001 - <View className="flex-row items-center gap-1.5">
1007 + <View className="flex-row items-start gap-2">
1008 {props.project ? (
1003 - <ProjectFavicon
1004 - environmentId={thread.environmentId}
1005 - faviconPath={props.project.faviconPath}
1006 - projectIcon={props.project.projectIcon}
1007 - size={15}
1008 - projectTitle={props.project.title}
1009 - workspaceRoot={props.project.workspaceRoot}
1010 - />
1009 + <View style={{ marginTop: TITLE_FAVICON_OFFSET }}>
1010 + <ProjectFavicon
1011 + environmentId={thread.environmentId}
1012 + faviconPath={props.project.faviconPath}
1013 + projectIcon={props.project.projectIcon}
1014 + size={TITLE_FAVICON_SIZE}
1015 + projectTitle={props.project.title}
1016 + workspaceRoot={props.project.workspaceRoot}
1017 + />
1018 + </View>
1019 ) : null}
1020 <Text
1021 className={cn(
1014 - "flex-1 text-sm font-t3-medium",
1022 + "flex-1 text-base",
1023 + !recede && "font-t3-medium",
1024 selected
1016 - ? selectedThreadRowColors.mutedForegroundClassName
1017 - : rowAppearance.mutedForegroundClassName,
1025 + ? selectedThreadRowColors.foregroundClassName
1026 + : rowAppearance.foregroundClassName,
1027 )}
1019 - numberOfLines={1}
1028 + numberOfLines={2}
1029 >
1021 - {props.projectTitle ?? props.project?.title ?? ""}
1030 + {thread.title}
1031 </Text>
1023 - {props.hasQueuedMessages ? <QueuedMessageIcon selected={selected} /> : null}
1024 - {pinnedRow ? (
1025 - <SymbolView
1026 - name="pin"
1027 - size={11}
1028 - tintColorClassName={rowAppearance.mutedIconTintClassName}
1029 - type="monochrome"
1030 - />
1031 - ) : null}
1032 - {showsWoke ? (
1033 - <Pressable
1034 - className="-m-2.5 flex-row items-center gap-1 p-2.5"
1035 - accessibilityRole="button"
1036 - accessibilityLabel="Dismiss Woke notification"
1037 - onPress={handleAcknowledgeWoke}
1038 - onLongPress={() => undefined}
1039 - style={({ pressed }) => ({ opacity: pressed ? 0.6 : 1 })}
1040 - >
1032 + <View className="flex-row items-center gap-1.5" style={{ marginTop: 3 }}>
1033 + {props.hasQueuedMessages ? <QueuedMessageIcon selected={selected} /> : null}
1034 + {pinnedRow ? (
1035 <SymbolView
1042 - name="bell.badge"
1043 - size={13}
1044 - tintColorClassName={
1045 - selected ? selectedThreadRowColors.iconTintClassName : "accent-warning-foreground"
1046 - }
1036 + name="pin"
1037 + size={11}
1038 + tintColorClassName={rowAppearance.mutedIconTintClassName}
1039 type="monochrome"
1048 - weight="semibold"
1040 />
1050 - <Text
1051 - className={cn(
1052 - "text-xs font-t3-bold",
1053 - selected ? selectedThreadRowColors.foregroundClassName : "text-warning-foreground",
1054 - )}
1041 + ) : null}
1042 + {showsWoke ? (
1043 + <Pressable
1044 + className="-m-2.5 flex-row items-center gap-1 p-2.5"
1045 + accessibilityRole="button"
1046 + accessibilityLabel="Dismiss Woke notification"
1047 + onPress={handleAcknowledgeWoke}
1048 + onLongPress={() => undefined}
1049 + style={({ pressed }) => ({ opacity: pressed ? 0.6 : 1 })}
1050 >
1056 - Woke
1057 - </Text>
1058 - </Pressable>
1059 - ) : statusLabel ? (
1060 - <View className="flex-row items-center gap-1">
1061 - <SymbolView
1062 - name={statusLabel.icon}
1063 - size={13}
1064 - tintColorClassName={
1065 - selected ? selectedThreadRowColors.iconTintClassName : statusLabel.iconTintClassName
1066 - }
1067 - type="monochrome"
1068 - weight="semibold"
1069 - />
1051 + <SymbolView
1052 + name="bell.badge"
1053 + size={13}
1054 + tintColorClassName={
1055 + selected ? selectedThreadRowColors.iconTintClassName : "accent-warning-foreground"
1056 + }
1057 + type="monochrome"
1058 + weight="semibold"
1059 + />
1060 + <Text
1061 + className={cn(
1062 + "text-xs font-t3-bold",
1063 + selected
1064 + ? selectedThreadRowColors.foregroundClassName
1065 + : "text-warning-foreground",
1066 + )}
1067 + >
1068 + Woke
1069 + </Text>
1070 + </Pressable>
1071 + ) : statusLabel ? (
1072 + <View className="flex-row items-center gap-1">
1073 + <SymbolView
1074 + name={statusLabel.icon}
1075 + size={13}
1076 + tintColorClassName={
1077 + selected
1078 + ? selectedThreadRowColors.iconTintClassName
1079 + : statusLabel.iconTintClassName
1080 + }
1081 + type="monochrome"
1082 + weight="semibold"
1083 + />
1084 + <Text
1085 + className={cn(
1086 + "text-xs font-t3-bold",
1087 + (status === "working" || status === "waiting") && "tabular-nums",
1088 + selected ? selectedThreadRowColors.foregroundClassName : statusLabel.className,
1089 + )}
1090 + >
1091 + {statusLabel.label}
1092 + {status === "working" ? (
1093 + <ThreadListV2Duration startedAt={resolveThreadWorkingStartedAt(thread)} />
1094 + ) : status === "waiting" ? (
1095 + <ThreadListV2Duration startedAt={thread.latestRun?.completedAt ?? null} />
1096 + ) : null}
1097 + </Text>
1098 + </View>
1099 + ) : (
1100 <Text
1101 className={cn(
1072 - "text-xs font-t3-bold",
1073 - (status === "working" || status === "waiting") && "tabular-nums",
1074 - selected ? selectedThreadRowColors.foregroundClassName : statusLabel.className,
1102 + "text-xs tabular-nums",
1103 + selected
1104 + ? selectedThreadRowColors.foregroundClassName
1105 + : rowAppearance.tertiaryForegroundClassName,
1106 )}
1107 >
1077 - {statusLabel.label}
1078 - {status === "working" ? (
1079 - <ThreadListV2Duration startedAt={resolveThreadWorkingStartedAt(thread)} />
1080 - ) : status === "waiting" ? (
1081 - <ThreadListV2Duration startedAt={thread.latestRun?.completedAt ?? null} />
1082 - ) : null}
1108 + {timeLabel}
1109 </Text>
1084 - </View>
1085 - ) : (
1086 - <Text
1087 - className={cn(
1088 - "text-xs tabular-nums",
1089 - selected
1090 - ? selectedThreadRowColors.foregroundClassName
1091 - : rowAppearance.tertiaryForegroundClassName,
1092 - )}
1093 - >
1094 - {timeLabel}
1095 - </Text>
1096 - )}
1110 + )}
1111 + </View>
1112 </View>
1098 - <Text
1099 - className={cn(
1100 - "mt-1 text-base",
1101 - !recede && "font-t3-medium",
1102 - selected
1103 - ? selectedThreadRowColors.foregroundClassName
1104 - : rowAppearance.foregroundClassName,
1105 - )}
1106 - numberOfLines={2}
1107 - >
1108 - {thread.title}
1109 - </Text>
1113 {props.searchMatch ? (
1111 - <View className="mt-1">
1114 + <View className="mt-1" style={{ paddingLeft: titleTextInset }}>
1115 <ThreadSearchMatchExcerpt
1116 sidebar={sidebarPane}
1117 match={props.searchMatch}
@@ -1117,7 +1120,7 @@ export const ThreadListV2Row = memo(function ThreadListV2Row(props: {
1120 />
1121 </View>
1122 ) : null}
1120 - <View className="mt-1 flex-row items-center gap-2">
1123 + <View className="mt-1 flex-row items-center gap-2" style={{ paddingLeft: titleTextInset }}>
1124 {(status === "failed" || status === "limited") && thread.runtime?.lastError ? (
1125 <Text
1126 className={cn(
@@ -1132,45 +1135,9 @@ export const ThreadListV2Row = memo(function ThreadListV2Row(props: {
1135 >
1136 {thread.runtime.lastError}
1137 </Text>
1135 - ) : thread.branch || props.environmentLabel ? (
1138 + ) : props.environmentLabel ? (
1139 <View className="min-w-0 flex-1 flex-row items-center gap-1">
1137 - <Text
1138 - className={cn(
1139 - "shrink text-xs",
1140 - selected
1141 - ? selectedThreadRowColors.mutedForegroundClassName
1142 - : rowAppearance.mutedForegroundClassName,
1143 - )}
1144 - numberOfLines={1}
1145 - >
1146 - {thread.branch ? (
1147 - <Text
1148 - className={cn(
1149 - "text-xs",
1150 - selected
1151 - ? selectedThreadRowColors.mutedForegroundClassName
1152 - : rowAppearance.mutedForegroundClassName,
1153 - )}
1154 - style={{ fontFamily: MONO_FONT }}
1155 - >
1156 - {thread.branch}
1157 - </Text>
1158 - ) : null}
1159 - {thread.branch && props.environmentLabel ? " · " : null}
1160 - {props.environmentLabel ? (
1161 - <Text
1162 - className={cn(
1163 - "text-xs",
1164 - selected
1165 - ? selectedThreadRowColors.mutedForegroundClassName
1166 - : rowAppearance.tertiaryForegroundClassName,
1167 - )}
1168 - >
1169 - {props.environmentLabel}
1170 - </Text>
1171 - ) : null}
1172 - </Text>
1173 - {props.environmentLabel && props.environmentMachine ? (
1140 + {props.environmentMachine ? (
1141 <EnvironmentMachineSymbol
1142 kind={props.environmentMachine}
1143 size={11}
@@ -1181,6 +1148,17 @@ export const ThreadListV2Row = memo(function ThreadListV2Row(props: {
1148 }
1149 />
1150 ) : null}
1151 + <Text
1152 + className={cn(
1153 + "shrink text-xs",
1154 + selected
1155 + ? selectedThreadRowColors.mutedForegroundClassName
1156 + : rowAppearance.tertiaryForegroundClassName,
1157 + )}
1158 + numberOfLines={1}
1159 + >
1160 + {props.environmentLabel}
1161 + </Text>
1162 </View>
1163 ) : (
1164 <View className="flex-1" />