signal-desktop/ts/types
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
..
message Prefer type to interface and add an ESLint rule 2021-01-25 18:29:00 -08:00
Attachment.ts Manual download of attachments with no blurHash 2021-02-11 17:50:11 -08:00
Audio.tsx New UI for audio playback and global audio player 2021-03-19 16:57:35 -04:00
Calling.ts Prefer type to interface and add an ESLint rule 2021-01-25 18:29:00 -08:00
Colors.ts Add license headers across the project 2020-11-04 13:03:13 -06:00
Contact.tsx Prefer type to interface and add an ESLint rule 2021-01-25 18:29:00 -08:00
Dialogs.ts Add license headers across the project 2020-11-04 13:03:13 -06:00
I18N.ts Add license headers across the project 2020-11-04 13:03:13 -06:00
IndexedDB.ts Add license headers across the project 2020-11-04 13:03:13 -06:00
Logging.ts Add license headers across the project 2020-11-04 13:03:13 -06:00
MapAsync.ts Add license headers across the project 2020-11-04 13:03:13 -06:00
Message.ts Add license headers across the project 2020-11-04 13:03:13 -06:00
MIME.ts Allow PSD uploads over 6MB 2021-02-10 14:47:55 -08:00
PhoneNumber.ts Add license headers across the project 2020-11-04 13:03:13 -06:00
Settings.ts Hide title bar on macOS 2021-02-01 12:01:25 -08:00
SocketStatus.ts Add license headers across the project 2020-11-04 13:03:13 -06:00
Util.ts Manual download of attachments with no blurHash 2021-02-11 17:50:11 -08:00