From e2004c516e7eb671e1d927538be43cddb0177598 Mon Sep 17 00:00:00 2001 From: Amin Titi Date: Tue, 28 Feb 2023 09:42:13 +0100 Subject: [PATCH 1/6] Team-calendar --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 87c1e34..03a3f08 100644 --- a/package.json +++ b/package.json @@ -1,5 +1,5 @@ { - "name": "vso-team-calendar", + "name": "vso-team-c-calanderralendar", "version": "2.0.0", "description": "Track events important to your team, view and manage days off, quickly see when sprints start and end, and more.", "keywords": [ From f8df026b6204de9a4056e928d8e39c850c2c63c5 Mon Sep 17 00:00:00 2001 From: Amin Titi Date: Tue, 28 Feb 2023 09:54:21 +0100 Subject: [PATCH 2/6] yml changes --- azure-pipelines.yml | 4 ++-- package.json | 4 +++- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/azure-pipelines.yml b/azure-pipelines.yml index 1a7de1e..04480d8 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -4,13 +4,13 @@ jobs: - job: Linux pool: - vmImage: 'ubuntu-16.04' + vmImage: 'windows-latest' steps: - template: azure-pipelines-steps.yml - job: Windows pool: - vmImage: 'vs2017-win2016' + vmImage: 'ubuntu-latest' steps: - template: azure-pipelines-steps.yml \ No newline at end of file diff --git a/package.json b/package.json index 03a3f08..bbbb65d 100644 --- a/package.json +++ b/package.json @@ -1,5 +1,7 @@ + { - "name": "vso-team-c-calanderralendar", + + "name": "vsts-teams-calendar", "version": "2.0.0", "description": "Track events important to your team, view and manage days off, quickly see when sprints start and end, and more.", "keywords": [ From 78bbbcd7b05af35b3367c0289fb099899eb529dc Mon Sep 17 00:00:00 2001 From: Mathias Olausson Date: Sun, 5 Mar 2023 15:53:44 +0100 Subject: [PATCH 3/6] Adding package artifacts step --- azure-devops-extension.json | 2 +- azure-pipelines-steps.yml | 8 ++++++++ 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/azure-devops-extension.json b/azure-devops-extension.json index 2072246..cf32d38 100644 --- a/azure-devops-extension.json +++ b/azure-devops-extension.json @@ -2,7 +2,7 @@ "manifestVersion": 1, "id": "team-calendar", "publisher": "ms-devlabs", - "version": "2.0.16", + "version": "2.0.21", "name": "Team Calendar", "description": "Track events important to your team, view and manage days off, quickly see when sprints start and end, and more.", "public": true, diff --git a/azure-pipelines-steps.yml b/azure-pipelines-steps.yml index 3368818..71c6aaa 100644 --- a/azure-pipelines-steps.yml +++ b/azure-pipelines-steps.yml @@ -11,3 +11,11 @@ steps: - script: | npm run build displayName: 'Compile and package' + +- task: CopyFiles@2 + inputs: + contents: '*.vsix' + targetFolder: $(Build.ArtifactStagingDirectory) + +- publish: '$(Build.ArtifactStagingDirectory)' + artifact: drop \ No newline at end of file From df3e2d5908cc4b192b9e84394a121857ec939e54 Mon Sep 17 00:00:00 2001 From: Mathias Olausson Date: Mon, 6 Mar 2023 08:26:35 +0100 Subject: [PATCH 4/6] Updated version and build target for prod release --- azure-devops-extension.json | 2 +- azure-pipelines.yml | 8 +------- 2 files changed, 2 insertions(+), 8 deletions(-) diff --git a/azure-devops-extension.json b/azure-devops-extension.json index cf32d38..db1b099 100644 --- a/azure-devops-extension.json +++ b/azure-devops-extension.json @@ -2,7 +2,7 @@ "manifestVersion": 1, "id": "team-calendar", "publisher": "ms-devlabs", - "version": "2.0.21", + "version": "2.0.22", "name": "Team Calendar", "description": "Track events important to your team, view and manage days off, quickly see when sprints start and end, and more.", "public": true, diff --git a/azure-pipelines.yml b/azure-pipelines.yml index 04480d8..8374038 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -2,15 +2,9 @@ # To learn more about Azure Pipelines: https://aka.ms/learn-azure-pipelines jobs: -- job: Linux - pool: - vmImage: 'windows-latest' - steps: - - template: azure-pipelines-steps.yml - - job: Windows pool: - vmImage: 'ubuntu-latest' + vmImage: 'windows-latest' steps: - template: azure-pipelines-steps.yml \ No newline at end of file From 7cfeddb7b39a1870e3a88abdeccbb1884399dbad Mon Sep 17 00:00:00 2001 From: Mathias Olausson Date: Mon, 6 Mar 2023 08:53:34 +0100 Subject: [PATCH 5/6] Update azure-devops-extension.json --- azure-devops-extension.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/azure-devops-extension.json b/azure-devops-extension.json index db1b099..cf32d38 100644 --- a/azure-devops-extension.json +++ b/azure-devops-extension.json @@ -2,7 +2,7 @@ "manifestVersion": 1, "id": "team-calendar", "publisher": "ms-devlabs", - "version": "2.0.22", + "version": "2.0.21", "name": "Team Calendar", "description": "Track events important to your team, view and manage days off, quickly see when sprints start and end, and more.", "public": true, From 2e9bb293acf43fa64880b5cc4eab266f5195fa39 Mon Sep 17 00:00:00 2001 From: AminTi Date: Thu, 11 Apr 2024 02:44:49 +0200 Subject: [PATCH 6/6] azure-devops--onprem-2019 --- azure-devops-extension.json | 2 +- src/Calendar.tsx | 8 +++++++- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/azure-devops-extension.json b/azure-devops-extension.json index cf32d38..db1b099 100644 --- a/azure-devops-extension.json +++ b/azure-devops-extension.json @@ -2,7 +2,7 @@ "manifestVersion": 1, "id": "team-calendar", "publisher": "ms-devlabs", - "version": "2.0.21", + "version": "2.0.22", "name": "Team Calendar", "description": "Track events important to your team, view and manage days off, quickly see when sprints start and end, and more.", "public": true, diff --git a/src/Calendar.tsx b/src/Calendar.tsx index cf91773..9703fcb 100644 --- a/src/Calendar.tsx +++ b/src/Calendar.tsx @@ -407,7 +407,13 @@ class ExtensionContent extends React.Component { } this.hostUrl = await locationService.getServiceLocation(); - this.selectedTeamName = (await client.getTeam(project.id, selectedTeamId)).name; + try { + this.selectedTeamName = (await client.getTeam(project.id, selectedTeamId)).name; + } catch (error) { + console.error(`Failed to get team with ID ${selectedTeamId}: ${error}`); + + + } this.freeFormEventSource.initialize(selectedTeamId, this.dataManager); this.vsoCapacityEventSource.initialize(project.id, this.projectName, selectedTeamId, this.selectedTeamName, this.hostUrl); this.displayCalendar.value = true;