Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/clients.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ jobs:
uses: pocket/pocket-monorepo/.github/actions/install-pnpm-and-node@main
- name: Generate release, if needed
shell: bash
run: HUSKY=0 pnpm dlx semantic-release
run: HUSKY=0 pnpm dlx semantic-release@24.2.9
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Check for new release
Expand Down
5 changes: 3 additions & 2 deletions clients/web/public/locales/en/goodbye.json
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
{
"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>",
"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>",
"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>",
"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>",
"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>",
"thank-you": "<0>Thank you for being a part of this journey</0><1></1><2>Contact us for press inquiries at <2>press@getpocket.com</2>.</2>",
"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>",
"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>"
"additional-details": "Additional details",
"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>"
}
10 changes: 2 additions & 8 deletions clients/web/src/connectors/global-nav/global-nav.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,6 @@ import { sendSnowplowEvent } from 'connectors/snowplow/snowplow.state'
import { itemsImportShow } from 'connectors/items/mutation-import.state'
import { featureFlagActive } from 'connectors/feature-flags/feature-flags'

import { Banner } from './global-nav-banner'

// check empty avatar value coming from endpoint (sample default avatar url to overwrite https://pocket-profile-images.s3.amazonaws.com/profileBlue.png)
export const enforceDefaultAvatar = (avatarUrl = '') => {
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
Expand All @@ -42,7 +40,7 @@ export const enforceDefaultAvatar = (avatarUrl = '') => {
* provided to it to the GlobalNav component.
*/
const GlobalNav = (props) => {
const { selectedLink: selected, subset, tag, noNav, bannerCampaign, onlyLogout } = props
const { selectedLink: selected, subset, tag, bannerCampaign, onlyLogout } = props
const { t } = useTranslation()
const dispatch = useDispatch()
const router = useRouter()
Expand Down Expand Up @@ -115,7 +113,6 @@ const GlobalNav = (props) => {
}

const NavTakeover = navChildren[appMode]
const hideNav = noNav

const onLoginClick = (event) => {
event.preventDefault()
Expand All @@ -127,8 +124,6 @@ const GlobalNav = (props) => {
dispatch(itemsImportShow())
}

const CurrentBanner = bannerCampaign ? Banner : null

return (
<GlobalNavComponent
suppressHydrationWarning
Expand Down Expand Up @@ -160,10 +155,9 @@ const GlobalNav = (props) => {
setDetailMode={setDetailMode}
sendImpression={sendImpressionEvent}
tools={tools}
noNav={hideNav}
noNav={true}
onlyLogout={onlyLogout}
bannerCampaign={bannerCampaign}
Banner={CurrentBanner}
flagsReady={flagsReady}>
{NavTakeover ? (
<NavTakeover onClose={resetNav} searchEnrolled={true} fromSaves={fromSaves} />
Expand Down
74 changes: 9 additions & 65 deletions clients/web/src/containers/farewell/farewell.js
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ export function Farewell() {
</div>
<div>
<Trans t={t} i18nKey="goodbye:why">
<h3>Why is Pocket shutting down?</h3>
<h3>Why has Pocket shut down?</h3>
<p>
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
Expand Down Expand Up @@ -97,7 +97,7 @@ export function Farewell() {
<Trans t={t} i18nKey="goodbye:mozilla-commitment">
<h3>Mozilla’s commitment to high-quality content recommendations</h3>
<p>
While Pocket is shutting down, Mozilla continues with our commitment to high-quality
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
Expand All @@ -113,69 +113,13 @@ export function Farewell() {
</section>

<section className={`page-container ${style.whatsNext}`}>
<Trans t={t} i18nKey="goodbye:what-happens-next">
<h2>What happens next?</h2>

<div>
<h4>Saves Export</h4>
<ul>
<li>
You can{' '}
<a href="https://support.mozilla.org/kb/exporting-your-pocket-list">export</a>{' '}
saves anytime until October 8, 2025, after which all user data will be permanently
deleted.
</li>
<li>
For account support and enquiries, please visit the{' '}
<a href="https://support.mozilla.org/products/pocket">Pocket support page.</a>
</li>
</ul>
</div>
<div>
<h4>Premium User Subscriptions</h4>
<ul>
<li>
Premium monthly subscriptions will be cancelled automatically before their next
billing cycle.
</li>
<li>
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.
</li>
<li>
We’ve arranged refunds to users’ original payment method based on their
subscription type.
</li>
</ul>
</div>

<div>
<h4>Pocket Hits </h4>
<ul>
<li>
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.
</li>
<li>
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.
</li>
</ul>
</div>

<div className={style.additional}>
<a
className="button secondary large"
href="https://support.mozilla.org/en-US/kb/future-of-pocket">
Additional details
</a>
</div>
</Trans>
<div className={style.additional}>
<a
className="button secondary large"
href="https://support.mozilla.org/en-US/kb/future-of-pocket">
{t('additional-details', 'Additional details')}
</a>
</div>
</section>

<section className={`page-container ${style.footer}`}>
Expand Down
Loading