Skip to content
Source
Sign inSign up
pingdotgg/t3code

feat: side chat and fork surfaces for web and mobile #9437

Closedamanthanvi(GitHub profile, opens in a new tab)wants to merge 38 commits intomain fromrefs/pull/9437/headopened View on GitHub

Showing 116 changed files with 71 additions and 2 deletions (loading 113).

x
0 of 116 viewed, 116 left
53 additions and 0 deletionsapps/mobile/src/features/home/homeThreadList.test.tsModified
View file
@@ -73,6 +73,59 @@
​
describe("buildHomeThreadGroups", () => {
+ it("hides attached side chats and keeps orphaned side chats in the home list", () => {
+ const environmentId = EnvironmentId.make("environment-1");
+ const project = makeProject({
+ environmentId,
+ id: ProjectId.make("project-1"),
+ title: "Project",
+ });
+ const main = makeThread({
+ environmentId,
+ id: ThreadId.make("thread-main"),
+ projectId: project.id,
+ title: "Main",
+ });
+ const sideChat = makeThread({
+ environmentId,
+ id: ThreadId.make("thread-side"),
+ projectId: project.id,
+ title: "Side chat",
+ sideChat: true,
+ fork: {
+ sourceThreadId: main.id,
+ sourceTurnId: null,
+ sourceMessageId: null,
+ forkedAt: "2026-06-01T00:01:00.000Z",
+ },
+ });