"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "ts/components/conversation/TimelineItem.stories.tsx" between
Signal-Desktop-1.35.2.tar.gz and Signal-Desktop-1.36.1.tar.gz

About: Signal-Desktop is a cross-platform encrypted messaging service (also available for mobile devices).

TimelineItem.stories.tsx  (Signal-Desktop-1.35.2):TimelineItem.stories.tsx  (Signal-Desktop-1.36.1)
skipping to change at line 31 skipping to change at line 31
<EmojiPicker <EmojiPicker
i18n={setupI18n('en', enMessages)} i18n={setupI18n('en', enMessages)}
skinTone={0} skinTone={0}
onSetSkinTone={action('EmojiPicker::onSetSkinTone')} onSetSkinTone={action('EmojiPicker::onSetSkinTone')}
ref={ref} ref={ref}
onClose={onClose} onClose={onClose}
onPickEmoji={onPickEmoji} onPickEmoji={onPickEmoji}
/> />
); );
const renderContact = (conversationId: string) => (
<React.Fragment key={conversationId}>{conversationId}</React.Fragment>
);
const getDefaultProps = () => ({ const getDefaultProps = () => ({
conversationId: 'conversation-id', conversationId: 'conversation-id',
conversationAccepted: true, conversationAccepted: true,
id: 'asdf', id: 'asdf',
isSelected: false, isSelected: false,
selectMessage: action('selectMessage'), selectMessage: action('selectMessage'),
reactToMessage: action('reactToMessage'), reactToMessage: action('reactToMessage'),
clearSelectedMessage: action('clearSelectedMessage'), clearSelectedMessage: action('clearSelectedMessage'),
replyToMessage: action('replyToMessage'), replyToMessage: action('replyToMessage'),
retrySend: action('retrySend'), retrySend: action('retrySend'),
skipping to change at line 58 skipping to change at line 62
showExpiredIncomingTapToViewToast: action( showExpiredIncomingTapToViewToast: action(
'showExpiredIncomingTapToViewToast' 'showExpiredIncomingTapToViewToast'
), ),
showExpiredOutgoingTapToViewToast: action( showExpiredOutgoingTapToViewToast: action(
'showExpiredIncomingTapToViewToast' 'showExpiredIncomingTapToViewToast'
), ),
openLink: action('openLink'), openLink: action('openLink'),
scrollToQuotedMessage: action('scrollToQuotedMessage'), scrollToQuotedMessage: action('scrollToQuotedMessage'),
downloadNewVersion: action('downloadNewVersion'), downloadNewVersion: action('downloadNewVersion'),
showIdentity: action('showIdentity'), showIdentity: action('showIdentity'),
renderContact,
renderEmojiPicker, renderEmojiPicker,
}); });
storiesOf('Components/Conversation/TimelineItem', module) storiesOf('Components/Conversation/TimelineItem', module)
.add('Plain Message', () => { .add('Plain Message', () => {
const item = { const item = {
type: 'message', type: 'message',
data: { data: {
id: 'id-1', id: 'id-1',
direction: 'incoming', direction: 'incoming',
 End of changes. 2 change blocks. 
0 lines changed or deleted 6 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)