Bug 1964116 - Update infobar schema to reflect that 'text' can be an array r=jprickett,omc-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D247646
This commit is contained in:
committed by
mviar@mozilla.com
parent
b61f8c3281
commit
d42d78e05a
@@ -1570,6 +1570,48 @@ const MESSAGES = () => [
|
||||
},
|
||||
groups: [],
|
||||
},
|
||||
{
|
||||
id: "UNIVERSAL_INFOBAR_WITH_EMBEDDED_LINKS",
|
||||
content: {
|
||||
text: [
|
||||
"Read the release notes ",
|
||||
{
|
||||
raw: "here. ",
|
||||
href: "https://www.mozilla.org/en-US/firefox/releases/",
|
||||
},
|
||||
{
|
||||
string_id: "cookie-banner-blocker-onboarding-learn-more",
|
||||
href: "https://mozilla.org/privacy/firefox/?v=product",
|
||||
},
|
||||
"!",
|
||||
],
|
||||
type: "universal",
|
||||
dismissable: false,
|
||||
buttons: [
|
||||
{
|
||||
label: "Continue",
|
||||
action: {
|
||||
type: "SET_PREF",
|
||||
data: {
|
||||
pref: {
|
||||
name: "universal-infobar-test-pref",
|
||||
value: true,
|
||||
},
|
||||
},
|
||||
},
|
||||
primary: true,
|
||||
accessKey: "C",
|
||||
},
|
||||
],
|
||||
},
|
||||
trigger: {
|
||||
id: "defaultBrowserCheck",
|
||||
},
|
||||
template: "infobar",
|
||||
frequency: {
|
||||
lifetime: 100,
|
||||
},
|
||||
},
|
||||
];
|
||||
|
||||
export const PanelTestProvider = {
|
||||
|
||||
Reference in New Issue
Block a user