commit 372ff2cc65d6a690b8448631f7c089d3a58c4f7e parent b264ffe5c8dbba5c38f4660af7c6f1f7cfdaf5ee Author: t-p-white <towhite@mozilla.com> Date: Thu, 8 Jan 2026 10:50:13 +0000 Bug 2008712 - Part 1: Update Nimbus `terms-of-use-prompt` to use an enum to define which content option to use. r=android-reviewers,joberhauser Differential Revision: https://phabricator.services.mozilla.com/D278006 Diffstat:
| M | mobile/android/fenix/app/nimbus.fml.yaml | | | 25 | +++++++++++++++++++++++++ |
1 file changed, 25 insertions(+), 0 deletions(-)
diff --git a/mobile/android/fenix/app/nimbus.fml.yaml b/mobile/android/fenix/app/nimbus.fml.yaml @@ -616,6 +616,10 @@ features: description: When the feature is enabled then the prompt can show for users. type: Boolean default: false + content-option: + description: Defines which content option should used for the prompt. + type: TermsOfUsePromptContentOption + default: value-0 max-display-count: description: The maximum number of times to show the prompt. type: Int @@ -1086,3 +1090,24 @@ types: description: The collection for the setup checklist that has 3 items. collection-2: description: The collection for the setup checklist that has 6 items. + + # Enum is aligned with other Firefox platforms for consistent experiment configuration. + TermsOfUsePromptContentOption: + description: | + Determines which predefined title and "learn more" strings are used for the Terms of Use prompt. + variants: + value-0: + description: | + Uses the current defaults: + - Title: "We've got an update" + - Learn more: "Please take a moment to review and accept. Learn more." + value-1: + description: | + Uses the following copy: + - Title: "Terms of Use" + - Learn more: "You can learn more here." + value-2: + description: | + Uses the following copy: + - Title: "A note from Firefox" + - Learn more: "You can learn more here."