Add teaching bubbles for mongo quickstart (#1313)

This commit is contained in:
victor-meng
2022-08-03 13:54:01 -07:00
committed by GitHub
parent c2673ec707
commit d0c2f72ed3
11 changed files with 235 additions and 13 deletions

View File

@@ -190,11 +190,8 @@ export class SplashScreen extends React.Component<SplashScreenProps> {
iconSrc: QuickStartIcon,
title: "Launch quick start",
description: "Launch a quick start tutorial to get started with sample data",
showLinkIcon: userContext.apiType === "Mongo",
onClick: () => {
userContext.apiType === "Mongo"
? window.open("http://aka.ms/mongodbquickstart", "_blank")
: this.container.onNewCollectionClicked({ isQuickstart: true });
this.container.onNewCollectionClicked({ isQuickstart: true });
traceOpen(Action.LaunchQuickstart, { apiType: userContext.apiType });
},
};