Remove create PR success toast

Removes the newly-created pull request success toast from create PR flows while preserving existing-review and error feedback.
This commit is contained in:
Jinjing 2026-05-22 10:55:10 -07:00 committed by GitHub
parent 6a8bacae4c
commit a37f299977
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 0 additions and 12 deletions

View File

@ -142,12 +142,6 @@ export function CreatePullRequestDialog({
worktreePath
})
if (result.ok) {
toast.success(`Pull request #${result.number} created`, {
action: {
label: 'Open on GitHub',
onClick: () => window.api.shell.openUrl(result.url)
}
})
await onCreated(result)
onOpenChange(false)
return

View File

@ -2293,12 +2293,6 @@ function SourceControlInner(): React.JSX.Element {
})
if (result.ok) {
toast.success(`Pull request #${result.number} created`, {
action: {
label: 'Open on GitHub',
onClick: () => window.api.shell.openUrl(result.url)
}
})
await handlePullRequestCreated(result)
return
}