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 25, 18:30 UTC
Use Yes/No labels for desktop worktree confirm
Co-authored-by: codex <codex@users.noreply.github.com>
Julius Marminge committed
Feb 12, 2026 at 22:47 UTC
b6523a15dc7f032b2804c07f2422daf89f8bcd88
2 files changed
+3
-3
apps/desktop/src/confirmDialog.test.ts
+2
-2
@@ -35,7 +35,7 @@ describe("showDesktopConfirmDialog", () => {
35
expect(showMessageBoxMock).toHaveBeenCalledWith(
36
ownerWindow,
37
expect.objectContaining({
38
- buttons: ["Cancel", "Confirm"],
38
+ buttons: ["No", "Yes"],
39
message: "Delete worktree?",
40
}),
41
);
@@ -49,7 +49,7 @@ describe("showDesktopConfirmDialog", () => {
49
expect(result).toBe(false);
50
expect(showMessageBoxMock).toHaveBeenCalledWith(
51
expect.objectContaining({
52
- buttons: ["Cancel", "Confirm"],
52
+ buttons: ["No", "Yes"],
53
message: "Delete worktree?",
54
}),
55
);
apps/desktop/src/confirmDialog.ts
+1
-1
@@ -13,7 +13,7 @@ export async function showDesktopConfirmDialog(
13
14
const options = {
15
type: "question" as const,
16
- buttons: ["Cancel", "Confirm"],
16
+ buttons: ["No", "Yes"],
17
defaultId: CONFIRM_BUTTON_INDEX,
18
cancelId: 0,
19
noLink: true,