From 882684a80cb7a74beafc8291e4949e266544c9ec Mon Sep 17 00:00:00 2001 From: Julius Marminge Date: Sun, 1 Mar 2026 11:55:07 -0800 Subject: [PATCH] fix: keep toast CTA git actions on the active feature branch Co-authored-by: codex --- apps/web/src/components/GitActionsControl.tsx | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/apps/web/src/components/GitActionsControl.tsx b/apps/web/src/components/GitActionsControl.tsx index 28a4f35e03412b7d55aabbd0082b7ff60b792e56..9e194b8899a3555949193ad43cc7ad4aabff4154 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, + }); }, }, } -- 2.54.0