feat(notices): bring the release notes back on every update

The release modal takes the 4.3.0 design: the release and its headline cards
on the left, the note and the support links on the right, at the design's own
size. The cards carry small drawings of the features instead of an icon.

The 4.0.0 entry is retired. In its place sits one entry, release-notes, that
every big release rewrites and keeps. It recurs per version with no upper
bound, so every user sees it once on each update, whatever they did with it
before, and a reload of the same version keeps it closed. An integration test
holds that promise through the real entry and the real dismiss route.

All 23 locales carry the new copy and drop the 4.0.0 strings.
This commit is contained in:
Maurice
2026-09-15 23:50:15 +02:00
parent 99783cc8da
commit 05ee3d50e4
34 changed files with 1562 additions and 1206 deletions
+35 -36
View File
@@ -50,42 +50,41 @@ const system_notice: TranslationStrings = {
'system_notice.thank_you_support.highlight_community': 'Built together with the community',
'system_notice.thank_you_support.cta_bmc': 'Buy Me a Coffee',
'system_notice.thank_you_support.cta_kofi': 'Support on Ko-fi',
// 4.0.0 release modal — the release on the left, the note from the maintainer on the right
'system_notice.release_400.eyebrow': 'Update installed',
'system_notice.release_400.tag': 'Release',
'system_notice.release_400.headline': 'The biggest release TREK has ever had.',
'system_notice.release_400.intro':
'TREK gets a phone, and a book. Nineteen people wrote this one — and about a hundred and fifty reported bugs went with it.',
'system_notice.release_400.feature_mobile_title': 'TREK goes mobile',
'system_notice.release_400.feature_mobile_body':
'Everything under 768px is its own interface now — a glass dock, its own sheets, its own trip planner. Open TREK on your phone.',
'system_notice.release_400.feature_studio_title': 'TREK Studio',
'system_notice.release_400.feature_studio_badge': 'Beta',
'system_notice.release_400.feature_studio_body':
'The Journey PDF became a photo book designer. It lays the book out when you ask it to, then gets out of the way.',
'system_notice.release_400.feature_vacay_title': 'Vacay learns the rest',
'system_notice.release_400.feature_vacay_body':
'Half days, comp and flex days, school holidays on the grid — and a leave year that does not have to start in January.',
'system_notice.release_400.feature_places_title': 'Places show themselves, files move out',
'system_notice.release_400.feature_places_body':
'Pictures and a description fill themselves in before you save a place. And your uploads no longer have to live on the disk TREK runs on.',
'system_notice.release_400.footnote':
'And these are four of them. 4.0.0 carries several hundred further changes, from Collections and Atlas to the whole server underneath.',
'system_notice.release_400.note_eyebrow': 'A note from the maintainer',
'system_notice.release_400.note_title': 'Thank you for using TREK.',
'system_notice.release_400.note_body':
'TREK started as a little tool for my own trips, written in my spare time. It still is: evenings, weekends, the hours next to a full-time job.\n\nFor a while it was only me. Not anymore — nineteen people shipped this release, and thousands of you arrived with stars, issues, translations and pull requests. I am grateful for every part of it.',
'system_notice.release_400.promise_label': 'The promise',
'system_notice.release_400.promise_text':
'The open-source side of TREK stays free, forever. No paid tiers, no subscriptions, no catch. Promised.',
'system_notice.release_400.note_body_after':
'4.0.0 took weeks of late nights — a phone app, a book designer, a server migration, most of it written between midnight and two. Not a complaint: I love building this. It is just the honest answer to how a release this size comes out of a spare-time project.',
'system_notice.release_400.note_closing': 'Thank you for being here.',
'system_notice.release_400.note_signature': '— Maurice',
'system_notice.release_400.support_text':
'Support is what keeps this running — servers, domains, and the late nights that turn into releases like this one. If TREK is worth something to you, a coffee is the most direct way to keep it going.',
'system_notice.release_400.cta_bmc': 'Buy me a coffee',
'system_notice.release_400.cta_kofi': 'Support on Ko-fi',
// The release modal. One stable set of keys: each big release swaps the copy in place.
'system_notice.release_notes.eyebrow': 'Update installed',
'system_notice.release_notes.headline': 'Three things TREK now does on its own.',
'system_notice.release_notes.intro':
'Its own place API, road trips planned end to end, and your location history back in your hands.',
'system_notice.release_notes.features_label': 'The headliners',
'system_notice.release_notes.features_aside': 'Far from everything',
'system_notice.release_notes.feature_places_title': 'TREK Places API',
'system_notice.release_notes.feature_places_body':
'The first open source travel planner that hosts its own place API. 73.6 million places, rebuilt monthly. No key, no quota.',
'system_notice.release_notes.feature_roadtrip_title': 'Roadtrip Addon',
'system_notice.release_notes.feature_roadtrip_body':
'Road trip mode plans the drive itself: the route, its distance, its hours and its stops. An addon, off until an admin turns it on.',
'system_notice.release_notes.feature_dawarich_title': 'Dawarich Integration',
'system_notice.release_notes.feature_dawarich_body':
'The self-hosted answer to Google Timeline, now readable inside TREK. TREK reads, and only reads. Nothing is ever written back.',
'system_notice.release_notes.footnote': 'Plus a long list of smaller changes across the rest of TREK.',
'system_notice.release_notes.notes_label': 'Release notes',
'system_notice.release_notes.note_eyebrow': 'A note from the maintainer',
'system_notice.release_notes.note_title': 'You are the reason I keep building TREK.',
'system_notice.release_notes.note_body':
'TREK began as a small tool for my own trips, written after work because I wanted a better way to plan them. It never really stopped growing. Almost everything you use was built late at night, on weekends, on trains, next to a full-time job, and there were plenty of evenings I quietly wondered whether anyone out there would ever open it.',
'system_notice.release_notes.promise_label': 'The promise',
'system_notice.release_notes.promise_lead': 'TREK stays free, forever.',
'system_notice.release_notes.promise_text':
'Every feature, every update, for everyone. No paid tiers, no subscriptions, no catch.',
'system_notice.release_notes.note_body_after':
'Then you did. Within a few months there were thousands of you: stars, bug reports, translations into languages I do not speak, pull requests from people I have never met. I still check the repository first thing every morning, and it still does not quite feel real.',
'system_notice.release_notes.note_closing': 'Thank you for being here, from Maurice.',
'system_notice.release_notes.support_lead':
'TREK is free and always will be, but servers, domains and a lot of late nights are not.',
'system_notice.release_notes.support_text':
'If it has earned a place in your trips, buy me a coffee and help keep the next release coming.',
'system_notice.release_notes.cta_bmc': 'Buy me a coffee',
'system_notice.release_notes.cta_kofi': 'Support on Ko-fi',
'system_notice.pager.prev': 'Previous notice',
'system_notice.pager.next': 'Next notice',
'system_notice.pager.counter': '{current} / {total}',