2022-01-28 12:48:05 +00:00
|
|
|
---
|
|
|
|
channels:
|
|
|
|
- release
|
|
|
|
- beta
|
|
|
|
- nightly
|
|
|
|
- developer
|
|
|
|
features:
|
|
|
|
homescreen:
|
|
|
|
description: The homescreen that the user goes to when they press home or new tab.
|
|
|
|
variables:
|
|
|
|
sections-enabled:
|
|
|
|
description: "This property provides a lookup table of whether or not the given section should be enabled.
|
|
|
|
If the section is enabled, it should be toggleable in the settings screen, and on by default."
|
|
|
|
type: Map<HomeScreenSection, Boolean>
|
|
|
|
default:
|
|
|
|
{
|
|
|
|
"top-sites": true,
|
|
|
|
"jump-back-in": true,
|
|
|
|
"recently-saved": true,
|
|
|
|
"recent-explorations": true,
|
2022-02-25 21:01:36 +00:00
|
|
|
"pocket": true,
|
2022-08-10 15:55:55 +00:00
|
|
|
"pocket-sponsored-stories": false,
|
2022-01-28 12:48:05 +00:00
|
|
|
}
|
|
|
|
defaults:
|
|
|
|
- channel: nightly
|
|
|
|
value: {
|
|
|
|
"sections-enabled": {
|
|
|
|
"top-sites": true,
|
|
|
|
"jump-back-in": true,
|
|
|
|
"recently-saved": true,
|
|
|
|
"recent-explorations": true,
|
2022-02-25 21:01:36 +00:00
|
|
|
"pocket": true,
|
2022-01-28 12:48:05 +00:00
|
|
|
}
|
|
|
|
}
|
2022-08-10 15:55:55 +00:00
|
|
|
- channel: developer
|
|
|
|
value: {
|
|
|
|
"sections-enabled": {
|
|
|
|
"pocket-sponsored-stories": true,
|
|
|
|
}
|
|
|
|
}
|
2022-08-03 20:03:26 +00:00
|
|
|
onboarding:
|
2022-08-15 18:00:02 +00:00
|
|
|
description: The onboarding features displayed on homescreen.
|
2022-08-03 20:03:26 +00:00
|
|
|
variables:
|
|
|
|
sections-enabled:
|
|
|
|
description: "This property provides a lookup table of whether or not the given section should be enabled."
|
|
|
|
type: Map<OnboardingSection, Boolean>
|
|
|
|
default:
|
|
|
|
{
|
2022-08-15 22:44:33 +00:00
|
|
|
"sync-cfr": false,
|
2022-08-18 17:29:27 +00:00
|
|
|
"wallpapers": false,
|
|
|
|
"home-onboarding-dialog": false,
|
2022-08-19 15:26:13 +00:00
|
|
|
"jump-back-in-cfr": false,
|
|
|
|
"first-run-onboarding": false,
|
2022-08-03 20:03:26 +00:00
|
|
|
}
|
|
|
|
defaults:
|
|
|
|
- channel: nightly
|
|
|
|
value: {
|
|
|
|
"sections-enabled": {
|
2022-08-15 22:44:33 +00:00
|
|
|
"sync-cfr": false,
|
2022-08-18 17:29:27 +00:00
|
|
|
"wallpapers": false,
|
|
|
|
"home-onboarding-dialog": false,
|
2022-08-19 15:26:13 +00:00
|
|
|
"jump-back-in-cfr": false,
|
|
|
|
"first-run-onboarding": false,
|
2022-08-15 22:44:33 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
- channel: developer
|
|
|
|
value: {
|
|
|
|
"sections-enabled": {
|
|
|
|
"sync-cfr": false,
|
2022-08-18 17:29:27 +00:00
|
|
|
"wallpapers": true,
|
|
|
|
"home-onboarding-dialog": false,
|
2022-08-19 15:26:13 +00:00
|
|
|
"jump-back-in-cfr": false,
|
|
|
|
"first-run-onboarding": false,
|
2022-08-03 20:03:26 +00:00
|
|
|
}
|
|
|
|
}
|
2022-01-28 12:48:05 +00:00
|
|
|
nimbus-validation:
|
|
|
|
description: "A feature that does not correspond to an application feature suitable for showing
|
|
|
|
that Nimbus is working. This should never be used in production."
|
|
|
|
variables:
|
|
|
|
settings-title:
|
|
|
|
description: The title of displayed in the Settings screen and app menu.
|
|
|
|
type: Text
|
|
|
|
default: browser_menu_settings
|
|
|
|
settings-punctuation:
|
|
|
|
description: The emoji displayed in the Settings screen title.
|
|
|
|
type: String
|
|
|
|
default: ""
|
|
|
|
settings-icon:
|
|
|
|
description: The drawable displayed in the app menu for Settings
|
|
|
|
type: String
|
|
|
|
default: mozac_ic_settings
|
|
|
|
search-term-groups:
|
|
|
|
description: A feature allowing the grouping of URLs around the search term that it came from.
|
|
|
|
variables:
|
|
|
|
enabled:
|
|
|
|
description: If true, the feature shows up on the homescreen and on the new tab screen.
|
|
|
|
type: Boolean
|
|
|
|
default: false
|
2022-02-08 12:44:07 +00:00
|
|
|
defaults:
|
|
|
|
- channel: nightly
|
|
|
|
value:
|
|
|
|
enabled: true
|
|
|
|
- channel: developer
|
|
|
|
value:
|
|
|
|
enabled: true
|
2022-03-22 22:02:42 +00:00
|
|
|
messaging:
|
|
|
|
description: |
|
|
|
|
Configuration for the messaging system.
|
|
|
|
|
|
|
|
In practice this is a set of growable lookup tables for the
|
|
|
|
message controller to piece together.
|
|
|
|
|
|
|
|
variables:
|
|
|
|
message-under-experiment:
|
|
|
|
description: Id or prefix of the message under experiment.
|
|
|
|
type: Option<String>
|
|
|
|
default: null
|
|
|
|
|
|
|
|
messages:
|
|
|
|
description: A growable collection of messages
|
|
|
|
type: Map<String, MessageData>
|
|
|
|
default: {}
|
|
|
|
|
|
|
|
triggers:
|
|
|
|
description: >
|
|
|
|
A collection of out the box trigger
|
|
|
|
expressions. Each entry maps to a
|
|
|
|
valid JEXL expression.
|
|
|
|
type: Map<String, String>
|
2022-03-27 14:13:49 +00:00
|
|
|
default: {}
|
2022-03-22 22:02:42 +00:00
|
|
|
styles:
|
|
|
|
description: >
|
|
|
|
A map of styles to configure message
|
|
|
|
appearance.
|
|
|
|
type: Map<String, StyleData>
|
2022-03-27 14:13:49 +00:00
|
|
|
default: {}
|
2022-03-22 22:02:42 +00:00
|
|
|
|
|
|
|
actions:
|
|
|
|
type: Map<String, String>
|
|
|
|
description: A growable map of action URLs.
|
2022-03-27 14:13:49 +00:00
|
|
|
default: {}
|
|
|
|
on-control:
|
|
|
|
type: ControlMessageBehavior
|
|
|
|
description: What should be displayed when a control message is selected.
|
|
|
|
default: show-next-message
|
2022-03-22 22:02:42 +00:00
|
|
|
defaults:
|
2022-03-27 14:13:49 +00:00
|
|
|
- value:
|
|
|
|
triggers:
|
2022-04-06 01:32:48 +00:00
|
|
|
USER_RECENTLY_INSTALLED: days_since_install < 7
|
|
|
|
USER_RECENTLY_UPDATED: days_since_update < 7 && days_since_install != days_since_update
|
|
|
|
USER_TIER_ONE_COUNTRY: ('US' in locale || 'GB' in locale || 'CA' in locale || 'DE' in locale || 'FR' in locale)
|
|
|
|
USER_EN_SPEAKER: "'en' in locale"
|
|
|
|
USER_DE_SPEAKER: "'de' in locale"
|
|
|
|
USER_FR_SPEAKER: "'fr' in locale"
|
|
|
|
DEVICE_ANDROID: os == 'Android'
|
|
|
|
DEVICE_IOS: os == 'iOS'
|
|
|
|
ALWAYS: "true"
|
|
|
|
NEVER: "false"
|
|
|
|
I_AM_DEFAULT_BROWSER: "is_default_browser_string == 'true'"
|
|
|
|
I_AM_NOT_DEFAULT_BROWSER: "is_default_browser_string == 'false'"
|
2022-06-21 15:56:10 +00:00
|
|
|
USER_ESTABLISHED_INSTALL: "number_of_app_launches >=4"
|
2022-03-27 14:13:49 +00:00
|
|
|
actions:
|
2022-04-06 01:32:48 +00:00
|
|
|
ENABLE_PRIVATE_BROWSING: ://enable_private_browsing
|
|
|
|
INSTALL_SEARCH_WIDGET: ://install_search_widget
|
|
|
|
MAKE_DEFAULT_BROWSER: ://make_default_browser
|
|
|
|
VIEW_BOOKMARKS: ://urls_bookmarks
|
|
|
|
VIEW_COLLECTIONS: ://home_collections
|
|
|
|
VIEW_HISTORY: ://urls_history
|
|
|
|
VIEW_HOMESCREEN: ://home
|
|
|
|
OPEN_SETTINGS_ACCESSIBILITY: ://settings_accessibility
|
|
|
|
OPEN_SETTINGS_ADDON_MANAGER: ://settings_addon_manager
|
2022-03-27 14:13:49 +00:00
|
|
|
OPEN_SETTINGS_DELETE_BROWSING_DATA: ://settings_delete_browsing_data
|
2022-04-06 01:32:48 +00:00
|
|
|
OPEN_SETTINGS_LOGINS: ://settings_logins
|
|
|
|
OPEN_SETTINGS_NOTIFICATIONS: ://settings_notifications
|
|
|
|
OPEN_SETTINGS_PRIVACY: ://settings_privacy
|
|
|
|
OPEN_SETTINGS_SEARCH_ENGINE: ://settings_search_engine
|
|
|
|
OPEN_SETTINGS_TRACKING_PROTECTION: ://settings_tracking_protection
|
|
|
|
OPEN_SETTINGS_WALLPAPERS: ://settings_wallpapers
|
|
|
|
OPEN_SETTINGS: ://settings
|
|
|
|
TURN_ON_SYNC: ://turn_on_sync
|
2022-03-27 14:13:49 +00:00
|
|
|
styles:
|
|
|
|
DEFAULT:
|
|
|
|
priority: 50
|
|
|
|
max-display-count: 5
|
2022-04-21 16:00:34 +00:00
|
|
|
SURVEY:
|
|
|
|
priority: 55
|
|
|
|
max-display-count: 10
|
2022-03-27 14:13:49 +00:00
|
|
|
PERSISTENT:
|
|
|
|
priority: 50
|
|
|
|
max-display-count: 20
|
|
|
|
WARNING:
|
|
|
|
priority: 60
|
|
|
|
max-display-count: 10
|
|
|
|
URGENT:
|
|
|
|
priority: 100
|
|
|
|
max-display-count: 10
|
2022-05-05 12:39:39 +00:00
|
|
|
messages:
|
|
|
|
default-browser:
|
|
|
|
text: default_browser_experiment_card_text
|
|
|
|
action: "MAKE_DEFAULT_BROWSER"
|
2022-06-21 15:56:10 +00:00
|
|
|
trigger: [ "I_AM_NOT_DEFAULT_BROWSER","USER_ESTABLISHED_INSTALL" ]
|
2022-07-06 19:46:42 +00:00
|
|
|
style: "PERSISTENT"
|
2022-05-05 12:39:39 +00:00
|
|
|
button-label: preferences_set_as_default_browser
|
2022-03-27 14:13:49 +00:00
|
|
|
|
|
|
|
- channel: developer
|
|
|
|
value:
|
|
|
|
styles:
|
|
|
|
DEFAULT:
|
|
|
|
priority: 50
|
|
|
|
max-display-count: 100
|
|
|
|
EXPIRES_QUICKLY:
|
|
|
|
priority: 100
|
|
|
|
max-display-count: 1
|
2022-05-05 12:39:39 +00:00
|
|
|
|
2022-04-13 20:29:26 +00:00
|
|
|
unified-search:
|
|
|
|
description: A feature allowing user to easily search for specified results directly in the search bar.
|
|
|
|
variables:
|
|
|
|
enabled:
|
|
|
|
description: If true, the feature shows up in the search bar.
|
|
|
|
type: Boolean
|
|
|
|
default: false
|
|
|
|
defaults:
|
|
|
|
- channel: nightly
|
|
|
|
value:
|
|
|
|
enabled: false
|
2022-03-22 22:02:42 +00:00
|
|
|
|
2022-06-28 19:26:54 +00:00
|
|
|
engine-settings:
|
|
|
|
description: Contains a set of settings for controlling the web engine configurations.
|
|
|
|
variables:
|
|
|
|
tabs-prioritization-enabled:
|
|
|
|
description: If true, enables tabs prioritization feature.
|
|
|
|
type: Boolean
|
|
|
|
default: true
|
2022-06-23 21:06:24 +00:00
|
|
|
total-cookie-protection-enabled:
|
|
|
|
description: If true, enables the total cookie protection in all browsing modes.
|
|
|
|
type: Boolean
|
|
|
|
default: false
|
2022-01-28 12:48:05 +00:00
|
|
|
types:
|
2022-03-22 22:02:42 +00:00
|
|
|
objects:
|
|
|
|
MessageData:
|
|
|
|
description: >
|
|
|
|
An object to describe a message. It uses human
|
|
|
|
readable strings to describe the triggers, action and
|
|
|
|
style of the message as well as the text of the message
|
|
|
|
and call to action.
|
|
|
|
fields:
|
|
|
|
action:
|
2022-03-27 14:13:49 +00:00
|
|
|
type: Text
|
2022-03-22 22:02:42 +00:00
|
|
|
description: >
|
|
|
|
A URL of a page or a deeplink.
|
|
|
|
This may have substitution variables in.
|
|
|
|
# This should never be defaulted.
|
|
|
|
default: empty_string
|
|
|
|
title:
|
|
|
|
type: Option<Text>
|
|
|
|
description: "The title text displayed to the user"
|
|
|
|
default: null
|
|
|
|
text:
|
|
|
|
type: Text
|
|
|
|
description: "The message text displayed to the user"
|
|
|
|
# This should never be defaulted.
|
|
|
|
default: empty_string
|
|
|
|
is-control:
|
|
|
|
type: Boolean
|
|
|
|
description: "Indicates if this message is the control message, if true shouldn't be displayed"
|
|
|
|
default: false
|
|
|
|
button-label:
|
|
|
|
type: Option<Text>
|
|
|
|
description: >
|
|
|
|
The text on the button. If no text
|
|
|
|
is present, the whole message is clickable.
|
|
|
|
default: null
|
|
|
|
style:
|
|
|
|
type: String
|
|
|
|
description: >
|
|
|
|
The style as described in a
|
|
|
|
`StyleData` from the styles table.
|
2022-03-27 14:13:49 +00:00
|
|
|
default: DEFAULT
|
2022-03-22 22:02:42 +00:00
|
|
|
trigger:
|
|
|
|
type: List<String>
|
|
|
|
description: >
|
|
|
|
A list of strings corresponding to
|
|
|
|
targeting expressions. The message will be
|
|
|
|
shown if all expressions `true`.
|
|
|
|
default: []
|
|
|
|
StyleData:
|
|
|
|
description: >
|
|
|
|
A group of properities (predominantly visual) to
|
|
|
|
describe the style of the message.
|
|
|
|
fields:
|
|
|
|
priority:
|
|
|
|
type: Int
|
|
|
|
description: >
|
|
|
|
The importance of this message.
|
|
|
|
0 is not very important, 100 is very important.
|
|
|
|
default: 50
|
2022-03-27 14:13:49 +00:00
|
|
|
max-display-count:
|
|
|
|
type: Int
|
|
|
|
description: >
|
|
|
|
How many sessions will this message be shown to the user
|
|
|
|
before it is expired.
|
|
|
|
default: 5
|
2022-03-22 22:02:42 +00:00
|
|
|
|
2022-01-28 12:48:05 +00:00
|
|
|
enums:
|
2022-03-27 14:13:49 +00:00
|
|
|
ControlMessageBehavior:
|
|
|
|
description: An enum to influence what should be displayed when a control message is selected.
|
|
|
|
variants:
|
|
|
|
show-next-message:
|
|
|
|
description: The next eligible message should be shown.
|
|
|
|
show-none:
|
|
|
|
description: The surface should show no message.
|
2022-01-28 12:48:05 +00:00
|
|
|
HomeScreenSection:
|
2022-03-22 22:02:42 +00:00
|
|
|
description: The identifiers for the sections of the homescreen.
|
|
|
|
variants:
|
|
|
|
top-sites:
|
|
|
|
description: The frecency and pinned sites.
|
|
|
|
recently-saved:
|
|
|
|
description: The sites the user has bookmarked recently.
|
|
|
|
jump-back-in:
|
|
|
|
description: The tabs the user was looking immediately before being interrupted.
|
|
|
|
recent-explorations:
|
|
|
|
description: The tab groups
|
|
|
|
pocket:
|
|
|
|
description: The pocket section. This should only be available in the US.
|
2022-08-10 15:55:55 +00:00
|
|
|
pocket-sponsored-stories:
|
|
|
|
description: Subsection of the Pocket homescreen section which shows sponsored stories.
|
2022-01-28 12:48:05 +00:00
|
|
|
MessageSurfaceId:
|
2022-03-22 22:02:42 +00:00
|
|
|
description: The identity of a message surface, used in the default browser experiments
|
|
|
|
variants:
|
|
|
|
app-menu-item:
|
|
|
|
description: An item in the default toolbar menu.
|
|
|
|
settings:
|
|
|
|
description: A setting in the settings screen.
|
|
|
|
homescreen-banner:
|
|
|
|
description: A banner in the homescreen.
|
2022-08-03 20:03:26 +00:00
|
|
|
OnboardingSection:
|
|
|
|
description: The identifiers for the sections of the onboarding.
|
|
|
|
variants:
|
|
|
|
sync-cfr:
|
|
|
|
description: Sync onboarding CFR.
|
2022-08-15 22:44:33 +00:00
|
|
|
wallpapers:
|
|
|
|
description: Wallpapers onboarding dialog.
|
2022-08-18 17:29:27 +00:00
|
|
|
home-onboarding-dialog:
|
|
|
|
description: Home onboarding dialog for upgraded users.
|
2022-08-19 15:26:13 +00:00
|
|
|
jump-back-in-cfr:
|
|
|
|
description: Jump back in onboarding CFR.
|
|
|
|
first-run-onboarding:
|
|
|
|
description: First run onboarding page updates.
|