refactor fxms schemas to pull out common features (i.e., everything but content)
Categories
(Firefox :: New Tab Page, task)
Tracking
()
Tracking | Status | |
---|---|---|
firefox104 | --- | fixed |
People
(Reporter: barret, Assigned: barret)
References
(Blocks 2 open bugs)
Details
Attachments
(2 files)
The fxms schemas (e.g, Spotlight, ExtensionDoorhanger, etc.) all share common fields that should be refactored out into the messaging experiment schema.
Assignee | ||
Comment 1•2 years ago
|
||
Depends on D150693
Assignee | ||
Comment 2•2 years ago
|
||
The following propertie have been refactored out into the top-level message
schema so that they don't have to be repeated in each template's schema:
frequency
groups
id
priority
targeting
trigger
Each template schema now requires only its template (as a const value or enum)
and its content, as well as any additional top-level properties that are
message specific (e.g., order
for WhatsNewMessage).
The trigger
property is no longer a required property for any message. The
id
, content
, template
, and targeting
properties are required for all
messages. Individual template schemas do not need to mark content
and
template
as required since they are required by the top-level schema.
Depends on D150704
Updated•2 years ago
|
Assignee | ||
Updated•2 years ago
|
Pushed by brennie@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/568811e2c4f1 Refactor out localizableText and localizedText from FxMS schemas r=nalexander,dmose https://hg.mozilla.org/integration/autoland/rev/9523cd578625 Refactor out common elements of FxMS schema r=Mardak
Comment 4•2 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/568811e2c4f1
https://hg.mozilla.org/mozilla-central/rev/9523cd578625
Description
•