Fix left pane draft display and GV2 typing indicators
This commit is contained in:
parent
ab89c6c704
commit
18c71b291c
5 changed files with 58 additions and 31 deletions
|
@ -103,6 +103,27 @@ story.add('Typing Status', () => {
|
|||
return <ConversationListItem {...props} />;
|
||||
});
|
||||
|
||||
story.add('With draft', () => {
|
||||
const props = createProps({
|
||||
shouldShowDraft: true,
|
||||
draftPreview: "I'm in the middle of typing this...",
|
||||
});
|
||||
|
||||
return <ConversationListItem {...props} />;
|
||||
});
|
||||
|
||||
story.add('Deleted for everyone', () => {
|
||||
const props = createProps({
|
||||
lastMessage: {
|
||||
status: 'sent',
|
||||
text: 'You should not see this!',
|
||||
deletedForEveryone: true,
|
||||
},
|
||||
});
|
||||
|
||||
return <ConversationListItem {...props} />;
|
||||
});
|
||||
|
||||
story.add('Message Request', () => {
|
||||
const props = createProps({
|
||||
acceptedMessageRequest: false,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue