File tree Expand file tree Collapse file tree 3 files changed +8
-0
lines changed Expand file tree Collapse file tree 3 files changed +8
-0
lines changed Original file line number Diff line number Diff line change @@ -77,9 +77,11 @@ export enum OAuthSocialSource {
77
77
export enum CloudSsoUtmCampaign {
78
78
ListOfDatabases = 'list_of_databases' ,
79
79
Workbench = 'redisinsight_workbench' ,
80
+ WelcomeScreen = 'welcome_screen' ,
80
81
BrowserSearch = 'redisinsight_browser_search' ,
81
82
BrowserOverview = 'redisinsight_browser_overview' ,
82
83
BrowserFilter = 'browser_filter' ,
83
84
GuidesAndTutorials = 'redisinsight_doc_guide' ,
85
+ TriggersAndFunctions = 'redisinsight_triggers_and_functions' ,
84
86
Unknown = 'other' ,
85
87
}
Original file line number Diff line number Diff line change @@ -18,6 +18,10 @@ export const getCloudSsoUtmCampaign = (source?: string | null): CloudSsoUtmCampa
18
18
return CloudSsoUtmCampaign . BrowserOverview
19
19
case OAuthSocialSource . BrowserFiltering :
20
20
return CloudSsoUtmCampaign . BrowserFilter
21
+ case OAuthSocialSource . WelcomeScreen :
22
+ return CloudSsoUtmCampaign . WelcomeScreen
23
+ case OAuthSocialSource . TriggersAndFunctions :
24
+ return CloudSsoUtmCampaign . TriggersAndFunctions
21
25
// todo: not implemented yet
22
26
// case OAuthSocialSource.Guides:
23
27
// return CloudSsoUtmCampaign.GuidesAndTutorials
Original file line number Diff line number Diff line change @@ -12,6 +12,8 @@ const getCloudSsoUtmCampaignTestCases = [
12
12
[ OAuthSocialSource [ 'triggers and functions' ] , CloudSsoUtmCampaign . Workbench ] ,
13
13
[ OAuthSocialSource . BrowserContentMenu , CloudSsoUtmCampaign . BrowserOverview ] ,
14
14
[ OAuthSocialSource . BrowserFiltering , CloudSsoUtmCampaign . BrowserFilter ] ,
15
+ [ OAuthSocialSource . WelcomeScreen , CloudSsoUtmCampaign . WelcomeScreen ] ,
16
+ [ OAuthSocialSource . TriggersAndFunctions , CloudSsoUtmCampaign . TriggersAndFunctions ] ,
15
17
[ null , CloudSsoUtmCampaign . Unknown ] ,
16
18
[ undefined , CloudSsoUtmCampaign . Unknown ] ,
17
19
]
You can’t perform that action at this time.
0 commit comments