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
344344 }
345345
346346 void api.shell.openExternal(prUrl).catch((error) => {
347 setGitActionError(
348 error instanceof Error ? error.message : "Unable to open PR link.",
349 );
347 setGitActionError(error instanceof Error ? error.message : "Unable to open PR link.");
350348 });
351349 }, [api, gitStatus?.openPr?.url]);
352350
......@@ -415,10 +413,7 @@ export default function GitActionsControl({ api, gitCwd }: GitActionsControlProp
415413 if (commitRun.commit.subject) {
416414 setGitModalCommitMessage(commitRun.commit.subject);
417415 }
418 updateStep(
419 "generate",
420 "completed",
421 );
416 updateStep("generate", "completed");
422417 } else {
423418 updateStep("generate", "skipped", "No local changes to commit.");
424419 }
......@@ -696,9 +691,6 @@ export default function GitActionsControl({ api, gitCwd }: GitActionsControlProp
696691 onChange={(event) => setGitModalCommitMessage(event.target.value)}
697692 disabled={!gitModalSelectionMode || isGitActionRunning}
698693 />
699 <p className="mt-1.5 text-xs text-muted-foreground/65">
700 Leave this empty to use AI-generated commit text.
701 </p>
702694 </div>
703695 <div className="mt-6">
704696 <p className="text-sm font-medium text-foreground">Next steps</p>