This repository has been archived by the owner on Feb 20, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
First use of Nimbus FML plugin (#23400)
* Consume Nimbus FML plugin * Convert Homescreen to use FML * Convert nimbusValidation to use FML * Convert legacy experiments to use the feature API and FML Remove dead helper code and documentation * Fixup failing test Co-authored-by: Grisha Kruglov <gkruglov@mozilla.com> Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
- Loading branch information
1 parent
e92fe26
commit 82a6f8c
Showing
16 changed files
with
228 additions
and
367 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,59 @@ | ||
{ | ||
"search-term-groups": { | ||
"description": "A feature allowing the grouping of URLs around the search term that it came from.", | ||
"hasExposure": true, | ||
"exposureDescription": "", | ||
"variables": { | ||
"enabled": { | ||
"description": "If true, the feature shows up on the homescreen and on the new tab screen.", | ||
"type": "boolean" | ||
} | ||
} | ||
}, | ||
"default-browser-message": { | ||
"description": "A small feature allowing experiments on the placement of a default browser message.", | ||
"hasExposure": true, | ||
"exposureDescription": "", | ||
"variables": { | ||
"message-location": { | ||
"description": "Where is the message to be put.", | ||
"enum": [ | ||
"homescreen-banner", | ||
"settings", | ||
"app-menu-item" | ||
], | ||
"type": "string" | ||
} | ||
} | ||
}, | ||
"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, | ||
"exposureDescription": "", | ||
"variables": { | ||
"settings-icon": { | ||
"description": "The drawable displayed in the app menu for Settings", | ||
"type": "string" | ||
}, | ||
"settings-punctuation": { | ||
"description": "The emoji displayed in the Settings screen title.", | ||
"type": "string" | ||
}, | ||
"settings-title": { | ||
"description": "The title of displayed in the Settings screen and app menu.", | ||
"type": "string" | ||
} | ||
} | ||
}, | ||
"homescreen": { | ||
"description": "The homescreen that the user goes to when they press home or new tab.", | ||
"hasExposure": true, | ||
"exposureDescription": "", | ||
"variables": { | ||
"sections-enabled": { | ||
"description": "This property provides a lookup table of whether or not the given section should be enabled. If the section is enabled, it should be toggleable in the settings screen, and on by default.", | ||
"type": "json" | ||
} | ||
} | ||
} | ||
} |
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
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
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
35 changes: 0 additions & 35 deletions
35
app/src/main/java/org/mozilla/fenix/components/metrics/SecurePrefsTelemetry.kt
This file was deleted.
Oops, something went wrong.
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
35 changes: 0 additions & 35 deletions
35
app/src/main/java/org/mozilla/fenix/experiments/Experiments.kt
This file was deleted.
Oops, something went wrong.
119 changes: 0 additions & 119 deletions
119
app/src/main/java/org/mozilla/fenix/experiments/NimbusFeatures.kt
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.