Bug 1901261 - Create a remotely configurable bookmarks bar button messaging surface r=mviar,desktop-theme-reviewers,omc-reviewers

Differential Revision: https://phabricator.services.mozilla.com/D215252
This commit is contained in:
hanna alemu
2024-07-31 13:21:47 +00:00
parent ac1fe13cf8
commit f04c2799bc
20 changed files with 322 additions and 2 deletions

View File

@@ -94,6 +94,28 @@ const MESSAGES = () => [
patterns: ["*://*/*.pdf"],
},
},
{
id: "TEST_BMB_BUTTON",
groups: [],
template: "bookmarks_bar_button",
content: {
label: {
raw: "Getting Started",
tooltiptext: "Getting started with Firefox",
},
action: {
type: "OPEN_URL",
data: {
args: "https://www.mozilla.org",
where: "tab",
},
navigate: true,
},
},
frequency: { lifetime: 100 },
trigger: { id: "defaultBrowserCheck" },
targeting: "true",
},
{
id: "MULTISTAGE_SPOTLIGHT_MESSAGE",
groups: ["panel-test-provider"],