Bug 1867901 — Add string-alias to features in nimbus feature manifests

fenix/122.0
James Hugman 6 months ago committed by mergify[bot]
parent 226658cfb1
commit 479906b07b

@ -103,6 +103,10 @@ import:
NOTIFICATION:
priority: 50
max-display-count: 1
$$surfaces:
- homescreen
- notification
- survey
messages:
default-browser:
text: default_browser_experiment_card_text

@ -10,14 +10,16 @@ features:
A collection of out the box conditional expressions to be
used in determining whether a card should show or not.
Each entry maps to a valid JEXL expression.
type: Map<String, String>
type: Map<ConditionName, String>
string-alias: ConditionName
default: {
ALWAYS: "true",
NEVER: "false"
}
cards:
description: Collection of user facing onboarding cards.
type: Map<String, OnboardingCardData>
type: Map<OnboardingCardKey, OnboardingCardData>
string-alias: OnboardingCardKey
default:
default-browser:
card-type: default-browser
@ -109,7 +111,7 @@ objects:
# This should never be defaulted.
default: ""
prerequisites:
type: List<String>
type: List<ConditionName>
description: >
A list of strings corresponding to targeting expressions.
The card will be shown if all expressions are `true` and if
@ -117,7 +119,7 @@ objects:
if the `disqualifiers` table is empty.
default: [ ALWAYS ]
disqualifiers:
type: List<String>
type: List<ConditionName>
description: >
A list of strings corresponding to targeting expressions.
The card will not be shown if any expression is `true`.

Loading…
Cancel
Save