Skip to content

Commit

Permalink
v3.3.1
Browse files Browse the repository at this point in the history
  • Loading branch information
keesschollaart81 committed Oct 14, 2018
1 parent 7ac97c0 commit 03075f3
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 30 deletions.
5 changes: 5 additions & 0 deletions Marketplace.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,10 @@ After setting the goal, the goal will be shown in the tab-label on every page wi

## Release notes

### Version 3.3 - 14-10-2018

- Solved [#12](https://github.com/keesschollaart81/vsts-sprint-goal/issues/12) and [#13](https://github.com/keesschollaart81/vsts-sprint-goal/issues/13)

### Version 3.0 - 01-03-2018

- Added Widget
Expand All @@ -33,6 +37,7 @@ Initial Release
## Known Bugs

- First time someone (else) loads the sprint page, the sprint goal is not shown in the tab label.
- New navigation (summer '18) does not refresh the pages when switching team/sprint. Tab does not get updated.

## Privacy

Expand Down
4 changes: 0 additions & 4 deletions src/sprint-goal.ts
Original file line number Diff line number Diff line change
@@ -1,12 +1,8 @@
import Extension_Data = require("VSS/SDK/Services/ExtensionData");
import Q = require("q");
import VSS_Service = require("VSS/Service");
import TFS_Build_Contracts = require("TFS/Build/Contracts");
import TFS_Build_Extension_Contracts = require("TFS/Build/ExtensionContracts");
import Controls = require("VSS/Controls");
import Menus = require("VSS/Controls/Menus");
import StatusIndicator = require("VSS/Controls/StatusIndicator");
import sg = require("./SprintGoalApplicationInsightsWrapper");

export class SprintGoal {
private iterationId: string;
Expand Down
15 changes: 0 additions & 15 deletions src/widget.ts
Original file line number Diff line number Diff line change
@@ -1,8 +1,5 @@
import moment = require("moment-timezone");
import TFS_Core_Contracts = require("TFS/Core/Contracts");
import Work_Contracts = require("TFS/Work/Contracts");
import Work_Client = require("TFS/Work/RestClient");
import System_Contracts = require("VSS/Common/Contracts/System");
import Service = require("VSS/Service");
import WebApi_Constants = require("VSS/WebApi/Constants");
import { WidgetSettings } from "TFS/Dashboards/WidgetContracts";
Expand Down Expand Up @@ -69,7 +66,6 @@ export class SprintGoalWidget {

return workClient.getTeamIterations(teamContext, "current").then((teamIterations) => {
var iterationId = teamIterations[0].id;
var configIdentifier = iterationId;
var configIdentifierWithTeam = this.getConfigKey(iterationId, teamId);

return this.fetchSettingsFromExtensionDataService(configIdentifierWithTeam).then((teamGoal: SprintGoalDto) => {
Expand All @@ -78,17 +74,6 @@ export class SprintGoalWidget {
if (teamGoal) {
return this.display(title, teamGoal.goal, widgetSettings.size.columnSpan, settings)
}
else {
// fallback, also for backward compatibility: project/iteration level settings
return this.fetchSettingsFromExtensionDataService(configIdentifier).then((iterationGoal) => {
if (iterationGoal) {
return this.display(title, iterationGoal.goal, widgetSettings.size.columnSpan, settings)
}
else {
return this.display(title, "No sprint goal yet", widgetSettings.size.columnSpan, settings)
}
});
}
});
});
});
Expand Down
10 changes: 0 additions & 10 deletions src/widgetconfig.ts
Original file line number Diff line number Diff line change
@@ -1,15 +1,5 @@
import jscolor = require("jscolor-picker/jscolor");
import moment = require("moment-timezone");
import TFS_Core_Contracts = require("TFS/Core/Contracts");
import Work_Contracts = require("TFS/Work/Contracts");
import Work_Client = require("TFS/Work/RestClient");
import System_Contracts = require("VSS/Common/Contracts/System");
import Service = require("VSS/Service");
import WebApi_Constants = require("VSS/WebApi/Constants");
import { WidgetSettings, IWidgetConfigurationContext, IWidgetConfiguration } from "TFS/Dashboards/WidgetContracts";
import Extension_Data = require("VSS/SDK/Services/ExtensionData");
import { SprintGoalWidgetSettings } from "./settings";
// import ais = require("./SprintGoalApplicationInsightsWrapper");
import { SprintGoalApplicationInsightsWrapper } from "./SprintGoalApplicationInsightsWrapper";

VSS.require(["TFS/Dashboards/WidgetHelpers"], function (WidgetHelpers) {
Expand Down
2 changes: 1 addition & 1 deletion vss-extension.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"manifestVersion": 1,
"id": "sprint-goal",
"name": "Sprint Goal",
"version": "3.3.0",
"version": "3.3.1",
"publisher": "keesschollaart",
"public": true,
"helpMarkDown": "[More Information](https://github.com/keesschollaart81/vsts-sprint-goal)",
Expand Down

0 comments on commit 03075f3

Please sign in to comment.