9 description: The homescreen that the user goes to when they press home or new tab.
12 description: "This property provides a lookup table of whether or not the given section should be enabled.
13 If the section is enabled, it should be toggleable in the settings screen, and on by default."
14 type: Map<HomeScreenSection, Boolean>
19 "recently-saved": true,
20 "recent-explorations": true,
22 "contile-top-sites": false,
30 "recently-saved": true,
31 "recent-explorations": true,
33 "contile-top-sites": false,
37 description: The onboarding features displayed on homescreen.
40 description: "This property provides a lookup table of whether or not the given section should be enabled."
41 type: Map<OnboardingSection, Boolean>
63 description: "A feature that does not correspond to an application feature suitable for showing
64 that Nimbus is working. This should never be used in production."
67 description: The title of displayed in the Settings screen and app menu.
69 default: browser_menu_settings
71 description: The emoji displayed in the Settings screen title.
75 description: The drawable displayed in the app menu for Settings
77 default: mozac_ic_settings
79 description: A feature allowing the grouping of URLs around the search term that it came from.
82 description: If true, the feature shows up on the homescreen and on the new tab screen.
94 Configuration for the messaging system.
96 In practice this is a set of growable lookup tables for the
97 message controller to piece together.
100 message-under-experiment:
101 description: Id or prefix of the message under experiment.
106 description: A growable collection of messages
107 type: Map<String, MessageData>
112 A collection of out the box trigger
113 expressions. Each entry maps to a
114 valid JEXL expression.
115 type: Map<String, String>
119 A map of styles to configure message
121 type: Map<String, StyleData>
125 type: Map<String, String>
126 description: A growable map of action URLs.
129 type: ControlMessageBehavior
130 description: What should be displayed when a control message is selected.
131 default: show-next-message
135 USER_RECENTLY_INSTALLED: days_since_install < 7
136 USER_RECENTLY_UPDATED: days_since_update < 7 && days_since_install != days_since_update
137 USER_TIER_ONE_COUNTRY: ('US' in locale || 'GB' in locale || 'CA' in locale || 'DE' in locale || 'FR' in locale)
138 USER_EN_SPEAKER: "'en' in locale"
139 USER_DE_SPEAKER: "'de' in locale"
140 USER_FR_SPEAKER: "'fr' in locale"
141 DEVICE_ANDROID: os == 'Android'
142 DEVICE_IOS: os == 'iOS'
145 I_AM_DEFAULT_BROWSER: "is_default_browser_string == 'true'"
146 I_AM_NOT_DEFAULT_BROWSER: "is_default_browser_string == 'false'"
147 USER_ESTABLISHED_INSTALL: "number_of_app_launches >=4"
149 ENABLE_PRIVATE_BROWSING: ://enable_private_browsing
150 INSTALL_SEARCH_WIDGET: ://install_search_widget
151 MAKE_DEFAULT_BROWSER: ://make_default_browser
152 VIEW_BOOKMARKS: ://urls_bookmarks
153 VIEW_COLLECTIONS: ://home_collections
154 VIEW_HISTORY: ://urls_history
155 VIEW_HOMESCREEN: ://home
156 OPEN_SETTINGS_ACCESSIBILITY: ://settings_accessibility
157 OPEN_SETTINGS_ADDON_MANAGER: ://settings_addon_manager
158 OPEN_SETTINGS_DELETE_BROWSING_DATA: ://settings_delete_browsing_data
159 OPEN_SETTINGS_LOGINS: ://settings_logins
160 OPEN_SETTINGS_NOTIFICATIONS: ://settings_notifications
161 OPEN_SETTINGS_PRIVACY: ://settings_privacy
162 OPEN_SETTINGS_SEARCH_ENGINE: ://settings_search_engine
163 OPEN_SETTINGS_TRACKING_PROTECTION: ://settings_tracking_protection
164 OPEN_SETTINGS_WALLPAPERS: ://settings_wallpapers
165 OPEN_SETTINGS: ://settings
166 TURN_ON_SYNC: ://turn_on_sync
173 max-display-count: 10
176 max-display-count: 20
179 max-display-count: 10
182 max-display-count: 10
185 text: default_browser_experiment_card_text
186 action: "MAKE_DEFAULT_BROWSER"
187 trigger: [ "I_AM_NOT_DEFAULT_BROWSER","USER_ESTABLISHED_INSTALL" ]
189 button-label: preferences_set_as_default_browser
196 max-display-count: 100
202 description: A feature allowing user to easily search for specified results directly in the search bar.
205 description: If true, the feature shows up in the search bar.
213 pocket-sponsored-stories:
214 description: A feature showing sponsored stories in between the other Pocket recommended stories on homescreen.
217 description: If true, the Pocket stories shown on homescreen should contain sponsored stories also.
226 description: Contains a set of settings for controlling the web engine configurations.
228 tabs-prioritization-enabled:
229 description: If true, enables tabs prioritization feature.
232 total-cookie-protection-enabled:
233 description: If true, enables the total cookie protection in all browsing modes.
240 An object to describe a message. It uses human
241 readable strings to describe the triggers, action and
242 style of the message as well as the text of the message
248 A URL of a page or a deeplink.
249 This may have substitution variables in.
250 # This should never be defaulted.
251 default: empty_string
254 description: "The title text displayed to the user"
258 description: "The message text displayed to the user"
259 # This should never be defaulted.
260 default: empty_string
263 description: "Indicates if this message is the control message, if true shouldn't be displayed"
268 The text on the button. If no text
269 is present, the whole message is clickable.
274 The style as described in a
275 `StyleData` from the styles table.
280 A list of strings corresponding to
281 targeting expressions. The message will be
282 shown if all expressions `true`.
286 A group of properities (predominantly visual) to
287 describe the style of the message.
292 The importance of this message.
293 0 is not very important, 100 is very important.
298 How many sessions will this message be shown to the user
299 before it is expired.
303 ControlMessageBehavior:
304 description: An enum to influence what should be displayed when a control message is selected.
307 description: The next eligible message should be shown.
309 description: The surface should show no message.
311 description: The identifiers for the sections of the homescreen.
314 description: The frecency and pinned sites.
316 description: The sites the user has bookmarked recently.
318 description: The tabs the user was looking immediately before being interrupted.
320 description: The tab groups
322 description: The pocket section. This should only be available in the US.
324 description: The sponsored shortcuts in the homescreen.
326 description: The identity of a message surface, used in the default browser experiments
329 description: An item in the default toolbar menu.
331 description: A setting in the settings screen.
333 description: A banner in the homescreen.
335 description: The identifiers for the sections of the onboarding.
338 description: Sync onboarding CFR.
340 description: Wallpapers onboarding dialog.