Skip to content

Open-source Grok Bot alternative for named AI teammates. Local-first desktop, web, and mobile clients with per-bot tools, instructions, and memory. Independent fork of T3 Code.

Use Yes/No labels for desktop worktree confirm

Julius Marmingeb6523a15dc7f
diff --git a/apps/desktop/src/confirmDialog.test.ts b/apps/desktop/src/confirmDialog.test.ts
index 60b93e453..4a4c0ddbe 100644
--- a/apps/desktop/src/confirmDialog.test.ts
+++ b/apps/desktop/src/confirmDialog.test.ts
@@ -35,7 +35,7 @@ describe("showDesktopConfirmDialog", () => {
expect(showMessageBoxMock).toHaveBeenCalledWith(
ownerWindow,
expect.objectContaining({
- buttons: ["Cancel", "Confirm"],
+ buttons: ["No", "Yes"],
message: "Delete worktree?",
}),
);
@@ -49,7 +49,7 @@ describe("showDesktopConfirmDialog", () => {
expect(result).toBe(false);
expect(showMessageBoxMock).toHaveBeenCalledWith(
expect.objectContaining({
- buttons: ["Cancel", "Confirm"],
+ buttons: ["No", "Yes"],
message: "Delete worktree?",
}),
);
diff --git a/apps/desktop/src/confirmDialog.ts b/apps/desktop/src/confirmDialog.ts
index 9238de50f..1beda8543 100644
--- a/apps/desktop/src/confirmDialog.ts
+++ b/apps/desktop/src/confirmDialog.ts
@@ -13,7 +13,7 @@ export async function showDesktopConfirmDialog(
const options = {
type: "question" as const,
- buttons: ["Cancel", "Confirm"],
+ buttons: ["No", "Yes"],
defaultId: CONFIRM_BUTTON_INDEX,
cancelId: 0,
noLink: true,