@devries-cameron20 / t3code Mirror · read-only / commits / d93b225049
Fork 0

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

Mirrored from https://github.com/Camo67/t3code.git

Synced Nov 21, 12:15 UTC

fix(mobile): grouped projects show their own monogram in the picker and draft rows (#31195)

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

John committed Nov 14, 2026 at 19:12 UTC d93b225049189148936e0728820b8de7c2aa8627
4 files changed +3 -7
apps/mobile/src/features/home/HomeScreen.tsx
-1
@@ -469,7 +469,6 @@ export function HomeScreen(props: HomeScreenProps) {
469 selectedThreadKey)
470 }
471 project={projectByKey.get(pendingScopeKey) ?? null}
472 - projectTitle={v2ProjectTitleByProjectKey.get(pendingScopeKey)}
472 environmentLabel={
473 Object.keys(props.savedConnectionsById).length > 1
474 ? (props.savedConnectionsById[item.pendingTask.environmentId]?.environmentLabel ??
apps/mobile/src/features/threads/NewTaskRouteScreen.tsx
+2 -2
@@ -523,7 +523,7 @@ export function NewTaskRouteScreen({ route }: StaticScreenProps<NewTaskRoutePara
523 faviconPath={scope.representative.faviconPath}
524 projectIcon={scope.representative.projectIcon}
525 size={24}
526 - projectTitle={scope.title}
526 + projectTitle={scope.representative.title}
527 workspaceRoot={scope.representative.workspaceRoot}
528 />
529 }
@@ -548,7 +548,7 @@ export function NewTaskRouteScreen({ route }: StaticScreenProps<NewTaskRoutePara
548 faviconPath={scope.representative.faviconPath}
549 projectIcon={scope.representative.projectIcon}
550 size={20}
551 - projectTitle={scope.title}
551 + projectTitle={scope.representative.title}
552 workspaceRoot={scope.representative.workspaceRoot}
553 />
554 </View>
apps/mobile/src/features/threads/ThreadNavigationSidebar.tsx
-1
@@ -390,7 +390,6 @@ function ThreadNavigationSidebarPane(props: ThreadNavigationSidebarProps) {
390 ) === props.selectedThreadKey)
391 }
392 project={projectByKey.get(pendingScopeKey) ?? null}
393 - projectTitle={projectTitleByProjectKey.get(pendingScopeKey)}
393 environmentLabel={
394 Object.keys(savedConnectionsById).length > 1
395 ? (savedConnectionsById[item.pendingTask.environmentId]?.environmentLabel ?? null)
apps/mobile/src/features/threads/thread-list-v2-items.tsx
+1 -3
@@ -380,7 +380,6 @@ export const ThreadListV2PendingRow = memo(function ThreadListV2PendingRow(props
380 readonly pendingTask: PendingNewTask;
381 readonly selected?: boolean;
382 readonly project: EnvironmentProject | null;
383 - readonly projectTitle?: string;
383 readonly environmentLabel: string | null;
384 readonly environmentMachine?: EnvironmentMachineKind;
385 readonly pane?: "screen" | "sidebar";
@@ -427,7 +426,6 @@ export const ThreadListV2PendingRow = memo(function ThreadListV2PendingRow(props
426 }),
427 [deleteLabel, handleDelete, pendingTask.title],
428 );
430 - const projectTitle = props.projectTitle ?? props.project?.title ?? pendingTask.projectTitle ?? "";
429 const projectCwd = props.project?.workspaceRoot || null;
430 // Drafts only; the reads are shared per-project atoms, and queued rows skip them.
431 const projectDefaults = useNewTaskProjectDefaults(isDraft ? props.project : null);
@@ -469,7 +467,7 @@ export const ThreadListV2PendingRow = memo(function ThreadListV2PendingRow(props
467 faviconPath={props.project.faviconPath}
468 projectIcon={props.project.projectIcon}
469 size={projectIconSize}
472 - projectTitle={projectTitle}
470 + projectTitle={props.project.title}
471 workspaceRoot={props.project.workspaceRoot}
472 />
473 </View>