Skip to content

Commit bed66cf

Browse files
committed
feat(home): clean up shutdown assets
1 parent 67f3ae7 commit bed66cf

File tree

6 files changed

+14
-75
lines changed

6 files changed

+14
-75
lines changed
Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,10 @@
11
{
22
"announcement": "<0>So long, farewell, Auf Wiedersehen...</0><1>After careful consideration, we’ve made the difficult decision to phase out Pocket - our read-it-later and content discovery app. This includes the Pocket Web, Android, iOS, and macOS apps, as well as the Pocket browser extensions.</1>",
33
"investing-in-the-future": "<0>Investing in the future</0><1>Firefox is the only major browser not backed by a billionaire and our independence shapes everything we build. This independence allows us to prioritize building products and tools, which shape the future of the internet for the better. And it means we have to be intentional about where we invest our time and resources so we can make the biggest impact.</1>",
4-
"mozilla-commitment": "<0>Mozilla’s commitment to high-quality content recommendations</0><1>While Pocket is shutting down, Mozilla continues with our commitment to high-quality content recommendations in Firefox. We take an “algotorial” approach to curating the best of the web for the millions of users who make Firefox their window to the internet. We use machine learning algorithms to scour the internet for high quality content that will appeal to Firefox’s large and diverse user base, while relying on a human editorial team to provide oversight to ensure that the recommendations on Firefox New Tab are trustworthy, engaging, and high quality.</1>",
4+
"mozilla-commitment": "<0>Mozilla’s commitment to high-quality content recommendations</0><1>While Pocket has shut down, Mozilla continues with our commitment to high-quality content recommendations in Firefox. We take an “algotorial” approach to curating the best of the web for the millions of users who make Firefox their window to the internet. We use machine learning algorithms to scour the internet for high quality content that will appeal to Firefox’s large and diverse user base, while relying on a human editorial team to provide oversight to ensure that the recommendations on Firefox New Tab are trustworthy, engaging, and high quality.</1>",
55
"pocket-heritage": "<0>Pocket’s Heritage</0><1>What began as a read-it-later app evolved into something much bigger. After Mozilla acquired Pocket in 2017, we invested in building content curation and recommendation capabilities so people everywhere can discover and access high quality web content.</1><2>In the past 8 years, we’ve expanded high-quality content recommendations to more than a dozen countries and five languages, connecting tens of millions of people each month with articles worthy of their time and attention.</2>",
66
"thank-you": "<0>Thank you for being a part of this journey</0><1></1><2>Contact us for press inquiries at <2>[email protected]</2>.</2>",
77
"what-happens-next": "<0>What happens next?</0><1><0>Saves Export</0><1><0>You can <2>export</2> saves anytime until October 8, 2025, after which all user data will be permanently deleted.</0><1>For account support and enquiries, please visit the <2>Pocket support page.</2></1></1></1><2><0>Premium User Subscriptions</0><1><0>Premium monthly subscriptions will be cancelled automatically before their next billing cycle.</0><1>Premium annual subscriptions will be cancelled on July 8, and users will receive a prorated refund automatically. The refund will be based on how much time is left in their subscription after July 8, 2025.</1><2>We’ve arranged refunds to users’ original payment method based on their subscription type.</2></1></2><3><0>Pocket Hits </0><1><0>The Pocket email newsletter “Pocket Hits”, which offers readers daily and weekly curation of engaging content from trustworthy sources, will be renamed mid-June 2025, to “Ten Tabs ”. All readers will be notified about these changes in the email newsletter.</0><1>Readers will continue receiving the same high-quality content in the usual format, curated by the same editorial team, but now powered by Firefox. Those who no longer wish to receive the newsletter can opt out via the unsubscribe link at the bottom of the email.</1></1></3><4><0>Additional details</0></4>",
8-
"why": "<0>Why is Pocket shutting down?</0><1>Pocket has helped millions save articles and discover stories worth reading. But the way people save and consume content on the web has evolved, so we’re channeling our resources into projects that better match browsing habits today. Discovery also continues to evolve; Pocket helped shape the curated content recommendations you already see in Firefox, and that experience will keep getting better. Meanwhile, new features like Tab Groups and enhanced bookmarks now provide built-in ways to manage reading lists easily.</1>"
8+
"additional-details": "Additional details",
9+
"why": "<0>Why has Pocket shut down?</0><1>Pocket has helped millions save articles and discover stories worth reading. But the way people save and consume content on the web has evolved, so we’re channeling our resources into projects that better match browsing habits today. Discovery also continues to evolve; Pocket helped shape the curated content recommendations you already see in Firefox, and that experience will keep getting better. Meanwhile, new features like Tab Groups and enhanced bookmarks now provide built-in ways to manage reading lists easily.</1>"
910
}

clients/web/src/connectors/global-nav/global-nav.js

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,6 @@ import { sendSnowplowEvent } from 'connectors/snowplow/snowplow.state'
2121
import { itemsImportShow } from 'connectors/items/mutation-import.state'
2222
import { featureFlagActive } from 'connectors/feature-flags/feature-flags'
2323

24-
import { Banner } from './global-nav-banner'
25-
2624
// check empty avatar value coming from endpoint (sample default avatar url to overwrite https://pocket-profile-images.s3.amazonaws.com/profileBlue.png)
2725
export const enforceDefaultAvatar = (avatarUrl = '') => {
2826
const DISALLOWED_PROFILE_IMGS = ['profileBlue.png'] // file names of default urls returned by BE. If a user avatar url contains one of these, we prefer to return an empty string, in order to use the Web UI's Avatar default image instead
@@ -42,7 +40,7 @@ export const enforceDefaultAvatar = (avatarUrl = '') => {
4240
* provided to it to the GlobalNav component.
4341
*/
4442
const GlobalNav = (props) => {
45-
const { selectedLink: selected, subset, tag, noNav, bannerCampaign, onlyLogout } = props
43+
const { selectedLink: selected, subset, tag, bannerCampaign, onlyLogout } = props
4644
const { t } = useTranslation()
4745
const dispatch = useDispatch()
4846
const router = useRouter()
@@ -115,7 +113,6 @@ const GlobalNav = (props) => {
115113
}
116114

117115
const NavTakeover = navChildren[appMode]
118-
const hideNav = noNav
119116

120117
const onLoginClick = (event) => {
121118
event.preventDefault()
@@ -127,8 +124,6 @@ const GlobalNav = (props) => {
127124
dispatch(itemsImportShow())
128125
}
129126

130-
const CurrentBanner = bannerCampaign ? Banner : null
131-
132127
return (
133128
<GlobalNavComponent
134129
suppressHydrationWarning
@@ -160,10 +155,9 @@ const GlobalNav = (props) => {
160155
setDetailMode={setDetailMode}
161156
sendImpression={sendImpressionEvent}
162157
tools={tools}
163-
noNav={hideNav}
158+
noNav={true}
164159
onlyLogout={onlyLogout}
165160
bannerCampaign={bannerCampaign}
166-
Banner={CurrentBanner}
167161
flagsReady={flagsReady}>
168162
{NavTakeover ? (
169163
<NavTakeover onClose={resetNav} searchEnrolled={true} fromSaves={fromSaves} />

clients/web/src/containers/farewell/farewell.js

Lines changed: 9 additions & 65 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ export function Farewell() {
4242
</div>
4343
<div>
4444
<Trans t={t} i18nKey="goodbye:why">
45-
<h3>Why is Pocket shutting down?</h3>
45+
<h3>Why has Pocket shut down?</h3>
4646
<p>
4747
Pocket has helped millions save articles and discover stories worth reading. But the
4848
way people save and consume content on the web has evolved, so we’re channeling our
@@ -97,7 +97,7 @@ export function Farewell() {
9797
<Trans t={t} i18nKey="goodbye:mozilla-commitment">
9898
<h3>Mozilla’s commitment to high-quality content recommendations</h3>
9999
<p>
100-
While Pocket is shutting down, Mozilla continues with our commitment to high-quality
100+
While Pocket has shut down, Mozilla continues with our commitment to high-quality
101101
content recommendations in Firefox. We take an “algotorial” approach to curating the
102102
best of the web for the millions of users who make Firefox their window to the
103103
internet. We use machine learning algorithms to scour the internet for high quality
@@ -113,69 +113,13 @@ export function Farewell() {
113113
</section>
114114

115115
<section className={`page-container ${style.whatsNext}`}>
116-
<Trans t={t} i18nKey="goodbye:what-happens-next">
117-
<h2>What happens next?</h2>
118-
119-
<div>
120-
<h4>Saves Export</h4>
121-
<ul>
122-
<li>
123-
You can{' '}
124-
<a href="https://support.mozilla.org/kb/exporting-your-pocket-list">export</a>{' '}
125-
saves anytime until October 8, 2025, after which all user data will be permanently
126-
deleted.
127-
</li>
128-
<li>
129-
For account support and enquiries, please visit the{' '}
130-
<a href="https://support.mozilla.org/products/pocket">Pocket support page.</a>
131-
</li>
132-
</ul>
133-
</div>
134-
<div>
135-
<h4>Premium User Subscriptions</h4>
136-
<ul>
137-
<li>
138-
Premium monthly subscriptions will be cancelled automatically before their next
139-
billing cycle.
140-
</li>
141-
<li>
142-
Premium annual subscriptions will be cancelled on July 8, and users will receive a
143-
prorated refund automatically. The refund will be based on how much time is left
144-
in their subscription after July 8, 2025.
145-
</li>
146-
<li>
147-
We’ve arranged refunds to users’ original payment method based on their
148-
subscription type.
149-
</li>
150-
</ul>
151-
</div>
152-
153-
<div>
154-
<h4>Pocket Hits </h4>
155-
<ul>
156-
<li>
157-
The Pocket email newsletter “Pocket Hits”, which offers readers daily and weekly
158-
curation of engaging content from trustworthy sources, will be renamed mid-June
159-
2025, to “Ten Tabs ”. All readers will be notified about these changes in the
160-
email newsletter.
161-
</li>
162-
<li>
163-
Readers will continue receiving the same high-quality content in the usual format,
164-
curated by the same editorial team, but now powered by Firefox. Those who no
165-
longer wish to receive the newsletter can opt out via the unsubscribe link at the
166-
bottom of the email.
167-
</li>
168-
</ul>
169-
</div>
170-
171-
<div className={style.additional}>
172-
<a
173-
className="button secondary large"
174-
href="https://support.mozilla.org/en-US/kb/future-of-pocket">
175-
Additional details
176-
</a>
177-
</div>
178-
</Trans>
116+
<div className={style.additional}>
117+
<a
118+
className="button secondary large"
119+
href="https://support.mozilla.org/en-US/kb/future-of-pocket">
120+
{t('additional-details', 'Additional details')}
121+
</a>
122+
</div>
179123
</section>
180124

181125
<section className={`page-container ${style.footer}`}>

0 commit comments

Comments
 (0)