Add release notes for 7.40

This commit is contained in:
Scott Nonnenberg 2025-01-22 17:05:35 -08:00
parent d3a828f1b3
commit 3df1821f77
2 changed files with 11 additions and 1 deletions

View file

@ -7731,5 +7731,13 @@
"icu:WhatsNew__v7.39--0": {
"messageformat": "Now you can adjust the size of the chat list sidebar on touchscreen devices. So when you try to drag it won't be such a drag, and the smudges on your screen are simply evidence of the power emanating from your fingertips.",
"description": "Release notes for version 7.39"
},
"icu:WhatsNew__v7.40--0": {
"messageformat": "We fixed a rare bug that prevented some chats from opening correctly after they were selected, so now Signal Desktop doesn't also draw a blank while you're trying to remember what they said.",
"description": "Release notes for version 7.40"
},
"icu:WhatsNew__v7.40--1": {
"messageformat": "Now when you link your primary Signal device to a new Desktop or iPad, you can bring your chat history and your last 45 days of media with you. The transfer process is end-to-end encrypted, and completely optional. When it comes to making the choice about whether or not to leave the past behind, you're left to your own devices.",
"description": "Release notes for version 7.40"
}
}

View file

@ -39,10 +39,12 @@ export function WhatsNewModal({
}: PropsType): JSX.Element {
let contentNode: ReactNode;
// Use later: icu:WhatsNew__v7.40--1
const releaseNotes: ReleaseNotesType = {
date: new Date(window.getBuildCreation?.() || Date.now()),
version: window.getVersion?.(),
features: [<I18n i18n={i18n} id="icu:WhatsNew__v7.39--0" />],
features: [<I18n i18n={i18n} id="icu:WhatsNew__v7.40--0" />],
};
if (releaseNotes.features.length === 1 && !releaseNotes.header) {