fix: show pull request unavailable state

Replace the empty PR tab with a clear unavailable message
Explain when pull request actions are available
This commit is contained in:
Bohdan Triapitsyn
2026-05-06 00:55:56 +03:00
parent 89f0e0a0e6
commit 6b25fd7d20
7 changed files with 16 additions and 1 deletions
+1
View File
@@ -674,6 +674,7 @@ export const dict = {
'gitView.pr.toast.titleRequired': 'Title is required',
'gitView.pr.toast.updatePrFailed': 'Failed to update pull request',
'gitView.pullRequest.createHint': 'Create and manage pull requests from this branch.',
'gitView.pullRequest.availableOnFeatureBranches': 'Available when the current branch can open a pull request.',
'gitView.pullRequest.title': 'Pull request',
'gitView.tabs.commit': 'Commit',
'gitView.tabs.pr': 'PR',