From 2b413df59a41b11c90dfe2dec9b767cbe535f691 Mon Sep 17 00:00:00 2001 From: Sandeep Somavarapu Date: Wed, 29 Jul 2020 11:41:44 +0200 Subject: [PATCH] show simple notification when switched to insiders service --- .../contrib/userDataSync/browser/userDataSync.ts | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/src/vs/workbench/contrib/userDataSync/browser/userDataSync.ts b/src/vs/workbench/contrib/userDataSync/browser/userDataSync.ts index 4e430d7a11a..d3307117fd6 100644 --- a/src/vs/workbench/contrib/userDataSync/browser/userDataSync.ts +++ b/src/vs/workbench/contrib/userDataSync/browser/userDataSync.ts @@ -321,6 +321,14 @@ export class UserDataSyncWorkbenchContribution extends Disposable implements IWo } }); return; + case UserDataSyncErrorCode.DefaultServiceChanged: + if (isEqual(this.userDataSyncStoreManagementService.userDataSyncStore?.url, this.userDataSyncStoreManagementService.userDataSyncStore?.insidersUrl)) { + this.notificationService.notify({ + severity: Severity.Info, + message: localize('switched to insiders', "Settings sync is using insiders service now. Please check the [Release Notes](command:update.showCurrentReleaseNotes) for more information"), + }); + } + return; } } -- GitLab