Release notes for v5.26
This commit is contained in:
parent
48b3c655e8
commit
4701aeb79e
3 changed files with 33 additions and 3 deletions
|
@ -6673,5 +6673,13 @@
|
|||
"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"
|
||||
},
|
||||
"WhatsNew__v5.26--1": {
|
||||
"message": "Tired: Sending plain un-edited images on Signal. Wired: Adding cat stickers, neon text, and drawing happy trees on your images before sending them on Signal.",
|
||||
"description": "Release notes for v5.26"
|
||||
},
|
||||
"WhatsNew__v5.26--2": {
|
||||
"message": "Ever feel like you need more pixels on the right pane in your life? Are you a fan of avatars, but only avatars and nothing else? Do you have a \"Save the screen real estate\" bumper sticker on your car? If you answered yes or no to any of those questions, then this update has got some collapsible left pane for you.",
|
||||
"description": "Release notes for v5.26"
|
||||
}
|
||||
}
|
||||
|
|
22
ts/components/WhatsNewModal.stories.tsx
Normal file
22
ts/components/WhatsNewModal.stories.tsx
Normal file
|
@ -0,0 +1,22 @@
|
|||
// Copyright 2021 Signal Messenger, LLC
|
||||
// SPDX-License-Identifier: AGPL-3.0-only
|
||||
|
||||
import React from 'react';
|
||||
import { storiesOf } from '@storybook/react';
|
||||
import { action } from '@storybook/addon-actions';
|
||||
|
||||
import type { PropsType } from './WhatsNewModal';
|
||||
import { WhatsNewModal } from './WhatsNewModal';
|
||||
import enMessages from '../../_locales/en/messages.json';
|
||||
import { setupI18n } from '../util/setupI18n';
|
||||
|
||||
const i18n = setupI18n('en', enMessages);
|
||||
|
||||
const story = storiesOf('Components/WhatsNewModal', module);
|
||||
|
||||
const getDefaultProps = (): PropsType => ({
|
||||
hideWhatsNewModal: action('hideWhatsNewModal'),
|
||||
i18n,
|
||||
});
|
||||
|
||||
story.add('Modal', () => <WhatsNewModal {...getDefaultProps()} />);
|
|
@ -28,9 +28,9 @@ const renderText: RenderTextCallbackType = ({ key, text }) => (
|
|||
|
||||
const releaseNotes: ReleaseNotesType = {
|
||||
date: new Date(window.getBuildCreation?.() || Date.now()),
|
||||
version: window.getVersion(),
|
||||
features: [1].map(n => ({
|
||||
key: `WhatsNew__v5.25--${n}`,
|
||||
version: window.getVersion?.(),
|
||||
features: [1, 2].map(n => ({
|
||||
key: `WhatsNew__v5.26--${n}`,
|
||||
components: undefined,
|
||||
})),
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue