@devries-cameron20 / t3code Mirror · read-only / commits / 99ea16a969
Fork 0

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, 11:00 UTC

Restore Open PR CTA for commit_push with existing PR

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

Julius Marminge committed Mar 2, 2026 at 20:23 UTC 99ea16a9696e95065c8b556f78468a07712d97d3
1 file changed +3 -1
apps/web/src/components/GitActionsControl.tsx
+3 -1
@@ -337,7 +337,9 @@ export default function GitActionsControl({ gitCwd, activeThreadId }: GitActions
337 const shouldOfferOpenPrCta =
338 (action === "commit_push" || action === "commit_push_pr") &&
339 !!prUrl &&
340 - (result.pr.status === "created" || result.pr.status === "opened_existing");
340 + (!actionIsDefaultBranch ||
341 + result.pr.status === "created" ||
342 + result.pr.status === "opened_existing");
343 const shouldOfferCreatePrCta =
344 action === "commit_push" &&
345 !prUrl &&