From 6ec8f0f856c7c2ba31ecbc585287441356d0489a Mon Sep 17 00:00:00 2001 From: Evan Hahn <69474926+EvanHahn-Signal@users.noreply.github.com> Date: Wed, 3 Nov 2021 15:56:31 -0500 Subject: [PATCH] Update "What's New" for v5.24 release --- _locales/en/messages.json | 12 ++++++++++++ ts/components/WhatsNewModal.tsx | 10 ++++------ 2 files changed, 16 insertions(+), 6 deletions(-) diff --git a/_locales/en/messages.json b/_locales/en/messages.json index fa9f26830d48..fc61fa2abc50 100644 --- a/_locales/en/messages.json +++ b/_locales/en/messages.json @@ -6556,6 +6556,18 @@ "message": "Screen reader users should now find it easier to navigate through the conversation list on the left pane.", "description": "Release notes for v5.21" }, + "WhatsNew__v5.24--1": { + "message": "You can now search in archived conversations. Imagine yourself searching (quickly) through ancient tomes, looking for the next clue.", + "description": "Release notes for v5.24" + }, + "WhatsNew__v5.24--2": { + "message": "If you've ever scrolled up and sent a message, you might wonder where your message was! Now, whenever you send a message, it'll be scrolled into view for you to admire your hard work.", + "description": "Release notes for v5.24" + }, + "WhatsNew__v5.24--3": { + "message": "Reacting to a message? It should now be more reliable, retrying for up to 24 hours", + "description": "Release notes for v5.24" + }, "WhatsNew__bugfixes": { "message": "This version contains a number of small tweaks and bug fixes to keep Signal running smoothly.", "description": "Release notes for releases that only include bug fixes" diff --git a/ts/components/WhatsNewModal.tsx b/ts/components/WhatsNewModal.tsx index 2448652076ba..3b7d32559d28 100644 --- a/ts/components/WhatsNewModal.tsx +++ b/ts/components/WhatsNewModal.tsx @@ -29,12 +29,10 @@ const renderText: RenderTextCallbackType = ({ key, text }) => ( const releaseNotes: ReleaseNotesType = { date: new Date(window.getBuildCreation?.() || Date.now()), version: window.getVersion(), - features: [ - { - key: 'WhatsNew__bugfixes', - components: undefined, - }, - ], + features: [1, 2, 3].map(n => ({ + key: `WhatsNew__v5.24--${n}`, + components: undefined, + })), }; export const WhatsNewModal = ({