Created
February 23, 2024 21:42
-
-
Save punamdahiya/142d11c7602e014b29534248942b6e73 to your computer and use it in GitHub Desktop.
AboutWelcomeFeatureConfig
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"enabled": true, | |
"screens": [ | |
{ | |
"id": "AW_WELCOME_BACK", | |
"content": { | |
"logo": {}, | |
"title": { | |
"string_id": "onboarding-device-migration-title" | |
}, | |
"position": "split", | |
"subtitle": { | |
"string_id": "onboarding-device-migration-subtitle2" | |
}, | |
"background": "url('chrome://activity-stream/content/data/content/assets/device-migration.svg') var(--mr-secondary-position) no-repeat var(--mr-screen-background-color)", | |
"progress_bar": true, | |
"image_alt_text": { | |
"string_id": "onboarding-device-migration-image-alt" | |
}, | |
"primary_button": { | |
"label": { | |
"string_id": "onboarding-device-migration-primary-button-label" | |
}, | |
"action": { | |
"data": { | |
"entrypoint": "fx-device-migration-onboarding", | |
"extraParams": { | |
"utm_medium": "firefox-desktop", | |
"utm_source": "fx-new-device-sync", | |
"utm_content": "migration-onboarding", | |
"utm_campaign": "migration" | |
} | |
}, | |
"type": "FXA_SIGNIN_FLOW", | |
"navigate": "actionResult" | |
} | |
}, | |
"secondary_button": { | |
"label": { | |
"string_id": "mr2022-onboarding-secondary-skip-button-label" | |
}, | |
"action": { | |
"navigate": true | |
}, | |
"has_arrow_icon": true | |
}, | |
"split_narrow_bkg_position": "-100px" | |
}, | |
"targeting": "isDeviceMigration" | |
}, | |
{ | |
"id": "AW_EASY_SETUP_NEEDS_DEFAULT_AND_PIN", | |
"content": { | |
"logo": {}, | |
"tiles": { | |
"data": [ | |
{ | |
"id": "checkbox-1", | |
"label": { | |
"string_id": "mr2022-onboarding-pin-primary-button-label" | |
}, | |
"action": { | |
"type": "PIN_FIREFOX_TO_TASKBAR" | |
}, | |
"defaultValue": true | |
}, | |
{ | |
"id": "checkbox-2", | |
"label": { | |
"string_id": "mr2022-onboarding-easy-setup-set-default-checkbox-label" | |
}, | |
"action": { | |
"type": "SET_DEFAULT_BROWSER" | |
}, | |
"defaultValue": true | |
}, | |
{ | |
"id": "checkbox-3", | |
"label": { | |
"string_id": "mr2022-onboarding-easy-setup-import-checkbox-label" | |
}, | |
"defaultValue": true, | |
"checkedAction": { | |
"data": { | |
"actions": [ | |
{ | |
"data": { | |
"pref": { | |
"name": "showEmbeddedImport", | |
"value": true | |
} | |
}, | |
"type": "SET_PREF" | |
} | |
] | |
}, | |
"type": "MULTI_ACTION" | |
}, | |
"uncheckedAction": { | |
"data": { | |
"actions": [ | |
{ | |
"data": { | |
"pref": { | |
"name": "showEmbeddedImport" | |
} | |
}, | |
"type": "SET_PREF" | |
} | |
] | |
}, | |
"type": "MULTI_ACTION" | |
} | |
} | |
], | |
"type": "multiselect" | |
}, | |
"title": { | |
"string_id": "onboarding-easy-setup-security-and-privacy-title" | |
}, | |
"position": "split", | |
"subtitle": { | |
"string_id": "onboarding-easy-setup-security-and-privacy-subtitle" | |
}, | |
"background": "url('chrome://activity-stream/content/data/content/assets/mr-settodefault.svg') var(--mr-secondary-position) no-repeat var(--mr-screen-background-color)", | |
"progress_bar": true, | |
"image_alt_text": { | |
"string_id": "mr2022-onboarding-default-image-alt" | |
}, | |
"primary_button": { | |
"label": { | |
"string_id": "mr2022-onboarding-easy-setup-primary-button-label" | |
}, | |
"action": { | |
"data": { | |
"actions": [] | |
}, | |
"type": "MULTI_ACTION", | |
"navigate": true, | |
"collectSelect": true | |
} | |
}, | |
"secondary_button": { | |
"label": { | |
"string_id": "mr2022-onboarding-secondary-skip-button-label" | |
}, | |
"action": { | |
"navigate": true | |
}, | |
"has_arrow_icon": true | |
}, | |
"secondary_button_top": { | |
"label": { | |
"string_id": "mr1-onboarding-sign-in-button-label" | |
}, | |
"action": { | |
"data": { | |
"where": "tab", | |
"entrypoint": "activity-stream-firstrun" | |
}, | |
"type": "SHOW_FIREFOX_ACCOUNTS", | |
"addFlowParams": true | |
} | |
}, | |
"hide_secondary_section": "responsive", | |
"split_narrow_bkg_position": "-60px" | |
}, | |
"targeting": "doesAppNeedPin && 'browser.shell.checkDefaultBrowser'|preferenceValue && !isDefaultBrowser" | |
}, | |
{ | |
"id": "AW_EASY_SETUP_NEEDS_DEFAULT", | |
"content": { | |
"logo": {}, | |
"tiles": { | |
"data": [ | |
{ | |
"id": "checkbox-1", | |
"label": { | |
"string_id": "mr2022-onboarding-easy-setup-set-default-checkbox-label" | |
}, | |
"action": { | |
"type": "SET_DEFAULT_BROWSER" | |
}, | |
"defaultValue": true | |
}, | |
{ | |
"id": "checkbox-2", | |
"label": { | |
"string_id": "mr2022-onboarding-easy-setup-import-checkbox-label" | |
}, | |
"defaultValue": true, | |
"checkedAction": { | |
"data": { | |
"actions": [ | |
{ | |
"data": { | |
"pref": { | |
"name": "showEmbeddedImport", | |
"value": true | |
} | |
}, | |
"type": "SET_PREF" | |
} | |
] | |
}, | |
"type": "MULTI_ACTION" | |
}, | |
"uncheckedAction": { | |
"data": { | |
"actions": [ | |
{ | |
"data": { | |
"pref": { | |
"name": "showEmbeddedImport" | |
} | |
}, | |
"type": "SET_PREF" | |
} | |
] | |
}, | |
"type": "MULTI_ACTION" | |
} | |
} | |
], | |
"type": "multiselect" | |
}, | |
"title": { | |
"string_id": "onboarding-easy-setup-security-and-privacy-title" | |
}, | |
"position": "split", | |
"subtitle": { | |
"string_id": "onboarding-easy-setup-security-and-privacy-subtitle" | |
}, | |
"background": "url('chrome://activity-stream/content/data/content/assets/mr-settodefault.svg') var(--mr-secondary-position) no-repeat var(--mr-screen-background-color)", | |
"progress_bar": true, | |
"image_alt_text": { | |
"string_id": "mr2022-onboarding-default-image-alt" | |
}, | |
"primary_button": { | |
"label": { | |
"string_id": "mr2022-onboarding-easy-setup-primary-button-label" | |
}, | |
"action": { | |
"data": { | |
"actions": [] | |
}, | |
"type": "MULTI_ACTION", | |
"navigate": true, | |
"collectSelect": true | |
} | |
}, | |
"secondary_button": { | |
"label": { | |
"string_id": "mr2022-onboarding-secondary-skip-button-label" | |
}, | |
"action": { | |
"navigate": true | |
}, | |
"has_arrow_icon": true | |
}, | |
"secondary_button_top": { | |
"label": { | |
"string_id": "mr1-onboarding-sign-in-button-label" | |
}, | |
"action": { | |
"data": { | |
"where": "tab", | |
"entrypoint": "activity-stream-firstrun" | |
}, | |
"type": "SHOW_FIREFOX_ACCOUNTS", | |
"addFlowParams": true | |
} | |
}, | |
"split_narrow_bkg_position": "-60px" | |
}, | |
"targeting": "!doesAppNeedPin && 'browser.shell.checkDefaultBrowser'|preferenceValue && !isDefaultBrowser" | |
}, | |
{ | |
"id": "AW_EASY_SETUP_NEEDS_PIN", | |
"content": { | |
"logo": {}, | |
"tiles": { | |
"data": [ | |
{ | |
"id": "checkbox-1", | |
"label": { | |
"string_id": "mr2022-onboarding-pin-primary-button-label" | |
}, | |
"action": { | |
"type": "PIN_FIREFOX_TO_TASKBAR" | |
}, | |
"defaultValue": true | |
}, | |
{ | |
"id": "checkbox-2", | |
"label": { | |
"string_id": "mr2022-onboarding-easy-setup-import-checkbox-label" | |
}, | |
"defaultValue": true, | |
"checkedAction": { | |
"data": { | |
"actions": [ | |
{ | |
"data": { | |
"pref": { | |
"name": "showEmbeddedImport", | |
"value": true | |
} | |
}, | |
"type": "SET_PREF" | |
} | |
] | |
}, | |
"type": "MULTI_ACTION" | |
}, | |
"uncheckedAction": { | |
"data": { | |
"actions": [ | |
{ | |
"data": { | |
"pref": { | |
"name": "showEmbeddedImport" | |
} | |
}, | |
"type": "SET_PREF" | |
} | |
] | |
}, | |
"type": "MULTI_ACTION" | |
} | |
} | |
], | |
"type": "multiselect" | |
}, | |
"title": { | |
"string_id": "onboarding-easy-setup-security-and-privacy-title" | |
}, | |
"position": "split", | |
"subtitle": { | |
"string_id": "onboarding-easy-setup-security-and-privacy-subtitle" | |
}, | |
"background": "url('chrome://activity-stream/content/data/content/assets/mr-settodefault.svg') var(--mr-secondary-position) no-repeat var(--mr-screen-background-color)", | |
"progress_bar": true, | |
"image_alt_text": { | |
"string_id": "mr2022-onboarding-default-image-alt" | |
}, | |
"primary_button": { | |
"label": { | |
"string_id": "mr2022-onboarding-easy-setup-primary-button-label" | |
}, | |
"action": { | |
"data": { | |
"actions": [] | |
}, | |
"type": "MULTI_ACTION", | |
"navigate": true, | |
"collectSelect": true | |
} | |
}, | |
"secondary_button": { | |
"label": { | |
"string_id": "mr2022-onboarding-secondary-skip-button-label" | |
}, | |
"action": { | |
"navigate": true | |
}, | |
"has_arrow_icon": true | |
}, | |
"secondary_button_top": { | |
"label": { | |
"string_id": "mr1-onboarding-sign-in-button-label" | |
}, | |
"action": { | |
"data": { | |
"where": "tab", | |
"entrypoint": "activity-stream-firstrun" | |
}, | |
"type": "SHOW_FIREFOX_ACCOUNTS", | |
"addFlowParams": true | |
} | |
}, | |
"split_narrow_bkg_position": "-60px" | |
}, | |
"targeting": "doesAppNeedPin && (!'browser.shell.checkDefaultBrowser'|preferenceValue || isDefaultBrowser)" | |
}, | |
{ | |
"id": "AW_EASY_SETUP_ONLY_IMPORT", | |
"content": { | |
"logo": {}, | |
"tiles": { | |
"data": [ | |
{ | |
"id": "checkbox-1", | |
"label": { | |
"string_id": "mr2022-onboarding-easy-setup-import-checkbox-label" | |
}, | |
"defaultValue": true, | |
"checkedAction": { | |
"data": { | |
"actions": [ | |
{ | |
"data": { | |
"pref": { | |
"name": "showEmbeddedImport", | |
"value": true | |
} | |
}, | |
"type": "SET_PREF" | |
} | |
] | |
}, | |
"type": "MULTI_ACTION" | |
}, | |
"uncheckedAction": { | |
"data": { | |
"actions": [ | |
{ | |
"data": { | |
"pref": { | |
"name": "showEmbeddedImport" | |
} | |
}, | |
"type": "SET_PREF" | |
} | |
] | |
}, | |
"type": "MULTI_ACTION" | |
} | |
} | |
], | |
"type": "multiselect" | |
}, | |
"title": { | |
"string_id": "onboarding-easy-setup-security-and-privacy-title" | |
}, | |
"position": "split", | |
"subtitle": { | |
"string_id": "onboarding-easy-setup-security-and-privacy-subtitle" | |
}, | |
"background": "url('chrome://activity-stream/content/data/content/assets/mr-settodefault.svg') var(--mr-secondary-position) no-repeat var(--mr-screen-background-color)", | |
"progress_bar": true, | |
"image_alt_text": { | |
"string_id": "mr2022-onboarding-default-image-alt" | |
}, | |
"primary_button": { | |
"label": { | |
"string_id": "mr2022-onboarding-easy-setup-primary-button-label" | |
}, | |
"action": { | |
"data": { | |
"actions": [] | |
}, | |
"type": "MULTI_ACTION", | |
"navigate": true, | |
"collectSelect": true | |
} | |
}, | |
"secondary_button": { | |
"label": { | |
"string_id": "mr2022-onboarding-secondary-skip-button-label" | |
}, | |
"action": { | |
"navigate": true | |
}, | |
"has_arrow_icon": true | |
}, | |
"secondary_button_top": { | |
"label": { | |
"string_id": "mr1-onboarding-sign-in-button-label" | |
}, | |
"action": { | |
"data": { | |
"where": "tab", | |
"entrypoint": "activity-stream-firstrun" | |
}, | |
"type": "SHOW_FIREFOX_ACCOUNTS", | |
"addFlowParams": true | |
} | |
}, | |
"split_narrow_bkg_position": "-60px" | |
}, | |
"targeting": "!doesAppNeedPin && (!'browser.shell.checkDefaultBrowser'|preferenceValue || isDefaultBrowser)" | |
}, | |
{ | |
"id": "AW_LANGUAGE_MISMATCH", | |
"content": { | |
"logo": {}, | |
"title": { | |
"string_id": "mr2022-onboarding-live-language-text" | |
}, | |
"position": "split", | |
"subtitle": { | |
"string_id": "mr2022-language-mismatch-subtitle" | |
}, | |
"hero_text": { | |
"string_id": "mr2022-onboarding-live-language-text", | |
"useLangPack": true | |
}, | |
"background": "var(--mr-screen-background-color)", | |
"progress_bar": true, | |
"languageSwitcher": { | |
"skip": { | |
"string_id": "mr2022-onboarding-secondary-skip-button-label" | |
}, | |
"action": { | |
"navigate": true | |
}, | |
"cancel": { | |
"string_id": "onboarding-live-language-secondary-cancel-download" | |
}, | |
"switch": { | |
"string_id": "mr2022-onboarding-live-language-switch-to", | |
"useLangPack": true | |
}, | |
"waiting": { | |
"string_id": "onboarding-live-language-waiting-button" | |
}, | |
"continue": { | |
"string_id": "mr2022-onboarding-live-language-continue-in" | |
}, | |
"downloading": { | |
"string_id": "onboarding-live-language-button-label-downloading" | |
} | |
} | |
} | |
}, | |
{ | |
"id": "AW_IMPORT_SETTINGS_EMBEDDED", | |
"content": { | |
"tiles": { | |
"type": "migration-wizard" | |
}, | |
"position": "split", | |
"background": "url('chrome://activity-stream/content/data/content/assets/mr-import.svg') var(--mr-secondary-position) no-repeat var(--mr-screen-background-color)", | |
"progress_bar": true, | |
"migrate_close": { | |
"action": { | |
"navigate": true | |
} | |
}, | |
"migrate_start": { | |
"action": {} | |
}, | |
"image_alt_text": { | |
"string_id": "mr2022-onboarding-import-image-alt" | |
}, | |
"secondary_button": { | |
"label": { | |
"string_id": "mr2022-onboarding-secondary-skip-button-label" | |
}, | |
"action": { | |
"navigate": true | |
}, | |
"has_arrow_icon": true | |
}, | |
"hide_secondary_section": "responsive", | |
"split_narrow_bkg_position": "-42px" | |
}, | |
"targeting": "(\"messaging-system-action.showEmbeddedImport\" |preferenceValue == true) && useEmbeddedMigrationWizard" | |
}, | |
{ | |
"id": "AW_MOBILE_DOWNLOAD", | |
"content": { | |
"logo": {}, | |
"title": { | |
"string_id": "onboarding-mobile-download-security-and-privacy-title" | |
}, | |
"position": "split", | |
"subtitle": { | |
"string_id": "onboarding-mobile-download-security-and-privacy-subtitle" | |
}, | |
"background": "url('chrome://activity-stream/content/data/content/assets/mr-mobilecrosspromo.svg') var(--mr-secondary-position) no-repeat var(--mr-screen-background-color)", | |
"hero_image": { | |
"url": "chrome://activity-stream/content/data/content/assets/mobile-download-qr-new-user.svg" | |
}, | |
"progress_bar": true, | |
"cta_paragraph": { | |
"text": { | |
"string_id": "mr2022-onboarding-mobile-download-cta-text", | |
"string_name": "download-label" | |
}, | |
"action": { | |
"data": { | |
"args": "https://www.mozilla.org/firefox/mobile/get-app/?utm_medium=firefox-desktop&utm_source=onboarding-modal&utm_campaign=mr2022&utm_content=new-global", | |
"where": "tab" | |
}, | |
"type": "OPEN_URL" | |
} | |
}, | |
"image_alt_text": { | |
"string_id": "mr2022-onboarding-mobile-download-image-alt" | |
}, | |
"secondary_button": { | |
"label": { | |
"string_id": "mr2022-onboarding-secondary-skip-button-label" | |
}, | |
"action": { | |
"navigate": true | |
}, | |
"has_arrow_icon": true | |
}, | |
"split_narrow_bkg_position": "-160px" | |
}, | |
"targeting": "!isFxASignedIn || sync.mobileDevices == 0" | |
}, | |
{ | |
"id": "AW_CHOOSE_THEME", | |
"content": { | |
"logo": {}, | |
"tiles": { | |
"data": [ | |
{ | |
"label": { | |
"string_id": "mr1-onboarding-theme-label-system" | |
}, | |
"theme": "automatic", | |
"tooltip": { | |
"string_id": "mr1-onboarding-theme-tooltip-system" | |
}, | |
"description": { | |
"string_id": "mr1-onboarding-theme-description-system" | |
} | |
}, | |
{ | |
"label": { | |
"string_id": "mr1-onboarding-theme-label-light" | |
}, | |
"theme": "light", | |
"tooltip": { | |
"string_id": "mr1-onboarding-theme-tooltip-light" | |
}, | |
"description": { | |
"string_id": "mr1-onboarding-theme-description-light" | |
} | |
}, | |
{ | |
"label": { | |
"string_id": "mr1-onboarding-theme-label-dark" | |
}, | |
"theme": "dark", | |
"tooltip": { | |
"string_id": "mr1-onboarding-theme-tooltip-dark" | |
}, | |
"description": { | |
"string_id": "mr1-onboarding-theme-description-dark" | |
} | |
}, | |
{ | |
"label": { | |
"string_id": "mr1-onboarding-theme-label-alpenglow" | |
}, | |
"theme": "alpenglow", | |
"tooltip": { | |
"string_id": "mr1-onboarding-theme-tooltip-alpenglow" | |
}, | |
"description": { | |
"string_id": "mr1-onboarding-theme-description-alpenglow" | |
} | |
} | |
], | |
"type": "theme", | |
"action": { | |
"theme": "<event>" | |
} | |
}, | |
"title": { | |
"string_id": "mr1-onboarding-theme-header" | |
}, | |
"position": "split", | |
"subtitle": { | |
"string_id": "mr1-onboarding-theme-subtitle" | |
}, | |
"background": "url('chrome://activity-stream/content/data/content/assets/mr-amo-collection.svg') var(--mr-secondary-position) no-repeat var(--mr-screen-background-color)", | |
"progress_bar": true, | |
"primary_button": { | |
"label": { | |
"raw": "Save theme", | |
"marginBlock": "4px 0" | |
}, | |
"action": { | |
"navigate": true | |
} | |
}, | |
"secondary_button": { | |
"label": { | |
"string_id": "mr1-onboarding-theme-secondary-button-label" | |
}, | |
"action": { | |
"theme": "automatic", | |
"navigate": true | |
}, | |
"has_arrow_icon": true | |
}, | |
"additional_button": { | |
"flow": "column", | |
"label": "Explore more themes", | |
"style": "link", | |
"action": { | |
"data": { | |
"args": "https://addons.mozilla.org/firefox/themes/", | |
"where": "tab" | |
}, | |
"type": "OPEN_URL", | |
"navigate": true | |
} | |
}, | |
"split_narrow_bkg_position": "-58px" | |
}, | |
"targeting": "localeLanguageCode == 'en'" | |
}, | |
{ | |
"id": "AW_AMO_INTRODUCE", | |
"content": { | |
"logo": {}, | |
"title": { | |
"string_id": "amo-screen-title" | |
}, | |
"position": "split", | |
"subtitle": { | |
"string_id": "amo-screen-subtitle" | |
}, | |
"background": "url('https://firefox-settings-attachments.cdn.mozilla.net/main-workspace/ms-images/b0e77d03-8b9d-477f-85ce-b29a23552e18.svg') var(--mr-secondary-position) no-repeat var(--mr-screen-background-color)", | |
"progress_bar": true, | |
"primary_button": { | |
"label": { | |
"string_id": "amo-screen-primary-cta" | |
}, | |
"action": { | |
"data": { | |
"args": "https://addons.mozilla.org/en-US/firefox/collections/4757633/25c2b44583534b3fa8fea977c419cd/?page=1&collection_sort=-added", | |
"where": "tabshifted" | |
}, | |
"type": "OPEN_URL", | |
"navigate": true | |
} | |
}, | |
"secondary_button": { | |
"label": { | |
"string_id": "mr2022-onboarding-secondary-skip-button-label" | |
}, | |
"action": { | |
"navigate": true | |
} | |
}, | |
"split_narrow_bkg_position": "-40px" | |
}, | |
"targeting": "localeLanguageCode == 'en'" | |
}, | |
{ | |
"id": "AW_GRATITUDE", | |
"content": { | |
"logo": {}, | |
"title": { | |
"string_id": "onboarding-gratitude-security-and-privacy-title" | |
}, | |
"position": "split", | |
"subtitle": { | |
"string_id": "onboarding-gratitude-security-and-privacy-subtitle" | |
}, | |
"background": "url('chrome://activity-stream/content/data/content/assets/mr-gratitude.svg') var(--mr-secondary-position) no-repeat var(--mr-screen-background-color)", | |
"progress_bar": true, | |
"image_alt_text": { | |
"string_id": "mr2022-onboarding-gratitude-image-alt" | |
}, | |
"primary_button": { | |
"label": { | |
"string_id": "mr2-onboarding-start-browsing-button-label" | |
}, | |
"action": { | |
"navigate": true | |
} | |
}, | |
"split_narrow_bkg_position": "-228px" | |
} | |
} | |
], | |
"languageMismatchEnabled": false, | |
"showModal": false, | |
"backdrop": null, | |
"newtabUrlBarFocus": null, | |
"id": "re-introduce-themes-in-onboarding:treatment-a", | |
"transitions": true | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment