signal-desktop/ts/util/lint
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
..
analyze_exceptions.ts Add license headers across the project 2020-11-04 13:03:13 -06:00
exceptions.json New UI for audio playback and global audio player 2021-03-19 16:57:35 -04:00
license_comments.ts Update license tests in preparation for new year 2020-12-17 12:12:52 -05:00
linter.ts Support for translating Desktop sessions to libsignal-client sessions 2021-03-19 16:57:35 -04:00
rules.json Add useRef() React Hook to lint rules 2020-11-04 13:00:40 -06:00
sort_exceptions.ts Add license headers across the project 2020-11-04 13:03:13 -06:00
types.ts Add license headers across the project 2020-11-04 13:03:13 -06:00
util.ts Add license headers across the project 2020-11-04 13:03:13 -06:00