File tree 5 files changed +41
-2
lines changed
5 files changed +41
-2
lines changed Original file line number Diff line number Diff line change 1
1
{
2
2
"manifestVersion" : 1 ,
3
3
"id" : " samples" ,
4
- "publisher" : " ms-samples " ,
5
- "version" : " 1.0.396 " ,
4
+ "publisher" : " DanHellem " ,
5
+ "version" : " 1.0.402 " ,
6
6
"name" : " Extension Sample" ,
7
7
"description" : " Azure DevOps extension sample" ,
8
8
"categories" : [
Original file line number Diff line number Diff line change
1
+ <!DOCTYPE html>
2
+ < html xmlns ="http://www.w3.org/1999/xhtml ">
3
+ < body >
4
+ < script type ="text/javascript " src ="backlog-item-menu.js " charset ="utf-8 "> </ script >
5
+ </ body >
6
+ </ html >
Original file line number Diff line number Diff line change
1
+ {
2
+ "contributions" : [
3
+ {
4
+ "id" : " backlog-item-menu" ,
5
+ "type" : " ms.vss-web.action" ,
6
+ "targets" : [
7
+ " ms.vss-work-web.backlog-item-menu"
8
+ ],
9
+ "properties" : {
10
+ "text" : " Custom backlog item action" ,
11
+ "uri" : " dist/backlog-item-menu/backlog-item-menu.html" ,
12
+ "icon" : {
13
+ "light" : " static/asterisk.png" ,
14
+ "dark" : " static/asterisk.png"
15
+ },
16
+ "registeredObjectId" : " sample-backlog-item-menu"
17
+ }
18
+ }
19
+ ]
20
+ }
Original file line number Diff line number Diff line change
1
+ import "es6-promise/auto" ;
2
+ import * as SDK from "azure-devops-extension-sdk" ;
3
+
4
+ SDK . register ( "sample-backlog-item-menu" , ( ) => {
5
+ return {
6
+ execute : async ( context : any ) => {
7
+ alert ( "Hello, world" ) ;
8
+ console . log ( context ) ;
9
+ }
10
+ }
11
+ } ) ;
12
+
13
+ SDK . init ( ) ;
You can’t perform that action at this time.
0 commit comments