|
|
… |
1 unchanged lines |
| 2 |
2 |
|
"name": "oxygenhub-vscode", |
| 3 |
3 |
|
"displayName": "Oxygenhub", |
| 4 |
4 |
|
"description": "Proposals, reviews, issues and checks from an Oxygenhub, in the editor. Builds on the Oxygen extension.", |
| 5 |
|
- |
"version": "0.1.0", |
|
5 |
+ |
"version": "0.1.1", |
| 6 |
6 |
|
"publisher": "andymccall", |
| 7 |
7 |
|
"license": "MIT OR Apache-2.0", |
| 8 |
8 |
|
"icon": "assets/images/oxygenhub.png", |
| 9 |
9 |
|
"engines": { |
| 10 |
10 |
|
"vscode": "^1.137.0" |
| 11 |
11 |
|
}, |
| 12 |
|
- |
"categories": ["SCM Providers", "Other"], |
| 13 |
|
- |
"keywords": ["oxygen", "oxygenhub", "review", "proposals", "issues"], |
| 14 |
|
- |
"extensionDependencies": ["andymccall.oxygen-vscode"], |
| 15 |
|
- |
"activationEvents": ["workspaceContains:.oxy/format", "onAuthenticationRequest:oxygenhub", "onStartupFinished"], |
|
12 |
+ |
"categories": [ |
|
13 |
+ |
"SCM Providers", |
|
14 |
+ |
"Other" |
|
15 |
+ |
], |
|
16 |
+ |
"keywords": [ |
|
17 |
+ |
"oxygen", |
|
18 |
+ |
"oxygenhub", |
|
19 |
+ |
"review", |
|
20 |
+ |
"proposals", |
|
21 |
+ |
"issues" |
|
22 |
+ |
], |
|
23 |
+ |
"extensionDependencies": [ |
|
24 |
+ |
"andymccall.oxygen-vscode" |
|
25 |
+ |
], |
|
26 |
+ |
"activationEvents": [ |
|
27 |
+ |
"workspaceContains:.oxy/format", |
|
28 |
+ |
"onAuthenticationRequest:oxygenhub", |
|
29 |
+ |
"onStartupFinished" |
|
30 |
+ |
], |
| 16 |
31 |
|
"main": "./dist/extension.js", |
| 17 |
32 |
|
"contributes": { |
| 18 |
|
- |
"authentication": [{ "id": "oxygenhub", "label": "Oxygenhub" }], |
|
33 |
+ |
"authentication": [ |
|
34 |
+ |
{ |
|
35 |
+ |
"id": "oxygenhub", |
|
36 |
+ |
"label": "Oxygenhub" |
|
37 |
+ |
} |
|
38 |
+ |
], |
| 19 |
39 |
|
"configuration": { |
| 20 |
40 |
|
"title": "Oxygenhub", |
| 21 |
41 |
|
"properties": { |
| 22 |
|
- |
"oxygenhub.hubs": { "type": "array", "items": { "type": "string" }, "default": [], "description": "Base URLs of hubs you use (learnt from sign in too)." }, |
| 23 |
|
- |
"oxygenhub.proposalBookmarkPrefix": { "type": "string", "default": "proposal/", "description": "Prefix of the local bookmark created when checking out a proposal." }, |
| 24 |
|
- |
"oxygenhub.autoRefresh": { "type": "number", "default": 60, "description": "Seconds between view refreshes; 0 disables." } |
|
42 |
+ |
"oxygenhub.hubs": { |
|
43 |
+ |
"type": "array", |
|
44 |
+ |
"items": { |
|
45 |
+ |
"type": "string" |
|
46 |
+ |
}, |
|
47 |
+ |
"default": [], |
|
48 |
+ |
"description": "Base URLs of hubs you use (learnt from sign in too)." |
|
49 |
+ |
}, |
|
50 |
+ |
"oxygenhub.proposalBookmarkPrefix": { |
|
51 |
+ |
"type": "string", |
|
52 |
+ |
"default": "proposal/", |
|
53 |
+ |
"description": "Prefix of the local bookmark created when checking out a proposal." |
|
54 |
+ |
}, |
|
55 |
+ |
"oxygenhub.autoRefresh": { |
|
56 |
+ |
"type": "number", |
|
57 |
+ |
"default": 60, |
|
58 |
+ |
"description": "Seconds between view refreshes; 0 disables." |
|
59 |
+ |
} |
| 25 |
60 |
|
} |
| 26 |
61 |
|
}, |
| 27 |
62 |
|
"viewsContainers": { |
| 28 |
|
- |
"activitybar": [{ "id": "oxygenhub", "title": "Oxygenhub", "icon": "assets/images/oxygenhub.svg" }] |
|
63 |
+ |
"activitybar": [ |
|
64 |
+ |
{ |
|
65 |
+ |
"id": "oxygenhub", |
|
66 |
+ |
"title": "Oxygenhub", |
|
67 |
+ |
"icon": "assets/images/oxygenhub.svg" |
|
68 |
+ |
} |
|
69 |
+ |
] |
| 29 |
70 |
|
}, |
| 30 |
71 |
|
"views": { |
| 31 |
72 |
|
"oxygenhub": [ |
| 32 |
|
- |
{ "id": "oxygenhub.proposals", "name": "Proposals" }, |
| 33 |
|
- |
{ "id": "oxygenhub.issues", "name": "Issues" } |
|
73 |
+ |
{ |
|
74 |
+ |
"id": "oxygenhub.proposals", |
|
75 |
+ |
"name": "Proposals" |
|
76 |
+ |
}, |
|
77 |
+ |
{ |
|
78 |
+ |
"id": "oxygenhub.issues", |
|
79 |
+ |
"name": "Issues" |
|
80 |
+ |
} |
| 34 |
81 |
|
] |
| 35 |
82 |
|
}, |
| 36 |
83 |
|
"viewsWelcome": [ |
| 37 |
|
- |
{ "view": "oxygenhub.proposals", "contents": "Sign in to an Oxygenhub to see proposals.\n[Sign in](command:oxygenhub.signIn)" } |
|
84 |
+ |
{ |
|
85 |
+ |
"view": "oxygenhub.proposals", |
|
86 |
+ |
"contents": "Sign in to an Oxygenhub to see proposals.\n[Sign in](command:oxygenhub.signIn)" |
|
87 |
+ |
} |
| 38 |
88 |
|
], |
| 39 |
89 |
|
"commands": [ |
| 40 |
|
- |
{ "command": "oxygenhub.signIn", "title": "Sign in", "category": "Oxygenhub" }, |
| 41 |
|
- |
{ "command": "oxygenhub.signOut", "title": "Sign out", "category": "Oxygenhub" }, |
| 42 |
|
- |
{ "command": "oxygenhub.refresh", "title": "Refresh", "category": "Oxygenhub", "icon": "$(refresh)" }, |
| 43 |
|
- |
{ "command": "oxygenhub.openProposal", "title": "Open Proposal", "category": "Oxygenhub" }, |
| 44 |
|
- |
{ "command": "oxygenhub.openOnHub", "title": "Open on Hub", "category": "Oxygenhub", "icon": "$(link-external)" }, |
| 45 |
|
- |
{ "command": "oxygenhub.checkoutProposal", "title": "Check Out Proposal", "category": "Oxygenhub", "icon": "$(git-branch)" }, |
| 46 |
|
- |
{ "command": "oxygenhub.review", "title": "Review…", "category": "Oxygenhub", "icon": "$(comment-discussion)" }, |
| 47 |
|
- |
{ "command": "oxygenhub.sealApproval", "title": "Seal My Approval (oxy seal --proposal)", "category": "Oxygenhub" }, |
| 48 |
|
- |
{ "command": "oxygenhub.land", "title": "Land Proposal", "category": "Oxygenhub" }, |
| 49 |
|
- |
{ "command": "oxygenhub.closeProposal", "title": "Close Proposal", "category": "Oxygenhub" }, |
| 50 |
|
- |
{ "command": "oxygenhub.createProposal", "title": "Propose Current Bookmark…", "category": "Oxygenhub" }, |
| 51 |
|
- |
{ "command": "oxygenhub.newIssue", "title": "New Issue…", "category": "Oxygenhub", "icon": "$(add)" }, |
| 52 |
|
- |
{ "command": "oxygenhub.openIssue", "title": "Open Issue", "category": "Oxygenhub" }, |
| 53 |
|
- |
{ "command": "oxygenhub.commentIssue", "title": "Comment on Issue…", "category": "Oxygenhub" }, |
| 54 |
|
- |
{ "command": "oxygenhub.closeIssue", "title": "Close Issue", "category": "Oxygenhub" }, |
| 55 |
|
- |
{ "command": "oxygenhub.reopenIssue", "title": "Reopen Issue", "category": "Oxygenhub" }, |
| 56 |
|
- |
{ "command": "oxygenhub.assignMe", "title": "Assign to Me", "category": "Oxygenhub" }, |
| 57 |
|
- |
{ "command": "oxygenhub.newThread", "title": "Start Review Thread", "category": "Oxygenhub" }, |
| 58 |
|
- |
{ "command": "oxygenhub.reply", "title": "Reply", "category": "Oxygenhub" }, |
| 59 |
|
- |
{ "command": "oxygenhub.resolveThread", "title": "Resolve", "category": "Oxygenhub" } |
|
90 |
+ |
{ |
|
91 |
+ |
"command": "oxygenhub.signIn", |
|
92 |
+ |
"title": "Sign in", |
|
93 |
+ |
"category": "Oxygenhub" |
|
94 |
+ |
}, |
|
95 |
+ |
{ |
|
96 |
+ |
"command": "oxygenhub.signOut", |
|
97 |
+ |
"title": "Sign out", |
|
98 |
+ |
"category": "Oxygenhub" |
|
99 |
+ |
}, |
|
100 |
+ |
{ |
|
101 |
+ |
"command": "oxygenhub.refresh", |
|
102 |
+ |
"title": "Refresh", |
|
103 |
+ |
"category": "Oxygenhub", |
|
104 |
+ |
"icon": "$(refresh)" |
|
105 |
+ |
}, |
|
106 |
+ |
{ |
|
107 |
+ |
"command": "oxygenhub.openProposal", |
|
108 |
+ |
"title": "Open Proposal", |
|
109 |
+ |
"category": "Oxygenhub" |
|
110 |
+ |
}, |
|
111 |
+ |
{ |
|
112 |
+ |
"command": "oxygenhub.openOnHub", |
|
113 |
+ |
"title": "Open on Hub", |
|
114 |
+ |
"category": "Oxygenhub", |
|
115 |
+ |
"icon": "$(link-external)" |
|
116 |
+ |
}, |
|
117 |
+ |
{ |
|
118 |
+ |
"command": "oxygenhub.checkoutProposal", |
|
119 |
+ |
"title": "Check Out Proposal", |
|
120 |
+ |
"category": "Oxygenhub", |
|
121 |
+ |
"icon": "$(git-branch)" |
|
122 |
+ |
}, |
|
123 |
+ |
{ |
|
124 |
+ |
"command": "oxygenhub.review", |
|
125 |
+ |
"title": "Review\u2026", |
|
126 |
+ |
"category": "Oxygenhub", |
|
127 |
+ |
"icon": "$(comment-discussion)" |
|
128 |
+ |
}, |
|
129 |
+ |
{ |
|
130 |
+ |
"command": "oxygenhub.sealApproval", |
|
131 |
+ |
"title": "Seal My Approval (oxy seal --proposal)", |
|
132 |
+ |
"category": "Oxygenhub" |
|
133 |
+ |
}, |
|
134 |
+ |
{ |
|
135 |
+ |
"command": "oxygenhub.land", |
|
136 |
+ |
"title": "Land Proposal", |
|
137 |
+ |
"category": "Oxygenhub" |
|
138 |
+ |
}, |
|
139 |
+ |
{ |
|
140 |
+ |
"command": "oxygenhub.closeProposal", |
|
141 |
+ |
"title": "Close Proposal", |
|
142 |
+ |
"category": "Oxygenhub" |
|
143 |
+ |
}, |
|
144 |
+ |
{ |
|
145 |
+ |
"command": "oxygenhub.createProposal", |
|
146 |
+ |
"title": "Propose Current Bookmark\u2026", |
|
147 |
+ |
"category": "Oxygenhub" |
|
148 |
+ |
}, |
|
149 |
+ |
{ |
|
150 |
+ |
"command": "oxygenhub.newIssue", |
|
151 |
+ |
"title": "New Issue\u2026", |
|
152 |
+ |
"category": "Oxygenhub", |
|
153 |
+ |
"icon": "$(add)" |
|
154 |
+ |
}, |
|
155 |
+ |
{ |
|
156 |
+ |
"command": "oxygenhub.openIssue", |
|
157 |
+ |
"title": "Open Issue", |
|
158 |
+ |
"category": "Oxygenhub" |
|
159 |
+ |
}, |
|
160 |
+ |
{ |
|
161 |
+ |
"command": "oxygenhub.commentIssue", |
|
162 |
+ |
"title": "Comment on Issue\u2026", |
|
163 |
+ |
"category": "Oxygenhub" |
|
164 |
+ |
}, |
|
165 |
+ |
{ |
|
166 |
+ |
"command": "oxygenhub.closeIssue", |
|
167 |
+ |
"title": "Close Issue", |
|
168 |
+ |
"category": "Oxygenhub" |
|
169 |
+ |
}, |
|
170 |
+ |
{ |
|
171 |
+ |
"command": "oxygenhub.reopenIssue", |
|
172 |
+ |
"title": "Reopen Issue", |
|
173 |
+ |
"category": "Oxygenhub" |
|
174 |
+ |
}, |
|
175 |
+ |
{ |
|
176 |
+ |
"command": "oxygenhub.assignMe", |
|
177 |
+ |
"title": "Assign to Me", |
|
178 |
+ |
"category": "Oxygenhub" |
|
179 |
+ |
}, |
|
180 |
+ |
{ |
|
181 |
+ |
"command": "oxygenhub.newThread", |
|
182 |
+ |
"title": "Start Review Thread", |
|
183 |
+ |
"category": "Oxygenhub" |
|
184 |
+ |
}, |
|
185 |
+ |
{ |
|
186 |
+ |
"command": "oxygenhub.reply", |
|
187 |
+ |
"title": "Reply", |
|
188 |
+ |
"category": "Oxygenhub" |
|
189 |
+ |
}, |
|
190 |
+ |
{ |
|
191 |
+ |
"command": "oxygenhub.resolveThread", |
|
192 |
+ |
"title": "Resolve", |
|
193 |
+ |
"category": "Oxygenhub" |
|
194 |
+ |
} |
| 60 |
195 |
|
], |
| 61 |
196 |
|
"menus": { |
| 62 |
197 |
|
"view/title": [ |
| 63 |
|
- |
{ "command": "oxygenhub.refresh", "when": "view == oxygenhub.proposals || view == oxygenhub.issues", "group": "navigation" }, |
| 64 |
|
- |
{ "command": "oxygenhub.createProposal", "when": "view == oxygenhub.proposals", "group": "navigation" }, |
| 65 |
|
- |
{ "command": "oxygenhub.newIssue", "when": "view == oxygenhub.issues", "group": "navigation" } |
|
198 |
+ |
{ |
|
199 |
+ |
"command": "oxygenhub.refresh", |
|
200 |
+ |
"when": "view == oxygenhub.proposals || view == oxygenhub.issues", |
|
201 |
+ |
"group": "navigation" |
|
202 |
+ |
}, |
|
203 |
+ |
{ |
|
204 |
+ |
"command": "oxygenhub.createProposal", |
|
205 |
+ |
"when": "view == oxygenhub.proposals", |
|
206 |
+ |
"group": "navigation" |
|
207 |
+ |
}, |
|
208 |
+ |
{ |
|
209 |
+ |
"command": "oxygenhub.newIssue", |
|
210 |
+ |
"when": "view == oxygenhub.issues", |
|
211 |
+ |
"group": "navigation" |
|
212 |
+ |
} |
| 66 |
213 |
|
], |
| 67 |
214 |
|
"view/item/context": [ |
| 68 |
|
- |
{ "command": "oxygenhub.openOnHub", "when": "view == oxygenhub.proposals && viewItem == proposal", "group": "inline" }, |
| 69 |
|
- |
{ "command": "oxygenhub.checkoutProposal", "when": "view == oxygenhub.proposals && viewItem == proposal", "group": "inline" }, |
| 70 |
|
- |
{ "command": "oxygenhub.review", "when": "view == oxygenhub.proposals && viewItem == proposal", "group": "inline" }, |
| 71 |
|
- |
{ "command": "oxygenhub.sealApproval", "when": "view == oxygenhub.proposals && viewItem == proposal", "group": "actions@1" }, |
| 72 |
|
- |
{ "command": "oxygenhub.land", "when": "view == oxygenhub.proposals && viewItem == proposal", "group": "actions@2" }, |
| 73 |
|
- |
{ "command": "oxygenhub.closeProposal", "when": "view == oxygenhub.proposals && viewItem == proposal", "group": "actions@3" }, |
| 74 |
|
- |
{ "command": "oxygenhub.openOnHub", "when": "view == oxygenhub.issues && viewItem == issue", "group": "inline" }, |
| 75 |
|
- |
{ "command": "oxygenhub.commentIssue", "when": "view == oxygenhub.issues && viewItem == issue", "group": "actions@1" }, |
| 76 |
|
- |
{ "command": "oxygenhub.assignMe", "when": "view == oxygenhub.issues && viewItem == issue", "group": "actions@2" }, |
| 77 |
|
- |
{ "command": "oxygenhub.closeIssue", "when": "view == oxygenhub.issues && viewItem == issue", "group": "actions@3" }, |
| 78 |
|
- |
{ "command": "oxygenhub.reopenIssue", "when": "view == oxygenhub.issues && viewItem == issue", "group": "actions@3" } |
|
215 |
+ |
{ |
|
216 |
+ |
"command": "oxygenhub.openOnHub", |
|
217 |
+ |
"when": "view == oxygenhub.proposals && viewItem == proposal", |
|
218 |
+ |
"group": "inline" |
|
219 |
+ |
}, |
|
220 |
+ |
{ |
|
221 |
+ |
"command": "oxygenhub.checkoutProposal", |
|
222 |
+ |
"when": "view == oxygenhub.proposals && viewItem == proposal", |
|
223 |
+ |
"group": "inline" |
|
224 |
+ |
}, |
|
225 |
+ |
{ |
|
226 |
+ |
"command": "oxygenhub.review", |
|
227 |
+ |
"when": "view == oxygenhub.proposals && viewItem == proposal", |
|
228 |
+ |
"group": "inline" |
|
229 |
+ |
}, |
|
230 |
+ |
{ |
|
231 |
+ |
"command": "oxygenhub.sealApproval", |
|
232 |
+ |
"when": "view == oxygenhub.proposals && viewItem == proposal", |
|
233 |
+ |
"group": "actions@1" |
|
234 |
+ |
}, |
|
235 |
+ |
{ |
|
236 |
+ |
"command": "oxygenhub.land", |
|
237 |
+ |
"when": "view == oxygenhub.proposals && viewItem == proposal", |
|
238 |
+ |
"group": "actions@2" |
|
239 |
+ |
}, |
|
240 |
+ |
{ |
|
241 |
+ |
"command": "oxygenhub.closeProposal", |
|
242 |
+ |
"when": "view == oxygenhub.proposals && viewItem == proposal", |
|
243 |
+ |
"group": "actions@3" |
|
244 |
+ |
}, |
|
245 |
+ |
{ |
|
246 |
+ |
"command": "oxygenhub.openOnHub", |
|
247 |
+ |
"when": "view == oxygenhub.issues && viewItem == issue", |
|
248 |
+ |
"group": "inline" |
|
249 |
+ |
}, |
|
250 |
+ |
{ |
|
251 |
+ |
"command": "oxygenhub.commentIssue", |
|
252 |
+ |
"when": "view == oxygenhub.issues && viewItem == issue", |
|
253 |
+ |
"group": "actions@1" |
|
254 |
+ |
}, |
|
255 |
+ |
{ |
|
256 |
+ |
"command": "oxygenhub.assignMe", |
|
257 |
+ |
"when": "view == oxygenhub.issues && viewItem == issue", |
|
258 |
+ |
"group": "actions@2" |
|
259 |
+ |
}, |
|
260 |
+ |
{ |
|
261 |
+ |
"command": "oxygenhub.closeIssue", |
|
262 |
+ |
"when": "view == oxygenhub.issues && viewItem == issue", |
|
263 |
+ |
"group": "actions@3" |
|
264 |
+ |
}, |
|
265 |
+ |
{ |
|
266 |
+ |
"command": "oxygenhub.reopenIssue", |
|
267 |
+ |
"when": "view == oxygenhub.issues && viewItem == issue", |
|
268 |
+ |
"group": "actions@3" |
|
269 |
+ |
} |
| 79 |
270 |
|
], |
| 80 |
271 |
|
"comments/commentThread/context": [ |
| 81 |
|
- |
{ "command": "oxygenhub.reply", "when": "commentController == oxygenhub", "group": "inline" }, |
| 82 |
|
- |
{ "command": "oxygenhub.newThread", "when": "commentController == oxygenhub && commentThreadIsEmpty", "group": "inline" } |
|
272 |
+ |
{ |
|
273 |
+ |
"command": "oxygenhub.reply", |
|
274 |
+ |
"when": "commentController == oxygenhub", |
|
275 |
+ |
"group": "inline" |
|
276 |
+ |
}, |
|
277 |
+ |
{ |
|
278 |
+ |
"command": "oxygenhub.newThread", |
|
279 |
+ |
"when": "commentController == oxygenhub && commentThreadIsEmpty", |
|
280 |
+ |
"group": "inline" |
|
281 |
+ |
} |
| 83 |
282 |
|
], |
| 84 |
283 |
|
"comments/commentThread/title": [ |
| 85 |
|
- |
{ "command": "oxygenhub.resolveThread", "when": "commentController == oxygenhub", "group": "navigation" } |
|
284 |
+ |
{ |
|
285 |
+ |
"command": "oxygenhub.resolveThread", |
|
286 |
+ |
"when": "commentController == oxygenhub", |
|
287 |
+ |
"group": "navigation" |
|
288 |
+ |
} |
| 86 |
289 |
|
] |
| 87 |
290 |
|
} |
| 88 |
291 |
|
}, |
|
|
… |
18 unchanged lines |