fix: allow PR worktrees from existing local branches

Use existing local PR branches instead of blocking worktree creation
Only block PR branches already checked out in another worktree
Clarify local branch validation messages across locales
This commit is contained in:
Bohdan Triapitsyn
2026-05-08 16:59:31 +03:00
parent a591f63ed2
commit 1a0f3bea8e
9 changed files with 37 additions and 9 deletions
+1
View File
@@ -1289,6 +1289,7 @@ export const dict: Record<I18nKey, string> = {
"session.githubIntegration.error.notConnected": "GitHub не підключено",
"session.githubIntegration.error.loadDataFailed": "Не вдалося завантажити дані",
"session.githubIntegration.validation.branchAlreadyCheckedOut": "Гілку вже відкрито в worktree",
"session.githubIntegration.validation.branchAlreadyExists": "Гілка вже існує локально",
"session.githubIntegration.validation.failed": "Помилка перевірки",
"chat.fileAttachment.toast.attachFailed": "Не вдалося прикріпити файл",
"chat.fileAttachment.toast.someFilesSkipped": "Деякі файли були пропущені:\n{summary}",