Tweaks to conversation details
This commit is contained in:
parent
dc5a17e962
commit
9ecf47594b
6 changed files with 23 additions and 9 deletions
|
@ -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,
|
||||
});
|
||||
|
|
|
@ -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')}>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue