From b9acd0238d1a655c87fe420dd02d3e7899e38566 Mon Sep 17 00:00:00 2001
From: Evan Hahn <69474926+EvanHahn-Signal@users.noreply.github.com>
Date: Wed, 6 Oct 2021 16:53:06 -0500
Subject: [PATCH] Update release notes for v5.20.0
---
_locales/en/messages.json | 4 ++
ts/components/WhatsNew.tsx | 95 +++++++++++++++++++++++---------------
2 files changed, 62 insertions(+), 37 deletions(-)
diff --git a/_locales/en/messages.json b/_locales/en/messages.json
index 1c64e7f0a..0898573e5 100644
--- a/_locales/en/messages.json
+++ b/_locales/en/messages.json
@@ -6489,5 +6489,9 @@
"WhatsNew__v5.19--4": {
"message": "This feature goes out to everyone who reacts with 💅 more than 👍: you can now customize the emojis that appear by default when you want to react to a message.",
"description": "Release notes for v5.19"
+ },
+ "WhatsNew__v5.20": {
+ "message": "This version contains a number of small tweaks and bug fixes to keep Signal running smoothly.",
+ "description": "Release notes for v5.20"
}
}
diff --git a/ts/components/WhatsNew.tsx b/ts/components/WhatsNew.tsx
index f9a680c85..200f6699d 100644
--- a/ts/components/WhatsNew.tsx
+++ b/ts/components/WhatsNew.tsx
@@ -1,13 +1,13 @@
// Copyright 2021 Signal Messenger, LLC
// SPDX-License-Identifier: AGPL-3.0-only
-import React, { useState } from 'react';
+import React, { ReactChild, ReactNode, useState } from 'react';
import moment from 'moment';
import { Modal } from './Modal';
import { Intl, IntlComponentsType } from './Intl';
import { Emojify } from './conversation/Emojify';
-import { LocalizerType } from '../types/Util';
+import type { LocalizerType, RenderTextCallbackType } from '../types/Util';
export type PropsType = {
i18n: LocalizerType;
@@ -19,6 +19,10 @@ type ReleaseNotesType = {
features: Array<{ key: string; components: IntlComponentsType }>;
};
+const renderText: RenderTextCallbackType = ({ key, text }) => (
+
+