Media Gallery: Scroll down and into the past
Co-authored-by: Fedor Indutny <79877362+indutny-signal@users.noreply.github.com>
This commit is contained in:
parent
6f83043eb4
commit
0d5a480c1b
32 changed files with 844 additions and 887 deletions
|
@ -46,9 +46,9 @@ function createMediaItem(
|
|||
attachments: [],
|
||||
conversationId: '1234',
|
||||
id: 'image-msg',
|
||||
received_at: 0,
|
||||
received_at_ms: Date.now(),
|
||||
sent_at: Date.now(),
|
||||
receivedAt: 0,
|
||||
receivedAtMs: Date.now(),
|
||||
sentAt: Date.now(),
|
||||
},
|
||||
objectURL: '',
|
||||
...overrideProps,
|
||||
|
@ -96,9 +96,9 @@ export function Multimedia(): JSX.Element {
|
|||
attachments: [],
|
||||
conversationId: '1234',
|
||||
id: 'image-msg',
|
||||
received_at: 1,
|
||||
received_at_ms: Date.now(),
|
||||
sent_at: Date.now(),
|
||||
receivedAt: 1,
|
||||
receivedAtMs: Date.now(),
|
||||
sentAt: Date.now(),
|
||||
},
|
||||
objectURL: '/fixtures/tina-rolf-269345-unsplash.jpg',
|
||||
},
|
||||
|
@ -114,9 +114,9 @@ export function Multimedia(): JSX.Element {
|
|||
attachments: [],
|
||||
conversationId: '1234',
|
||||
id: 'video-msg',
|
||||
received_at: 2,
|
||||
received_at_ms: Date.now(),
|
||||
sent_at: Date.now(),
|
||||
receivedAt: 2,
|
||||
receivedAtMs: Date.now(),
|
||||
sentAt: Date.now(),
|
||||
},
|
||||
objectURL: '/fixtures/pixabay-Soap-Bubble-7141.mp4',
|
||||
},
|
||||
|
@ -153,9 +153,9 @@ export function MissingMedia(): JSX.Element {
|
|||
attachments: [],
|
||||
conversationId: '1234',
|
||||
id: 'image-msg',
|
||||
received_at: 3,
|
||||
received_at_ms: Date.now(),
|
||||
sent_at: Date.now(),
|
||||
receivedAt: 3,
|
||||
receivedAtMs: Date.now(),
|
||||
sentAt: Date.now(),
|
||||
},
|
||||
objectURL: undefined,
|
||||
},
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue