From cafc8dd46ec55f230b2ab5a5e4967d00b932929a Mon Sep 17 00:00:00 2001 From: Maurice Date: Sat, 31 Oct 2026 12:26:36 +0100 Subject: [PATCH] fix: link dataforest cloud with /en again The 5.1.0 popup, the sponsor panel in Settings > About and the README had switched to https://cloud.dataforest.net/?mtm_campaign=trek. The link stays https://cloud.dataforest.net/en?mtm_campaign=trek everywhere. --- README.md | 8 ++++---- client/src/components/Settings/AboutTab.test.tsx | 2 +- client/src/components/Settings/AboutTab.tsx | 2 +- .../components/SystemNotices/ReleaseNoticeModal.test.tsx | 2 +- .../src/components/SystemNotices/ReleaseNoticeModal.tsx | 2 +- 5 files changed, 8 insertions(+), 8 deletions(-) diff --git a/README.md b/README.md index d1e2565ee..7f6bd8da6 100644 --- a/README.md +++ b/README.md @@ -36,7 +36,7 @@ TREK has grown from a travel planner into a whole ecosystem for trips: plan toge   Stars -PUBLIC SERVICES PROUDLY SPONSORED BY
dataforest cloud +PUBLIC SERVICES PROUDLY SPONSORED BY
dataforest cloud --- @@ -224,7 +224,7 @@ Most of what follows is an addon an admin switches on or off. Lists, Costs, Docu
- + @@ -243,7 +243,7 @@ Thank you, dataforest, for backing open source this generously. 💚
-
Visit dataforest cloud +Visit dataforest cloud Looking for a server for your own TREK? dataforest cloud is where TREK's own services live. @@ -277,7 +277,7 @@ Open `http://localhost:3000`, or `http://:3000` from another machine. `COOKIE_SECURE=false` is only for trying TREK over plain HTTP: without it the browser drops the session cookie and the login does not stick. Once TREK sits behind HTTPS (see [Reverse Proxy](#reverse-proxy)), remove it. > [!TIP] -> **No server yet?** TREK's own public services run on [**dataforest cloud**](https://cloud.dataforest.net/?mtm_campaign=trek), our infrastructure sponsor. A small seed is plenty for a TREK instance and is ready within a minute. +> **No server yet?** TREK's own public services run on [**dataforest cloud**](https://cloud.dataforest.net/en?mtm_campaign=trek), our infrastructure sponsor. A small seed is plenty for a TREK instance and is ready within a minute.
diff --git a/client/src/components/Settings/AboutTab.test.tsx b/client/src/components/Settings/AboutTab.test.tsx index 063e6f43e..312429722 100644 --- a/client/src/components/Settings/AboutTab.test.tsx +++ b/client/src/components/Settings/AboutTab.test.tsx @@ -134,7 +134,7 @@ describe('AboutTab', () => { it('FE-COMP-ABOUT-018: the sponsor panel links dataforest cloud wherever it is named, with both logos bundled', () => { render(); - const links = document.querySelectorAll('a[href="https://cloud.dataforest.net/?mtm_campaign=trek"]'); + const links = document.querySelectorAll('a[href="https://cloud.dataforest.net/en?mtm_campaign=trek"]'); // The logo tile, the call to action, and the brand name in the title and in the body. expect(links).toHaveLength(4); for (const link of links) { diff --git a/client/src/components/Settings/AboutTab.tsx b/client/src/components/Settings/AboutTab.tsx index 81c5f6e9d..555ac63c7 100644 --- a/client/src/components/Settings/AboutTab.tsx +++ b/client/src/components/Settings/AboutTab.tsx @@ -93,7 +93,7 @@ function LinkTile({ ); } -const DATAFOREST_HREF = 'https://cloud.dataforest.net/?mtm_campaign=trek'; +const DATAFOREST_HREF = 'https://cloud.dataforest.net/en?mtm_campaign=trek'; const DATAFOREST_NAME = 'dataforest cloud'; const DATAFOREST = '#02C382'; // theme-lint-disable: brand colour (dataforest cloud) diff --git a/client/src/components/SystemNotices/ReleaseNoticeModal.test.tsx b/client/src/components/SystemNotices/ReleaseNoticeModal.test.tsx index 4c237c029..731d62803 100644 --- a/client/src/components/SystemNotices/ReleaseNoticeModal.test.tsx +++ b/client/src/components/SystemNotices/ReleaseNoticeModal.test.tsx @@ -239,7 +239,7 @@ describe('ReleaseNoticeModal', () => { const links = screen.getAllByRole('link', { name: 'dataforest cloud' }); expect(links).toHaveLength(2); for (const link of links) { - expect(link).toHaveAttribute('href', 'https://cloud.dataforest.net/?mtm_campaign=trek'); + expect(link).toHaveAttribute('href', 'https://cloud.dataforest.net/en?mtm_campaign=trek'); expect(link).toHaveAttribute('target', '_blank'); expect(link).toHaveAttribute('rel', 'noopener noreferrer'); } diff --git a/client/src/components/SystemNotices/ReleaseNoticeModal.tsx b/client/src/components/SystemNotices/ReleaseNoticeModal.tsx index fd844a2d6..47244ce1b 100644 --- a/client/src/components/SystemNotices/ReleaseNoticeModal.tsx +++ b/client/src/components/SystemNotices/ReleaseNoticeModal.tsx @@ -38,7 +38,7 @@ function SteamingCoffee() { } const SPONSOR = 'dataforest cloud'; -const SPONSOR_HREF = 'https://cloud.dataforest.net/?mtm_campaign=trek'; +const SPONSOR_HREF = 'https://cloud.dataforest.net/en?mtm_campaign=trek'; /** The sponsor's name is a brand and reads the same in every language, so wherever a line names it, it links. */ function withSponsorLink(text: string): React.ReactNode {