| ... | @@ -344,9 +344,7 @@ export default function GitActionsControl({ api, gitCwd }: GitActionsControlProp | ... | @@ -344,9 +344,7 @@ export default function GitActionsControl({ api, gitCwd }: GitActionsControlProp |
| 344 | } | 344 | } |
| 345 | | 345 | |
| 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]); |
| 352 | | 350 | |
| ... | @@ -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> |