authorgravatar for julius0216@outlook.comJulius Marminge <julius0216@outlook.com> 2026-02-12 14:30:43-08:00
committergravatar for julius0216@outlook.comJulius Marminge <julius0216@outlook.com> 2026-02-12 14:30:43-08:00
log95c8463706b26e76701d78f8e3ce9e1eb0622e0f
treee4518b17086e8193fd951ad33b8bc2c546112885
parent5a0f5e9f5e779f27ccfdcee316d06750d697672d

Remove redundant commit message hint from Git actions modal

- Remove the “Leave this empty…” helper text under the commit message field - Keep AI-generated commit message behavior unchanged

1 files changed, 2 insertions(+), 10 deletions(-)

apps/web/src/components/GitActionsControl.tsx+2-10
...@@ -344,9 +344,7 @@ export default function GitActionsControl({ api, gitCwd }: GitActionsControlProp...@@ -344,9 +344,7 @@ export default function GitActionsControl({ api, gitCwd }: GitActionsControlProp
344 }344 }
345345
346 void api.shell.openExternal(prUrl).catch((error) => {346 void api.shell.openExternal(prUrl).catch((error) => {
347 setGitActionError(347 setGitActionError(error instanceof Error ? error.message : "Unable to open PR link.");
348 error instanceof Error ? error.message : "Unable to open PR link.",
349 );
350 });348 });
351 }, [api, gitStatus?.openPr?.url]);349 }, [api, gitStatus?.openPr?.url]);
352350
...@@ -415,10 +413,7 @@ export default function GitActionsControl({ api, gitCwd }: GitActionsControlProp...@@ -415,10 +413,7 @@ export default function GitActionsControl({ api, gitCwd }: GitActionsControlProp
415 if (commitRun.commit.subject) {413 if (commitRun.commit.subject) {
416 setGitModalCommitMessage(commitRun.commit.subject);414 setGitModalCommitMessage(commitRun.commit.subject);
417 }415 }
418 updateStep(416 updateStep("generate", "completed");
419 "generate",
420 "completed",
421 );
422 } else {417 } else {
423 updateStep("generate", "skipped", "No local changes to commit.");418 updateStep("generate", "skipped", "No local changes to commit.");
424 }419 }
...@@ -696,9 +691,6 @@ export default function GitActionsControl({ api, gitCwd }: GitActionsControlProp...@@ -696,9 +691,6 @@ export default function GitActionsControl({ api, gitCwd }: GitActionsControlProp
696 onChange={(event) => setGitModalCommitMessage(event.target.value)}691 onChange={(event) => setGitModalCommitMessage(event.target.value)}
697 disabled={!gitModalSelectionMode || isGitActionRunning}692 disabled={!gitModalSelectionMode || isGitActionRunning}
698 />693 />
699 <p className="mt-1.5 text-xs text-muted-foreground/65">
700 Leave this empty to use AI-generated commit text.
701 </p>
702 </div>694 </div>
703 <div className="mt-6">695 <div className="mt-6">
704 <p className="text-sm font-medium text-foreground">Next steps</p>696 <p className="text-sm font-medium text-foreground">Next steps</p>