(nobug) - Prevent old cards from showing up and use new sync icon (#4969)

This commit is contained in:
Ed Lee 2019-05-01 17:30:30 -04:00 коммит произвёл GitHub
Родитель c16fdc5d82
Коммит 908c08bfca
Не найден ключ, соответствующий данной подписи
Идентификатор ключа GPG: 4AEE18F83AFDEB23
1 изменённых файлов: 4 добавлений и 4 удалений

Просмотреть файл

@ -99,7 +99,7 @@ const ONBOARDING_MESSAGES = async () => ([
},
},
},
targeting: "attributionData.campaign != 'non-fx-button' && attributionData.source != 'addons.mozilla.org'",
targeting: "trailheadCohort == 0 && attributionData.campaign != 'non-fx-button' && attributionData.source != 'addons.mozilla.org'",
trigger: {id: "showOnboarding"},
},
{
@ -119,7 +119,7 @@ const ONBOARDING_MESSAGES = async () => ([
},
},
},
targeting: "providerCohorts.onboarding == 'ghostery'",
targeting: "trailheadCohort == 0 && providerCohorts.onboarding == 'ghostery'",
trigger: {id: "showOnboarding"},
},
{
@ -139,7 +139,7 @@ const ONBOARDING_MESSAGES = async () => ([
},
},
},
targeting: "attributionData.campaign == 'non-fx-button' && attributionData.source == 'addons.mozilla.org'",
targeting: "trailheadCohort == 0 && attributionData.campaign == 'non-fx-button' && attributionData.source == 'addons.mozilla.org'",
trigger: {id: "showOnboarding"},
},
{
@ -234,7 +234,7 @@ const ONBOARDING_MESSAGES = async () => ([
content: {
title: {string_id: "onboarding-data-sync-title"},
text: {string_id: "onboarding-data-sync-text"},
icon: "sync",
icon: "devices",
primary_button: {
label: {string_id: "onboarding-data-sync-button"},
action: {