diff --git a/docs/METRICS.md b/docs/METRICS.md index 8f14483..07e6787 100644 --- a/docs/METRICS.md +++ b/docs/METRICS.md @@ -196,9 +196,7 @@ Some `extra_keys` are sent with every telemetry event recorded by the extension: - `'best_buy_link'`: Sends the user to Best Buy. - `'ebay_link'`: Sends the user to eBay. - `'feedback_button'`: Sends the user to a feedback Survey. - - `'help_button'`: Sends the user to a Price Wise support.mozilla.org page. - `'home_depot_link'`: Sends the user to Home Depot. - - `'learn_more_link'`: Sends the user to a Price Wise support.mozilla.org page. - `'walmart_link'`: Sends the user to Walmart. - `'extraction_id'`: A unique identifier to associate an extraction attempt to an extraction completion event for a given page. - `'is_bg_update'`: 'true' if the extraction is associated with a background price check; otherwise 'false'. diff --git a/src/browser_action/components/BrowserActionApp.css b/src/browser_action/components/BrowserActionApp.css index e2d9db8..c9c0d0f 100644 --- a/src/browser_action/components/BrowserActionApp.css +++ b/src/browser_action/components/BrowserActionApp.css @@ -5,16 +5,19 @@ /** Top-level components for the toolbar panel */ .title-bar { - align-items: center; border-bottom: 1px solid var(--grey-30); - display: flex; height: 42px; - justify-content: space-between; margin: 0; overflow: hidden; padding: 0 8px; } +.title-bar .feedback { + position: absolute; + top: 5px; + left: 5px; +} + .title-bar .title { font-size: 13px; font-weight: bold; diff --git a/src/browser_action/components/BrowserActionApp.jsx b/src/browser_action/components/BrowserActionApp.jsx index 5050729..a15c44e 100644 --- a/src/browser_action/components/BrowserActionApp.jsx +++ b/src/browser_action/components/BrowserActionApp.jsx @@ -70,15 +70,6 @@ export default class BrowserActionApp extends React.Component { await recordEvent('open_popup', 'toolbar_button', null, {badge_type: await getBadgeType()}); } - /** - * Open the support page and close the panel when the help icon is clicked. - */ - async handleClickHelp() { - browser.tabs.create({url: await config.get('supportUrl')}); - await recordEvent('open_nonproduct_page', 'ui_element', null, {element: 'help_button'}); - window.close(); - } - /** * Open the feedback page and close the panel when the help icon is clicked. */ @@ -138,14 +129,6 @@ export default class BrowserActionApp extends React.Component { />