Skip to content

Commit 481abd2

Browse files
committed
MPP-4444 - feat(relay-dashboard): remove Pocket option from Bento menu
1 parent db77586 commit 481abd2

File tree

2 files changed

+0
-20
lines changed

2 files changed

+0
-20
lines changed

METRICS.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -756,7 +756,6 @@ The Google Analytics events:
756756
- `eventLabel`: One of:
757757
- `vpn` (Mozilla VPN)
758758
- `moz-monitor` (Mozilla Monitor)
759-
- `pocket` (Pocket)
760759
- `fx-desktop` (Firefox for Desktop)
761760
- `fx-mobile` (Firefox for Mobile)
762761
- The user clicks the "Made by Mozilla" link in the bento menu.

frontend/src/components/layout/navigation/AppPicker.tsx

Lines changed: 0 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,6 @@ import { AriaMenuItemProps, AriaMenuOptions } from "@react-aria/menu";
2020
import styles from "./AppPicker.module.scss";
2121
import FirefoxLogo from "../images/fx.png";
2222
import MonitorLogo from "../images/monitor.png";
23-
import PocketLogo from "../images/pocket.png";
2423
import VpnLogo from "../images/vpn.svg";
2524
import FxDesktopLogo from "../images/fx-logo.svg";
2625
import FxMobileLogo from "../images/fx-mobile.png";
@@ -40,11 +39,6 @@ const getProducts = (referringSiteUrl: string) => ({
4039
)}&utm_medium=referral&utm_campaign=bento&utm_content=desktop&prompt=none`,
4140
gaLabel: "moz-monitor",
4241
},
43-
pocket: {
44-
id: "pocket",
45-
url: "https://app.adjust.com/hr2n0yz?engagement_type=fallback_click&fallback=https%3A%2F%2Fgetpocket.com%2Ffirefox_learnmore%3Fsrc%3Dff_bento&fallback_lp=https%3A%2F%2Fapps.apple.com%2Fapp%2Fpocket-save-read-grow%2Fid309601447",
46-
gaLabel: "pocket",
47-
},
4842
fxDesktop: {
4943
id: "fxDesktop",
5044
url: `https://www.mozilla.org/firefox/new/?utm_source=${encodeURIComponent(
@@ -90,7 +84,6 @@ export const AppPicker = (props: Props) => {
9084
RefObject<HTMLAnchorElement | null>
9185
> = {
9286
monitor: useRef<HTMLAnchorElement>(null),
93-
pocket: useRef<HTMLAnchorElement>(null),
9487
fxDesktop: useRef<HTMLAnchorElement>(null),
9588
fxMobile: useRef<HTMLAnchorElement>(null),
9689
vpn: useRef<HTMLAnchorElement>(null),
@@ -147,18 +140,6 @@ export const AppPicker = (props: Props) => {
147140
{l10n.getString("moz-monitor")}
148141
</a>
149142
</Item>
150-
<Item key={products.pocket.id} textValue={l10n.getString("fx-pocket")}>
151-
<a
152-
ref={linkRefs.pocket}
153-
href={products.pocket.url}
154-
className={`${styles["menu-link"]} ${styles["pocket-link"]}`}
155-
target="_blank"
156-
rel="noopener noreferrer"
157-
>
158-
<Image src={PocketLogo} alt="" width={16} height={16} />
159-
{l10n.getString("fx-pocket")}
160-
</a>
161-
</Item>
162143
<Item
163144
key={products.fxDesktop.id}
164145
textValue={l10n.getString("fx-desktop-2")}

0 commit comments

Comments
 (0)