Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 2 additions & 3 deletions linked-wiki-pages/js/viewModel.js
Original file line number Diff line number Diff line change
Expand Up @@ -76,8 +76,7 @@ function getViewModel(model, artifactsServices, artifactsConstants) {
pageSegments.push(segments[i]);
}

var pagePathEncoded = pageSegments
.join("/")
var pagePathEncoded = encodeURIComponent(pageSegments.join("/"))
// replace all " " with "+"
.split(" ").join("+");

Expand Down Expand Up @@ -107,4 +106,4 @@ function getViewModel(model, artifactsServices, artifactsConstants) {
};

return viewModel;
}
}
8 changes: 2 additions & 6 deletions linked-wiki-pages/linked-wiki-pages.html
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,8 @@
VSS.init({
explicitNotifyLoaded: true,
usePlatformScripts: true,
usePlatformStyles: true
usePlatformStyles: true,
applyTheme: true
});

var module = function(workItemsTrackingServices, artifactsServices, artifactsConstants) {
Expand All @@ -32,11 +33,6 @@
viewModel.reload();
},

// called when the active work item is modified
onFieldChanged: function(args) {
viewModel.reload();
},

// called after the work item has been saved
onSaved: function (args) {
viewModel.reload();
Expand Down
2 changes: 1 addition & 1 deletion linked-wiki-pages/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "link-work-to-wiki",
"version": "0.1.32",
"version": "0.1.33",
"author": "Anton Boyko",
"license": "MIT",
"dependencies": {
Expand Down
4 changes: 2 additions & 2 deletions linked-wiki-pages/vss-extension.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"manifestVersion": 1.0,
"id": "linked-wiki-pages",
"version": "0.1.32",
"version": "0.1.33",
"name": "Linked Wiki pages",
"description": "Displays the list of all Wiki pages linked to current Work Item.",
"publisher": "boykoant",
Expand Down Expand Up @@ -33,7 +33,7 @@
}
],
"categories": [
"Plan and track"
"Azure Boards"
],
"tags": [
"wiki"
Expand Down