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.

fix: keep toast CTA git actions on the active feature branch

Julius Marminge882684a80cb7
diff --git a/apps/web/src/components/GitActionsControl.tsx b/apps/web/src/components/GitActionsControl.tsx
index 28a4f35e0..9e194b889 100644
--- a/apps/web/src/components/GitActionsControl.tsx
+++ b/apps/web/src/components/GitActionsControl.tsx
@@ -342,6 +342,8 @@ export default function GitActionsControl({ gitCwd, activeThreadId }: GitActions
action: "commit_push",
forcePushOnlyProgress: true,
onConfirmed: closeResultToast,
+ statusOverride: actionStatus,
+ isDefaultBranchOverride: actionIsDefaultBranch,
});
},
},
@@ -364,7 +366,11 @@ export default function GitActionsControl({ gitCwd, activeThreadId }: GitActions
children: "Create PR",
onClick: () => {
closeResultToast();
- void runGitActionWithToast({ action: "commit_push_pr" });
+ void runGitActionWithToast({
+ action: "commit_push_pr",
+ statusOverride: actionStatus,
+ isDefaultBranchOverride: actionIsDefaultBranch,
+ });
},
},
}