@devries-cameron20 / t3code Mirror · read-only / commits / 1d690b4804
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 22, 10:45 UTC

fix(mobile): thread rows show when a title is regenerating (#26835)

Co-authored-by: SAPHID <saphid@users.noreply.github.com> Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com> Co-authored-by: maria-rcks <maria@kuuro.net>

Alex Southwell committed Oct 31, 2026 at 01:43 UTC 1d690b4804c0341447b97018953e304ffbaa9298
1 file changed +8 -13
apps/mobile/src/features/threads/thread-list-v2-items.tsx
+8 -13
@@ -695,6 +695,8 @@ export const ThreadListV2Row = memo(function ThreadListV2Row(props: {
695 ? { ...workingLabel, label: "Goal" }
696 : workingLabel) ?? (isUnread ? DONE_STATUS_LABEL : undefined);
697 const recede = shouldRecedeThreadRow({ status, selected });
698 + const isRegeneratingTitle = thread.titleRegeneration != null;
699 + const rowAccessibilityLabel = `${thread.title}${props.hasQueuedMessages ? ", messages queued to send" : ""}${isRegeneratingTitle ? ", regenerating title" : ""}`;
700 const timeLabel = props.timeLabel;
701
702 const visitThread = useAtomCommand(threadEnvironment.visit, { reportFailure: false });
@@ -845,7 +847,7 @@ export const ThreadListV2Row = memo(function ThreadListV2Row(props: {
847 { id: "rename", title: "Rename", image: "square.and.pencil" },
848 ...buildThreadTitleRegenerationMenuItems({
849 supported: props.titleRegenerationSupported,
848 - isRegenerating: thread.titleRegeneration != null,
850 + isRegenerating: isRegeneratingTitle,
851 }),
852 ...(canTurnIntoProject
853 ? [
@@ -858,12 +860,7 @@ export const ThreadListV2Row = memo(function ThreadListV2Row(props: {
860 ]
861 : []),
862 ],
861 - [
862 - canTurnIntoProject,
863 - props.titleRegenerationSupported,
864 - thread.runtime,
865 - thread.titleRegeneration,
866 - ],
863 + [canTurnIntoProject, props.titleRegenerationSupported, thread.runtime, isRegeneratingTitle],
864 );
865 const snoozableCardMenuActions = useMemo<MenuAction[]>(
866 () => [
@@ -1079,6 +1076,7 @@ export const ThreadListV2Row = memo(function ThreadListV2Row(props: {
1076 selected
1077 ? selectedThreadRowColors.foregroundClassName
1078 : rowAppearance.foregroundClassName,
1079 + isRegeneratingTitle && "opacity-55",
1080 )}
1081 numberOfLines={2}
1082 >
@@ -1299,9 +1297,7 @@ export const ThreadListV2Row = memo(function ThreadListV2Row(props: {
1297 interactionOpacity={rowAppearance.interactionOpacity}
1298 className={rowAppearance.className}
1299 accessibilityHint={swipeAccessibilityHint}
1302 - accessibilityLabel={
1303 - props.hasQueuedMessages ? `${thread.title}, messages queued to send` : thread.title
1304 - }
1300 + accessibilityLabel={rowAccessibilityLabel}
1301 accessibilityRole="button"
1302 accessibilityState={{ selected }}
1303 accessibilityActions={rowAccessibilityActions}
@@ -1332,9 +1328,7 @@ export const ThreadListV2Row = memo(function ThreadListV2Row(props: {
1328 interactionClassName={rowAppearance.interactionClassName}
1329 interactionOpacity={rowAppearance.interactionOpacity}
1330 accessibilityHint={swipeAccessibilityHint}
1335 - accessibilityLabel={
1336 - props.hasQueuedMessages ? `${thread.title}, messages queued to send` : thread.title
1337 - }
1331 + accessibilityLabel={rowAccessibilityLabel}
1332 accessibilityRole="button"
1333 accessibilityState={{ selected }}
1334 className={rowAppearance.className}
@@ -1370,6 +1364,7 @@ export const ThreadListV2Row = memo(function ThreadListV2Row(props: {
1364 selected
1365 ? selectedThreadRowColors.foregroundClassName
1366 : rowAppearance.mutedForegroundClassName,
1367 + isRegeneratingTitle && "opacity-55",
1368 )}
1369 numberOfLines={1}
1370 >