Skip to content

Commit 302c08c

Browse files
committed
release: 2.1.2
- 添加:在源代码管理(SCM)视图中增加一个按钮,以便快速访问“创建合并请求”操作。
1 parent bd8739e commit 302c08c

2 files changed

Lines changed: 16 additions & 2 deletions

File tree

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
# CHANGELOG
22

3+
## 2.1.2
4+
5+
* Added: A button to the Source Control Management (SCM) view for quick access to the 'Create MR' action.
6+
37
## 2.1.1
48

59
* Fixed: Addressed an issue where Merge Request creation would fail if the local branch did not exist on the remote repository.

package.json

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"name": "gitlab-mr-ui",
33
"displayName": "Gitlab MR UI",
44
"description": "Quick create merge request with UI",
5-
"version": "2.1.1",
5+
"version": "2.1.2",
66
"publisher": "JustLookAtNow",
77
"repository": {
88
"type": "git",
@@ -21,7 +21,8 @@
2121
"commands": [
2222
{
2323
"command": "extension.openMR",
24-
"title": "Gitlab MR: Create MR"
24+
"title": "Gitlab MR: Create MR",
25+
"icon": "$(git-pull-request)"
2526
},
2627
{
2728
"command": "extension.viewMR",
@@ -56,6 +57,15 @@
5657
"when": "editorTextFocus"
5758
}
5859
],
60+
"menus": {
61+
"scm/title": [
62+
{
63+
"command": "extension.openMR",
64+
"when": "scmProvider == 'git'",
65+
"group": "navigation"
66+
}
67+
]
68+
},
5969
"configuration": {
6070
"title": "Gitlab MR",
6171
"properties": {

0 commit comments

Comments
 (0)