@@ -8,18 +8,18 @@ RETURNS STRING AS (
8
8
WHEN res IN (' rs_amo' , ' rust_amo' )
9
9
THEN ' suggest_add_on'
10
10
WHEN res IN (' search_suggest' , ' search_history' , ' search_suggest_rich' )
11
- THEN ' default_partner_search_suggestion'
11
+ THEN res -- previously 'default_partner_search_suggestion'
12
12
WHEN res IN (' search_engine' )
13
13
THEN ' search_engine'
14
- WHEN res IN (' rust_yelp' , ' ml_yelp' )
14
+ WHEN res IN (' rust_yelp' , ' ml_yelp' , ' merino_yelp ' )
15
15
THEN ' yelp_suggestion'
16
16
WHEN res IN (' rust_fakespot_amazon' , ' rust_fakespot_bestbuy' , ' rust_fakespot_walmart' )
17
17
THEN ' fakespot_suggest'
18
18
WHEN res IN (' trending_search' , ' trending_search_rich' )
19
19
THEN ' trending_suggestion'
20
20
WHEN res IN (' history' )
21
21
THEN ' history'
22
- WHEN res IN (' bookmark' , ' keyword' )
22
+ WHEN res IN (' bookmark' , ' keyword' , ' restrict_keyword_bookmarks ' )
23
23
THEN ' bookmark'
24
24
WHEN res IN (' tab' )
25
25
THEN ' open_tab'
@@ -41,7 +41,7 @@ RETURNS STRING AS (
41
41
THEN ' wikipedia_enhanced'
42
42
WHEN res IN (' dynamic_wikipedia' , ' merino_wikipedia' )
43
43
THEN ' wikipedia_dynamic'
44
- WHEN res IN (' weather' )
44
+ WHEN res IN (' weather' , ' merino_weather ' )
45
45
THEN ' weather'
46
46
WHEN res IN (
47
47
' action' ,
@@ -55,6 +55,47 @@ RETURNS STRING AS (
55
55
THEN ' pocket_collection'
56
56
WHEN res IN (' rs_mdn' , ' rust_mdn' )
57
57
THEN ' mdn'
58
+ WHEN res IN (' rust_vpn' )
59
+ THEN ' vpn'
60
+ WHEN res IN (' remote_tab' )
61
+ THEN ' tabs'
62
+ WHEN res IN (' calc' )
63
+ THEN ' calculator'
64
+ WHEN res IN (' tip_onboard' , ' tip_redirect' , ' tip_persist' )
65
+ THEN ' tip'
66
+ WHEN res IN (' autofill_about' )
67
+ THEN ' about_autofill'
68
+ WHEN res IN (' autofill_adaptive' )
69
+ THEN ' adaptive_autofill'
70
+ WHEN res IN (' unit' )
71
+ THEN ' unit_converter'
72
+ WHEN res IN (' fxsuggest_data_sharing_opt_in' )
73
+ THEN ' online_suggest_opt_in'
74
+ WHEN res IN (' merino_polygon' )
75
+ THEN ' merino_market_opt_in'
76
+ WHEN res IN (' tab_serp' )
77
+ THEN ' open_tab_to_serp'
78
+ WHEN res IN (
79
+ ' top_site' ,
80
+ ' recent_search' ,
81
+ ' history_serp' ,
82
+ ' history_semantic' ,
83
+ ' history_semantic_serp' ,
84
+ ' url' ,
85
+ ' tab_to_search' ,
86
+ ' tab_semantic' ,
87
+ ' tab_semantic_serp' ,
88
+ ' clipboard' ,
89
+ ' restrict_keyword_history' ,
90
+ ' restrict_keyword_tabs' ,
91
+ ' restrict_keyword_actions' ,
92
+ ' merino_market' ,
93
+ ' merino_sports' ,
94
+ ' merino_flights'
95
+ )
96
+ THEN res
97
+ WHEN res LIKE (' %opt_in' )
98
+ THEN res
58
99
ELSE ' other'
59
100
END
60
101
);
0 commit comments