@devries-cameron20 / t3code Mirror · read-only / commits / 6b276f5c40
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, 12:00 UTC

fix(web): project removal says provider sessions are kept (#22867)

Co-authored-by: maria-rcks <maria@kuuro.net>

Josh McKinney committed Oct 30, 2026 at 13:42 UTC 6b276f5c40867c331002416bcd3f1669f3ecfdef
2 files changed +6 -4
apps/web/src/components/settings/ProjectSettingsPanel.logic.test.ts
+2 -2
@@ -29,7 +29,7 @@ describe("project removal confirmation", () => {
29 });
30 expect(plan.projectThreads).toHaveLength(1);
31 expect(plan.confirmationMessage).toBe(
32 - 'Remove checkout "Repo" and delete its 1 thread?\nPath: /work/repo\nEnvironment: Local\nThis permanently clears conversation history for those threads and any archived threads.\nOther entries in this grouped project are unaffected.\nThis action cannot be undone.',
32 + 'Remove checkout "Repo" and delete its 1 thread?\nPath: /work/repo\nEnvironment: Local\nThose threads and any archived threads are deleted from T3 Code. Provider sessions are kept.\nOther entries in this grouped project are unaffected.\nThis action cannot be undone.',
33 );
34 });
35
@@ -47,7 +47,7 @@ describe("project removal confirmation", () => {
47 "Other entries in this grouped project are unaffected.",
48 );
49 expect(plan.confirmationMessage).toContain(
50 - "This permanently clears any archived conversation history.",
50 + "Any archived threads are deleted from T3 Code. Provider sessions are kept.",
51 );
52 });
53
packages/client-runtime/src/state/projectRemoval.ts
+4 -2
@@ -38,8 +38,10 @@ export function planProjectRemoval<
38 ]
39 : [`This removes ${members.length} grouped project entries.`]),
40 ...(threadCount > 0
41 - ? ["This permanently clears conversation history for those threads and any archived threads."]
42 - : ["This permanently clears any archived conversation history."]),
41 + ? [
42 + "Those threads and any archived threads are deleted from T3 Code. Provider sessions are kept.",
43 + ]
44 + : ["Any archived threads are deleted from T3 Code. Provider sessions are kept."]),
45 isWholeGroup && !hasOtherMembers
46 ? "This removes only the project entries, not the files on disk."
47 : "Other entries in this grouped project are unaffected.",