Update release notes

This commit is contained in:
Jamie Kyle 2023-12-14 11:57:03 -08:00 committed by Jamie Kyle
parent ff0de5ea02
commit 2db6b74bee
2 changed files with 61 additions and 26 deletions

View file

@ -7019,22 +7019,22 @@
"messageformat": "Small tweaks, bug fixes, and performance enhancements. Thanks for using Signal!", "messageformat": "Small tweaks, bug fixes, and performance enhancements. Thanks for using Signal!",
"description": "Release notes for releases that only include bug fixes" "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": { "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." "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": { "icu:WhatsNew__v6.42--1": {
"messageformat": "Thanks to {linkToGithub1} and {linkToGithub2} for their help with this release." "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."
} }
} }

View file

@ -1,7 +1,7 @@
// Copyright 2021 Signal Messenger, LLC // Copyright 2021 Signal Messenger, LLC
// SPDX-License-Identifier: AGPL-3.0-only // SPDX-License-Identifier: AGPL-3.0-only
import type { ReactChild } from 'react'; import type { ReactNode } from 'react';
import React from 'react'; import React from 'react';
import moment from 'moment'; import moment from 'moment';
@ -20,34 +20,69 @@ type ReleaseNotesType = {
features: Array<JSX.Element>; features: Array<JSX.Element>;
}; };
// Exported so it doesn't get marked unused
export function ExternalLink(props: {
href: string;
children: ReactNode;
}): JSX.Element {
return (
<a href={props.href} target="_blank" rel="noreferrer">
{props.children}
</a>
);
}
export function WhatsNewModal({ export function WhatsNewModal({
i18n, i18n,
hideWhatsNewModal, hideWhatsNewModal,
}: PropsType): JSX.Element { }: PropsType): JSX.Element {
let contentNode: ReactChild; let contentNode: ReactNode;
const releaseNotes: ReleaseNotesType = { const releaseNotes: ReleaseNotesType = {
date: new Date(window.getBuildCreation?.() || Date.now()), date: new Date(window.getBuildCreation?.() || Date.now()),
version: window.getVersion?.(), version: window.getVersion?.(),
features: [ features: [
<Intl i18n={i18n} id="icu:WhatsNew__v6.42--0" />, <Intl i18n={i18n} id="icu:WhatsNew__v6.43--0" />,
<Intl <Intl
i18n={i18n} i18n={i18n}
id="icu:WhatsNew__v6.42--1" id="icu:WhatsNew__v6.43--1"
components={{ components={{
linkToGithub1: ( linkToGithub1: (
<a href="https://github.com/qauff" target="_blank" rel="noreferrer"> <ExternalLink href="https://github.com/MahdiNazemi">
@qauff @MahdiNazemi
</a> </ExternalLink>
),
}}
/>,
<Intl
i18n={i18n}
id="icu:WhatsNew__v6.43--2"
components={{
linkToGithub1: (
<ExternalLink href="https://github.com/Shrinks99">
@Shrinks99
</ExternalLink>
),
}}
/>,
<Intl
i18n={i18n}
id="icu:WhatsNew__v6.43--3"
components={{
linkToGithub1: (
<ExternalLink href="https://github.com/NetSysFire">
@NetSysFire
</ExternalLink>
), ),
linkToGithub2: ( linkToGithub2: (
<a <ExternalLink href="https://github.com/timjamello">
href="https://github.com/wyvurn-h4x3r" @timjamello
target="_blank" </ExternalLink>
rel="noreferrer" ),
> linkToGithub3: (
@wyvurn-h4x3r <ExternalLink href="https://github.com/u32i64">
</a> @u32i64
</ExternalLink>
), ),
}} }}
/>, />,