From 9fe10e8a2b9ebd138f7027d7491fbbdaf22b8ea8 Mon Sep 17 00:00:00 2001 From: Jonathan Almeida Date: Tue, 23 Aug 2022 18:41:04 -0400 Subject: [PATCH] Closes #26615 Add nimbus configuration feature flags for MR 2022 --- .experimenter.yaml | 8 ++++++++ nimbus.fml.yaml | 46 ++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 54 insertions(+) diff --git a/.experimenter.yaml b/.experimenter.yaml index f7c9a9e45..acca9095c 100644 --- a/.experimenter.yaml +++ b/.experimenter.yaml @@ -44,6 +44,14 @@ messaging: triggers: type: json description: "A collection of out the box trigger expressions. Each entry maps to a valid JEXL expression.\n" +mr2022: + description: Features for MR 2022. + hasExposure: true + exposureDescription: "" + variables: + sections-enabled: + type: json + description: This property provides a lookup table of whether or not the given section should be enabled. 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. hasExposure: true diff --git a/nimbus.fml.yaml b/nimbus.fml.yaml index bf364763d..48b4b7b64 100644 --- a/nimbus.fml.yaml +++ b/nimbus.fml.yaml @@ -216,6 +216,35 @@ features: EXPIRES_QUICKLY: priority: 100 max-display-count: 1 + mr2022: + description: Features for MR 2022. + variables: + sections-enabled: + description: "This property provides a lookup table of whether or not the given section should be enabled." + type: Map + default: + { + "home-onboarding-dialog-new-users": false, + "home-onboarding-dialog-existing-users": false, + "sync-cfr": false, + "wallpapers-selection-tool": false, + "jump-back-in-cfr": false, + "tcp-cfr": false, + "tcp-feature": false + } + defaults: + - channel: developer + value: { + "sections-enabled": { + "home-onboarding-dialog-new-users": true, + "home-onboarding-dialog-existing-users": true, + "sync-cfr": true, + "wallpapers-selection-tool": true, + "jump-back-in-cfr": true, + "tcp-cfr": true, + "tcp-feature": true + } + } unified-search: description: A feature allowing user to easily search for specified results directly in the search bar. @@ -351,3 +380,20 @@ types: description: Jump back in onboarding CFR. first-run-onboarding: description: First run onboarding page updates. + MR2022Section: + description: The identifiers for the sections of the MR 2022. + variants: + home-onboarding-dialog-existing-users: + description: Home onboarding dialog for upgraded users. + home-onboarding-dialog-new-users: + description: Home onboarding dialog for new users. + sync-cfr: + description: CFR for the first time you see a synced tab on the home screen. + wallpapers-selection-tool: + description: Wallpapers selection dialog tool for the home screen. + jump-back-in-cfr: + description: Jump back-in onboarding message. + tcp-cfr: + description: CFR for the first time you use the browse with Total Cookie Protection on the browser screen. + tcp-feature: + description: Controls the Total Cookie Protection feature.