Commit Graph

16 Commits

Author SHA1 Message Date
Fedor Indutny 37c8c1727f Types, better-sqlite3, and worker_threads for our sqlite 2021-04-08 23:53:18 -04:00
Evan Hahn eb97c1194a Add Zod for runtime and compile-time type checking, use it in logging code 2021-04-05 18:08:50 -04:00
Josh Perez d85a43fe93 Replace bunyan with pino 2021-03-19 16:57:35 -04:00
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
Jordan Rose 011bdd2ae3 Omit unused resources from built package 2021-03-19 16:53:51 -04:00
Evan Hahn d22add261b
Upgrade blueimp-load-image to v5.14.0 2021-01-29 14:44:57 -08:00
Jack Lloyd a769402c0c
Use the libsignal-client for curve operations 2021-01-27 14:39:09 -08:00
Josh Perez 7543d8b60d
Ensures emoji index does not exceed bounds on results change 2021-01-07 13:39:17 -08:00
Josh Perez c6eafbb8d5 Fix tooltip bugs 2020-11-23 14:49:31 -05:00
Evan Hahn 8bfaf598af Add license headers across the project 2020-11-04 13:03:13 -06:00
Evan Hahn 8c3da11996 Convert emoji actions to use redux-thunk 2020-11-04 13:03:13 -06:00
Scott Nonnenberg 5629634aff Introduced encoding dependency, needed by node-fetch 2020-11-04 13:00:40 -06:00
Sidney Keese fbf93374c1 Replace Draft with Quill for composition area
Co-authored-by: Sidney Keese <sidney@carbonfive.com>
2020-11-04 13:00:40 -06:00
Evan Hahn 313faab774 Outbound link previews 2020-10-12 18:10:08 -04:00
Chris Svenningsen b4e9c278d3 Migrate to eslint 2020-09-21 15:42:51 -04:00
Evan Hahn eba1bf3100 Add software acknowledgments, link to them from About window 2020-09-21 15:42:51 -04:00