@devries-cameron20 / t3code Mirror · read-only / commits / 50791a0530
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 24, 02:45 UTC

fix(web): use branch wording in commit dialogs (#11281)

shivam committed Sep 12, 2026 at 04:51 UTC 50791a0530a9c4eed7924dbfedf2fcf430d4ed98
1 file changed +7 -9
apps/web/src/components/GitActionsControl.tsx
+7 -9
@@ -303,7 +303,7 @@ function getMenuActionDisabledReason({
303
304 if (item.id === "push") {
305 if (!hasBranch) {
306 - return "Detached HEAD: checkout a refName before pushing.";
306 + return "Detached HEAD: check out a branch before pushing.";
307 }
308 if (hasChanges) {
309 return "Commit or stash local changes before pushing.";
@@ -324,7 +324,7 @@ function getMenuActionDisabledReason({
324 return `View ${terminology.singular} is currently unavailable.`;
325 }
326 if (!hasBranch) {
327 - return `Detached HEAD: checkout a refName before creating a ${terminology.singular}.`;
327 + return `Detached HEAD: check out a branch before creating a ${terminology.singular}.`;
328 }
329 if (hasChanges) {
330 return `Commit local changes before creating a ${terminology.singular}.`;
@@ -1754,7 +1754,7 @@ export default function GitActionsControl({
1754 ) : null}
1755 {gitStatusForActions?.refName === null && (
1756 <p className="px-2 py-1.5 text-xs text-warning">
1757 - Detached HEAD: create and checkout a refName to enable push and pull request
1757 + Detached HEAD: create and check out a branch to enable push and pull request
1758 actions.
1759 </p>
1760 )}
@@ -1799,9 +1799,7 @@ export default function GitActionsControl({
1799 <span className="font-medium">
1800 {gitStatusForActions?.refName ?? "(detached HEAD)"}
1801 </span>
1802 - {isDefaultRef && (
1803 - <span className="text-right text-warning">Warning: default refName</span>
1804 - )}
1802 + {isDefaultRef && <span className="text-right text-warning">Default branch</span>}
1803 </span>
1804 </div>
1805 <div className="space-y-1">
@@ -1932,7 +1930,7 @@ export default function GitActionsControl({
1930 disabled={noneSelected}
1931 onClick={runDialogActionOnNewBranch}
1932 >
1935 - Commit on new refName
1933 + Commit on new branch
1934 </Button>
1935 <Button size="sm" disabled={noneSelected} onClick={runDialogAction}>
1936 Commit
@@ -1960,7 +1958,7 @@ export default function GitActionsControl({
1958 <DialogPopup className="max-w-xl">
1959 <DialogHeader>
1960 <DialogTitle>
1963 - {pendingDefaultBranchActionCopy?.title ?? "Run action on default refName?"}
1961 + {pendingDefaultBranchActionCopy?.title ?? "Run action on default branch?"}
1962 </DialogTitle>
1963 <DialogDescription>{pendingDefaultBranchActionCopy?.description}</DialogDescription>
1964 </DialogHeader>
@@ -1986,7 +1984,7 @@ export default function GitActionsControl({
1984 size="sm"
1985 onClick={checkoutFeatureBranchAndContinuePendingAction}
1986 >
1989 - Checkout feature branch & continue
1987 + Check out feature branch & continue
1988 </Button>
1989 </DialogFooter>
1990 </DialogPopup>