authorgravatar for julius0216@outlook.comJulius Marminge <julius0216@outlook.com> 2026-03-01 11:55:07-08:00
committergravatar for jmarminge@gmail.comJulius Marminge <jmarminge@gmail.com> 2026-03-01 20:06:01-08:00
log882684a80cb7a74beafc8291e4949e266544c9ec
tree9ab581c00f46123791292112f04ca906fb542a91
parent96efd1cef04489233e00f602bad42d5dd7625ecc

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

Co-authored-by: codex <codex@users.noreply.github.com>

1 files changed, 7 insertions(+), 1 deletions(-)

apps/web/src/components/GitActionsControl.tsx+7-1
......@@ -342,6 +342,8 @@ export default function GitActionsControl({ gitCwd, activeThreadId }: GitActions
342342 action: "commit_push",
343343 forcePushOnlyProgress: true,
344344 onConfirmed: closeResultToast,
345 statusOverride: actionStatus,
346 isDefaultBranchOverride: actionIsDefaultBranch,
345347 });
346348 },
347349 },
......@@ -364,7 +366,11 @@ export default function GitActionsControl({ gitCwd, activeThreadId }: GitActions
364366 children: "Create PR",
365367 onClick: () => {
366368 closeResultToast();
367 void runGitActionWithToast({ action: "commit_push_pr" });
369 void runGitActionWithToast({
370 action: "commit_push_pr",
371 statusOverride: actionStatus,
372 isDefaultBranchOverride: actionIsDefaultBranch,
373 });
368374 },
369375 },
370376 }