diff --git a/_locales/en/messages.json b/_locales/en/messages.json index 673b8fc22..ceb9eafaf 100644 --- a/_locales/en/messages.json +++ b/_locales/en/messages.json @@ -947,6 +947,9 @@ "settings_allow_offers": { "message": "Participating in Ghostery Rewards" }, + "settings_allow_abtests": { + "message": "Participating in A/B Tests" + }, "settings_signin_create_header": { "message": "Sign In / Create Account" }, @@ -1037,6 +1040,9 @@ "settings_offers_tooltip": { "message": "Ghostery Rewards is a private-by-design feature that delivers you discounts and special offers from our partner companies as you browse." }, + "settings_abtests_tooltip": { + "message": "Participating in randomized A/B tests helps Ghostery understand which version of a new layout or feature users like you prefer." + }, "settings_opt_in": { "message": "Opt In / Out" }, diff --git a/app/panel/components/Settings/OptIn.jsx b/app/panel/components/Settings/OptIn.jsx index f74262c0b..e84546329 100644 --- a/app/panel/components/Settings/OptIn.jsx +++ b/app/panel/components/Settings/OptIn.jsx @@ -18,62 +18,84 @@ import globals from '../../../../src/classes/Globals'; const { IS_CLIQZ, BROWSER_INFO } = globals; const IS_ANDROID = (BROWSER_INFO.os === 'android'); +const TOOLTIP_SVG_FILEPATH = '../../app/images/panel/icon-information-tooltip.svg'; + /** * @class Implement Opt In subview as a React component. * The view opens from the left-side menu of the main Settings view. * It invites user to opt in for telemetry options, human web and offers * @memberOf SettingsComponents */ -const OptIn = ({ settingsData, toggleCheckbox }) => ( -