signal-desktop/ts/test-both
Fedor Indutny 12d7f24d0f New UI for audio playback and global audio player
Introduce new UI and behavior for playing audio attachments in
conversations. Previously, playback stopped unexpectedly during window
resizes and scrolling through the messages due to the row height
recomputation in `react-virtualized`.

With this commit we introduce `<GlobalAudioContext/>` instance that
wraps whole conversation and provides an `<audio/>` element that
doesn't get re-rendered (or destroyed) whenever `react-virtualized`
recomputes messages. The audio players (with a freshly designed UI) now
share this global `<audio/>` instance and manage access to it using
`audioPlayer.owner` state from the redux.

New UI computes on the fly, caches, and displays waveforms for each
audio attachment. Storybook had to be slightly modified to accomodate
testing of Android bubbles by introducing the new knob for
`authorColor`.
2021-03-19 16:57:35 -04:00
..
groups Support for creating New Groups 2021-03-19 16:53:52 -04:00
helpers Introduce conversation details screen for New Groups 2021-01-29 13:19:24 -08:00
linkPreviews Link previews: show full size image less often 2021-01-11 14:23:09 -08:00
sql Add an assertion when updating conversations; update cleanData 2021-02-04 11:54:03 -08:00
state/selectors New UI for audio playback and global audio player 2021-03-19 16:57:35 -04:00
util New Group administration: update title and avatar 2021-03-19 16:57:35 -04:00
environment.ts Add an assertion when updating conversations; update cleanData 2021-02-04 11:54:03 -08:00