The best way to control Claude Code, Codex and more from any computer or phone
fix(web): simplify the created pull request success row (#25613)
Yash Singh committed
Oct 26, 2026 at 16:51 UTC
4034b5f6b52a3fe2bc1dbb13ccfc276234222cbf
1 file changed
+5
-2
apps/web/src/components/GitActionsControl.tsx
+5
-2
@@ -1299,9 +1299,12 @@ export default function GitActionsControl({
1299
const actionResult = result.value;
1300
syncThreadBranchAfterGitAction(actionResult);
1301
if (isPanel) {
1302
+ const createdPullRequest = actionResult.pr.status === "created";
1303
setInlineSuccess({
1303
- title: actionResult.toast.title,
1304
- description: actionResult.toast.description ?? null,
1304
+ title: createdPullRequest
1305
+ ? `Created ${changeRequestTerminology.shortLabel}`
1306
+ : actionResult.toast.title,
1307
+ description: createdPullRequest ? null : (actionResult.toast.description ?? null),
1308
scopeKey: successScopeKey,
1309
});
1310
return;