Skip to content
Source
Sign inSign up
pingdotgg/t3code

fix(mobile): a new thread's first send no longer sticks on Starting #25477

Mergedjuliusmarmingemerged 2 commits intomain fromrefs/pull/25477/headmerged by juliusmarminge View on GitHub

Showing 7 changed files with 16 additions and 10 deletions (loading 4).

x
0 of 7 viewed, 7 left
1 addition and 0 deletionsapps/mobile/src/features/threads/ThreadDetailScreen.tsxModified
View file
@@ -1290,6 +1290,7 @@
<ThreadFeed
environmentId={props.environmentId}
threadId={props.selectedThread.id}
+ detailRef={props.selectedThreadDetailRef}
workspaceRoot={props.threadCwd}
feed={props.selectedThreadFeed}
pendingHandoff={props.pendingHandoff}
5 additions and 6 deletionsapps/mobile/src/features/threads/ThreadFeed.tsxModified
View file
@@ -51,6 +51,7 @@
type OrchestrationV2ProjectedTurnItem,
type RunId,
type ScheduledTaskId,
+ type ScopedThreadRef,
} from "@t3tools/contracts";
import { renderAssistantCitationsAsText } from "@t3tools/shared/assistantCitations";
import { encodeComposerContextFragment } from "@t3tools/shared/composerContextClipboard";
@@ -332,6 +333,8 @@
readonly onEditPendingMessage: ((message: QueuedThreadMessage) => void) | null;
readonly environmentId: EnvironmentId;
readonly threadId: ThreadId;
+ /** Null while the thread's creation is queued: reading detail then caches a not-found as deleted. */
+ readonly detailRef: ScopedThreadRef | null;
readonly threadTitle: string;
readonly workspaceRoot?: string | null;
readonly feed: ReadonlyArray<ThreadFeedEntry>;