Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
18 commits
Select commit Hold shift + click to select a range
994186e
feat(server): read a linked environment's thread for a client over th…
juliusmarminge Nov 19, 2026
53b676e
feat: read a linked environment's threads from the client
juliusmarminge Nov 19, 2026
05ff0c8
fix(mobile): thread links to a linked-only machine open the read-only…
juliusmarminge Nov 19, 2026
5027347
fix: linked thread view follows review findings
juliusmarminge Nov 19, 2026
5562a49
fix(mobile): a thread chip opens the exact thread it recorded
juliusmarminge Nov 19, 2026
f48afb7
fix(client-runtime): a linked thread read that a newer one overtook c…
juliusmarminge Nov 19, 2026
c50f061
fix(web): a thread cached from a dropped connection still reads throu…
juliusmarminge Nov 19, 2026
4b8a8cf
fix(client-runtime): a linked thread view opened out of sight waits t…
juliusmarminge Nov 19, 2026
9cca3de
test(web): drop the linked thread sheet smoke test
juliusmarminge Nov 19, 2026
237e150
feat(web): a linked environment's thread opens as a right panel tab
juliusmarminge Nov 20, 2026
d32b86d
feat: a linked thread's read-only note sits where the composer would
juliusmarminge Nov 20, 2026
d6874ba
fix(web): a linked thread tab takes its title only from reads it kept
juliusmarminge Nov 20, 2026
bd4617f
Merge origin/main into t3code/links/read-linked-threads
juliusmarminge Nov 20, 2026
a2c1a83
test(client-runtime): drop linked thread tests of constants and copy
juliusmarminge Nov 20, 2026
8542dd1
fix: linked thread links resolve with thread read access
juliusmarminge Nov 20, 2026
a64e1fb
feat: a linked environment's thread is the thread's own stream, read-…
juliusmarminge Nov 20, 2026
5f69b8f
fix: linked thread reads survive a newer peer, a stalled answer and a…
juliusmarminge Nov 20, 2026
f7b6983
fix(mobile): a linked thread's open row shows the call, not the raw item
juliusmarminge Nov 20, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions apps/mobile/src/Stack.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,7 @@ import { GitConfirmSheet } from "./features/threads/git/GitConfirmSheet";
import { GitOverviewSheet } from "./features/threads/git/GitOverviewSheet";
import { ThreadPullRequestsSheet } from "./features/threads/ThreadPullRequestsSheet";
import { ThreadAgentsSheet } from "./features/threads/ThreadAgentsSheet";
import { LinkedThreadSheet } from "./features/threads/LinkedThreadSheet";
import { ThreadGuestShareSheet } from "./features/threads/ThreadGuestShareSheet";
import { ThreadBackgroundWorkSheet } from "./features/threads/ThreadBackgroundWorkSheet";
import { ThreadQueueSheet } from "./features/threads/ThreadQueueControl";
Expand Down Expand Up @@ -784,6 +785,10 @@ const RootStackConfig = createWorkspaceStackNavigator({
screen: ThreadAgentsSheet,
options: sheetRoute({ detent: 0.5, androidMaxDetent: 0.9 }),
}),
LinkedThread: createNativeStackScreen({
screen: LinkedThreadSheet,
options: sheetRoute({ detent: 0.9, android: "fullScreen" }),
}),
ThreadGuestShare: createNativeStackScreen({
screen: ThreadGuestShareSheet,
options: sheetRoute({ detent: 0.5 }),
Expand Down
2 changes: 1 addition & 1 deletion apps/mobile/src/components/ComposerEditor.ios.test.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ vi.mock("./ui/Dialog", () => ({ alert: vi.fn() }));
vi.mock("./ui/AppText", () => ({ AppText: ({ children }: { children?: ReactNode }) => children }));
vi.mock("./ComposerContextSheet", () => ({ ComposerContextSheet: () => null }));
vi.mock("./AssistantCitationSheet", () => ({ AssistantCitationSheet: () => null }));
vi.mock("../features/threads/useOpenLinkedThread", () => ({ useOpenLinkedThread: () => vi.fn() }));
vi.mock("../features/threads/useOpenThreadLink", () => ({ useOpenThreadLink: () => vi.fn() }));
vi.mock("../state/peerLinks", () => ({ useLinkedEnvironments: () => [] }));
vi.mock("../state/model-mentions", () => ({ useModelMentions: () => [] }));
vi.mock("../state/preferences", async () => {
Expand Down
9 changes: 3 additions & 6 deletions apps/mobile/src/components/ComposerEditor.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ import { appAtomRegistry } from "../state/atom-registry";
import { enrichedModelDetails, enrichedModelReference } from "../lib/enrichedLinkPresentation";
import { useModelMentions } from "../state/model-mentions";
import { mobilePreferencesAtom } from "../state/preferences";
import { useOpenLinkedThread } from "../features/threads/useOpenLinkedThread";
import { useOpenThreadLink } from "../features/threads/useOpenThreadLink";
import { useLinkedEnvironments } from "../state/peerLinks";
import { ComposerContextSheet } from "./ComposerContextSheet";
import { AppText as Text } from "./ui/AppText";
Expand Down Expand Up @@ -186,7 +186,7 @@ export function ComposerEditor({
}),
})
: "";
const openLinkedThread = useOpenLinkedThread();
const openThreadLink = useOpenThreadLink(environmentId ?? null);
const selectedReference = selected
? collectComposerContextReferences(selected.source)[0]
: undefined;
Expand Down Expand Up @@ -338,10 +338,7 @@ export function ComposerEditor({
: {})}
onOpenThread={(thread) => {
setSelected(null);
openLinkedThread({
environmentId: String(thread.environmentId),
threadId: String(thread.threadId),
});
openThreadLink(thread);
}}
environmentId={environmentId ?? draft.project?.environmentId}
projectId={draft.project?.projectId}
Expand Down
Loading
Loading