Skip to content

Commit 1916169

Browse files
Merge pull request #55 from GitGuardian/nriviere/add-category-property-to-commands
style: add category property to commands
2 parents 831bf99 + c3ac8e4 commit 1916169

File tree

1 file changed

+18
-10
lines changed

1 file changed

+18
-10
lines changed

package.json

Lines changed: 18 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -46,39 +46,47 @@
4646
"commands": [
4747
{
4848
"command": "gitguardian.quota",
49-
"title": "gitguardian: Show quota"
49+
"title": "Show quota",
50+
"category": "GitGuardian"
5051
},
5152
{
5253
"command": "gitguardian.ignore",
53-
"title": "gitguardian: Ignore last found incidents"
54+
"title": "Ignore last found incidents",
55+
"category": "GitGuardian"
5456
},
5557
{
5658
"command": "gitguardian.authenticate",
57-
"title": "gitguardian: Authenticate"
59+
"title": "Authenticate",
60+
"category": "GitGuardian"
5861
},
5962
{
6063
"command": "gitguardian.logout",
61-
"title": "gitguardian: logout"
64+
"title": "Logout",
65+
"category": "GitGuardian"
6266
},
6367
{
6468
"command": "gitguardian.updateAuthenticationStatus",
6569
"title": "gitguardian: Update authentication status"
6670
},
6771
{
6872
"command": "gitguardian.showOutput",
69-
"title": "Show Output"
73+
"title": "Show Output",
74+
"category": "GitGuardian"
7075
},
7176
{
7277
"command": "gitguardian.openSidebar",
73-
"title": "Open Sidebar"
78+
"title": "Open Sidebar",
79+
"category": "GitGuardian"
7480
},
7581
{
7682
"command": "gitguardian.openProblems",
77-
"title": "Open Problems"
83+
"title": "Open Problems",
84+
"category": "GitGuardian"
7885
},
7986
{
8087
"command": "gitguardian.refreshQuota",
8188
"title": "Refresh Quota",
89+
"category": "GitGuardian",
8290
"icon": {
8391
"light": "images/refresh-light.svg",
8492
"dark": "images/refresh-dark.svg"
@@ -99,19 +107,19 @@
99107
{
100108
"type": "webview",
101109
"id": "gitguardianView",
102-
"name": "gitguardian"
110+
"name": "GitGuardian"
103111
},
104112
{
105113
"type": "webview",
106114
"id": "gitguardianRemediationMessageView",
107-
"name": "remediation message",
115+
"name": "Remediation message",
108116
"collapsed": true,
109117
"when": "false"
110118
},
111119
{
112120
"type": "webview",
113121
"id": "gitguardianQuotaView",
114-
"name": "quota",
122+
"name": "Quota",
115123
"collapsed": true,
116124
"when": "isAuthenticated == true"
117125
}

0 commit comments

Comments
 (0)