Feature : Add open pr on github from pr description node (#6020)
* Add open pr on github from pr description node * Fix open PR on GH icon visibility based on active pull requests * Fix : limit openPRonGithub visibility to prStatus
This commit is contained in:
Родитель
688bb110e6
Коммит
19c9b20482
|
@ -2180,6 +2180,11 @@
|
|||
"group": "inline@2",
|
||||
"when": "view =~ /(pr|prStatus):github/ && viewItem =~ /description/"
|
||||
},
|
||||
{
|
||||
"command": "pr.openPullRequestOnGitHub",
|
||||
"group": "inline@3",
|
||||
"when": "view == prStatus:github && viewItem =~ /description/ && github:activePRCount >= 2"
|
||||
},
|
||||
{
|
||||
"command": "pr.exit",
|
||||
"when": "view == pr:github && viewItem =~ /pullrequest(:local)?:active|description:active/",
|
||||
|
|
Загрузка…
Ссылка в новой задаче