Tweaks to conversation details

This commit is contained in:
Josh Perez 2021-10-21 17:04:43 -04:00 committed by GitHub
parent dc5a17e962
commit 9ecf47594b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
6 changed files with 23 additions and 9 deletions

View file

@ -27,7 +27,10 @@ const createConversation = (): ConversationType =>
type: 'group',
lastUpdated: 0,
title: text('conversation title', 'Some Conversation'),
groupDescription: text('description', 'This is a group description'),
groupDescription: text(
'description',
'This is a group description. https://www.signal.org'
),
});
const createProps = (overrideProps: Partial<Props> = {}): Props => ({
@ -36,7 +39,7 @@ const createProps = (overrideProps: Partial<Props> = {}): Props => ({
canEdit: false,
startEditing: action('startEditing'),
memberships: new Array(number('conversation members length', 0)),
isGroup: false,
isGroup: true,
isMe: false,
...overrideProps,
});

View file

@ -57,7 +57,6 @@ export const ConversationDetailsMediaList: React.ComponentType<Props> = ({
{i18n('ConversationDetailsMediaList--show-all')}
</button>
}
borderless
title={i18n('ConversationDetailsMediaList--shared-media')}
>
<div className={bem('root')}>