From 2db6b74bee8c79b4dff3989749ac369ceb209efa Mon Sep 17 00:00:00 2001 From: Jamie Kyle Date: Thu, 14 Dec 2023 11:57:03 -0800 Subject: [PATCH] Update release notes --- _locales/en/messages.json | 24 ++++++------- ts/components/WhatsNewModal.tsx | 63 +++++++++++++++++++++++++-------- 2 files changed, 61 insertions(+), 26 deletions(-) diff --git a/_locales/en/messages.json b/_locales/en/messages.json index 7224453b0443..c47ab7734f25 100644 --- a/_locales/en/messages.json +++ b/_locales/en/messages.json @@ -7019,22 +7019,22 @@ "messageformat": "Small tweaks, bug fixes, and performance enhancements. Thanks for using Signal!", "description": "Release notes for releases that only include bug fixes" }, - "icu:WhatsNew__v6.39--0": { - "messageformat": "Now you can change your selected language in Signal without changing your system settings (Signal Settings > Appearance > Language)." - }, - "icu:WhatsNew__v6.39--1": { - "messageformat": "We fixed a brief delay that sometimes occurred while joining a call lobby on macOS devices, which should get rid of at least one excuse for being a half-second late to the meeting." - }, - "icu:WhatsNew__v6.41--0": { - "messageformat": "We fixed the transition animation for video tiles when someone joins or leaves a group call. When you see a friend's face slide into view, that's a social movement." - }, - "icu:WhatsNew__v6.41--1": { - "messageformat": "Now you can click on a profile photo or group avatar in the chat header to quickly access chat settings or view any unseen stories from that chat. Thanks, {linkToGithub}!" - }, "icu:WhatsNew__v6.42--0": { "messageformat": "We fixed a bug that displayed quoted replies to videos as though they were quoted replies to photos, even though every video is really just a sequence of photos if you think about it." }, "icu:WhatsNew__v6.42--1": { "messageformat": "Thanks to {linkToGithub1} and {linkToGithub2} for their help with this release." + }, + "icu:WhatsNew__v6.43--0": { + "messageformat": "Turn a missed call into something that won't be missed. Now you can right-click on any call event and delete it from a chat." + }, + "icu:WhatsNew__v6.43--1": { + "messageformat": "The default font for Persian has been updated to Vazirmatn to improve readability when that language is selected (Signal Settings > Appearance > Language). Thanks, {linkToGithub1}!" + }, + "icu:WhatsNew__v6.43--2": { + "messageformat": "The playback speed indicators in voice messages have a slightly new look. X marks the spot. Thanks, {linkToGithub1}!" + }, + "icu:WhatsNew__v6.43--3": { + "messageformat": "We would also like to thank {linkToGithub1}, {linkToGithub2}, and {linkToGithub3} for their contributions to this release." } } diff --git a/ts/components/WhatsNewModal.tsx b/ts/components/WhatsNewModal.tsx index aab0f8979544..cd0791813dbe 100644 --- a/ts/components/WhatsNewModal.tsx +++ b/ts/components/WhatsNewModal.tsx @@ -1,7 +1,7 @@ // Copyright 2021 Signal Messenger, LLC // SPDX-License-Identifier: AGPL-3.0-only -import type { ReactChild } from 'react'; +import type { ReactNode } from 'react'; import React from 'react'; import moment from 'moment'; @@ -20,34 +20,69 @@ type ReleaseNotesType = { features: Array; }; +// Exported so it doesn't get marked unused +export function ExternalLink(props: { + href: string; + children: ReactNode; +}): JSX.Element { + return ( + + {props.children} + + ); +} + export function WhatsNewModal({ i18n, hideWhatsNewModal, }: PropsType): JSX.Element { - let contentNode: ReactChild; + let contentNode: ReactNode; const releaseNotes: ReleaseNotesType = { date: new Date(window.getBuildCreation?.() || Date.now()), version: window.getVersion?.(), features: [ - , + , - @qauff - + + @MahdiNazemi + + ), + }} + />, + + @Shrinks99 + + ), + }} + />, + + @NetSysFire + ), linkToGithub2: ( - - @wyvurn-h4x3r - + + @timjamello + + ), + linkToGithub3: ( + + @u32i64 + ), }} />,