forked from Floorp-Projects/Floorp
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Bug 1735841 - Update template with hidden text that is shown on a lin…
…k click for Total Cookie Protection r=andreio Introduce an extra expanded text with a learn more toggle button. Allow for message configuration of various sizes. Differential Revision: https://phabricator.services.mozilla.com/D129556
- Loading branch information
Showing
7 changed files
with
215 additions
and
25 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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -251,6 +251,56 @@ const MESSAGES = () => [ | |
}, | ||
frequency: { lifetime: 3 }, | ||
}, | ||
{ | ||
id: "TCP_SPOTLIGHT_MESSAGE_95", | ||
template: "spotlight", | ||
content: { | ||
template: "logo-and-content", | ||
logo: { | ||
imageURL: "chrome://branding/content/[email protected]", | ||
size: "64px", | ||
}, | ||
body: { | ||
title: { | ||
label: { | ||
string_id: "spotlight-total-cookie-protection-header", | ||
}, | ||
size: "24px", | ||
}, | ||
text: { | ||
label: { | ||
string_id: "spotlight-total-cookie-protection-body", | ||
}, | ||
size: "20px", | ||
}, | ||
primary: { | ||
label: { | ||
string_id: "spotlight-total-cookie-protection-primary-button", | ||
}, | ||
action: { | ||
type: "ENABLE_TOTAL_COOKIE_PROTECTION", | ||
}, | ||
}, | ||
secondary: { | ||
label: { | ||
string_id: "spotlight-total-cookie-protection-secondary-button", | ||
}, | ||
action: { | ||
type: "CANCEL", | ||
}, | ||
}, | ||
}, | ||
extra: { | ||
expanded: { | ||
label: { | ||
string_id: "spotlight-total-cookie-protection-expanded", | ||
}, | ||
size: "13px", | ||
}, | ||
}, | ||
}, | ||
frequency: { lifetime: 3 }, | ||
}, | ||
]; | ||
|
||
const PanelTestProvider = { | ||
|
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