From 4c0c701530b0c434ca62650cef59d04a216eaeab Mon Sep 17 00:00:00 2001 From: Roger Yang Date: Tue, 15 Aug 2023 12:49:21 -0400 Subject: [PATCH] Bug 1848819 - Sync initial experiment from main to v116 --- app/src/main/res/raw/initial_experiments.json | 218 +++++++++++++++--- 1 file changed, 182 insertions(+), 36 deletions(-) diff --git a/app/src/main/res/raw/initial_experiments.json b/app/src/main/res/raw/initial_experiments.json index 2a50d56ba..bdeb826de 100644 --- a/app/src/main/res/raw/initial_experiments.json +++ b/app/src/main/res/raw/initial_experiments.json @@ -86,29 +86,43 @@ "slug": "control-off-branch", "ratio": 1, "feature": { - "featureId": "re-engagement-notification", - "enabled": true, - "value": { - "enabled": false + "featureId": "this-is-included-for-mobile-pre-96-support", + "enabled": false, + "value": {} + }, + "features": [ + { + "featureId": "re-engagement-notification", + "enabled": true, + "value": { + "enabled": false + } } - } + ] }, { "slug": "treatment-privacy-notification", "ratio": 1, "feature": { - "featureId": "re-engagement-notification", - "enabled": true, - "value": { + "featureId": "this-is-included-for-mobile-pre-96-support", + "enabled": false, + "value": {} + }, + "features": [ + { + "featureId": "re-engagement-notification", "enabled": true, - "type": 0 + "value": { + "enabled": true, + "type": 0 + } } - } + ] } ], "targeting": "((is_already_enrolled) || ((isFirstRun == 'true') && (app_version|versionCompare('115.!') >= 0)))", "startDate": "2023-06-28", - "enrollmentEndDate": "2023-07-18", + "enrollmentEndDate": "2023-07-20", "endDate": null, "proposedDuration": 30, "proposedEnrollment": 14, @@ -211,6 +225,63 @@ "localizations": null, "locales": null }, + { + "schemaVersion": "1.12.0", + "slug": "fx-release-android-re-engagement-notifications-114-rollout-v2", + "id": "fx-release-android-re-engagement-notifications-114-rollout-v2", + "arguments": {}, + "application": "org.mozilla.firefox", + "appName": "fenix", + "appId": "org.mozilla.firefox", + "channel": "release", + "userFacingName": "Fx Release - Android re-engagement notifications 116 rollout v2", + "userFacingDescription": "Android message for Fx 116", + "isEnrollmentPaused": false, + "isRollout": true, + "bucketConfig": { + "randomizationUnit": "nimbus_id", + "namespace": "fenix-re-engagement-notification-release-mobile_first_run-rollout-2", + "start": 0, + "count": 10000, + "total": 10000 + }, + "featureIds": [ + "re-engagement-notification" + ], + "probeSets": [], + "outcomes": [], + "branches": [ + { + "slug": "control", + "ratio": 1, + "feature": { + "featureId": "this-is-included-for-mobile-pre-96-support", + "enabled": false, + "value": {} + }, + "features": [ + { + "featureId": "re-engagement-notification", + "enabled": true, + "value": { + "enabled": true, + "type": 0 + } + } + ] + } + ], + "targeting": "(app_version|versionCompare('116.*') <= 0) && ((is_already_enrolled) || ((isFirstRun == 'true') && (app_version|versionCompare('116.!') >= 0)))", + "startDate": "2023-07-21", + "enrollmentEndDate": "2023-09-19", + "endDate": null, + "proposedDuration": 60, + "proposedEnrollment": 60, + "referenceBranch": "control", + "featureValidationOptOut": false, + "localizations": null, + "locales": null + }, { "schemaVersion": "1.12.0", "slug": "on-boarding-challenge-the-default", @@ -246,41 +317,55 @@ "slug": "control", "ratio": 1, "feature": { - "featureId": "juno-onboarding", - "enabled": true, - "value": { - "enabled": true + "featureId": "this-is-included-for-mobile-pre-96-support", + "enabled": false, + "value": {} + }, + "features": [ + { + "featureId": "juno-onboarding", + "enabled": true, + "value": { + "enabled": true + } } - } + ] }, { "slug": "treatment-a", "ratio": 1, "feature": { - "featureId": "juno-onboarding", - "enabled": true, - "value": { + "featureId": "this-is-included-for-mobile-pre-96-support", + "enabled": false, + "value": {} + }, + "features": [ + { + "featureId": "juno-onboarding", "enabled": true, - "cards": { - "default-browser": { - "title": "Du entscheidest, was Standard ist", - "body": "Nimm nicht das Erstbeste, sondern das Beste für dich: Firefox schützt deine Privatsphäre.\n\nLies unseren Datenschutzhinweis.", - "link-text": "Datenschutzhinweis", - "image-res": "onboarding_ctd_default_browser" - }, - "sync-sign-in": { - "title": "Alles ist dort, wo du es brauchst", - "body": "Wenn du willst, bringt Firefox deine Tabs und Passwörter auf all deine Geräte.", - "image-res": "onboarding_ctd_sync" - }, - "notification-permission": { - "title": "Du bestimmst, was Firefox kann", - "body": "Benachrichtigungen helfen dabei, Downloads zu managen und Tabs zwischen Geräten zu senden.", - "image-res": "onboarding_ctd_notification" + "value": { + "enabled": true, + "cards": { + "default-browser": { + "title": "Du entscheidest, was Standard ist", + "body": "Nimm nicht das Erstbeste, sondern das Beste für dich: Firefox schützt deine Privatsphäre.\n\nLies unseren Datenschutzhinweis.", + "link-text": "Datenschutzhinweis", + "image-res": "onboarding_ctd_default_browser" + }, + "sync-sign-in": { + "title": "Alles ist dort, wo du es brauchst", + "body": "Wenn du willst, bringt Firefox deine Tabs und Passwörter auf all deine Geräte.", + "image-res": "onboarding_ctd_sync" + }, + "notification-permission": { + "title": "Du bestimmst, was Firefox kann", + "body": "Benachrichtigungen helfen dabei, Downloads zu managen und Tabs zwischen Geräten zu senden.", + "image-res": "onboarding_ctd_notification" + } } } } - } + ] } ], "targeting": "((is_already_enrolled) || ((isFirstRun == 'true') && (app_version|versionCompare('115.!') >= 0) && (language in ['de']) && (region in ['DE'])))", @@ -294,6 +379,67 @@ "localizations": null, "locales": null }, + { + "schemaVersion": "1.12.0", + "slug": "release-android-onboarding-redesign-treatment-a-rollout", + "id": "release-android-onboarding-redesign-treatment-a-rollout", + "arguments": {}, + "application": "org.mozilla.firefox", + "appName": "fenix", + "appId": "org.mozilla.firefox", + "channel": "release", + "userFacingName": "[release] Android Onboarding Redesign - Treatment A Rollout", + "userFacingDescription": "Testing a new onboarding experience.", + "isEnrollmentPaused": false, + "isRollout": true, + "bucketConfig": { + "randomizationUnit": "nimbus_id", + "namespace": "fenix-juno-onboarding-release-mobile_first_run-rollout-1", + "start": 0, + "count": 10000, + "total": 10000 + }, + "featureIds": [ + "juno-onboarding" + ], + "probeSets": [], + "outcomes": [ + { + "slug": "default-browser", + "priority": "primary" + } + ], + "branches": [ + { + "slug": "treatment-a", + "ratio": 1, + "feature": { + "featureId": "this-is-included-for-mobile-pre-96-support", + "enabled": false, + "value": {} + }, + "features": [ + { + "featureId": "juno-onboarding", + "enabled": true, + "value": { + "enabled": true + } + } + ] + } + ], + "targeting": "((is_already_enrolled) || ((isFirstRun == 'true') && (app_version|versionCompare('116.!') >= 0)))", + "startDate": "2023-07-12", + "enrollmentEndDate": "2023-08-08", + "endDate": null, + "proposedDuration": 28, + "proposedEnrollment": 7, + "referenceBranch": "treatment-a", + "featureValidationOptOut": false, + "localizations": null, + "locales": null + }, { "schemaVersion": "1.12.0", "slug": "splash-screen-max-duration-test",