Commit Graph

53 Commits

Author SHA1 Message Date
Scott Nonnenberg
d9d820e72a Support for receiving formatted messages
Co-authored-by: Alvaro Carrasco <alvaro@signal.org>
2023-04-10 09:31:45 -07:00
Fedor Indutny
2710f463a7 Fix storybook 2023-04-03 13:16:27 -07:00
Jamie Kyle
1d549a9991 Multi-select forwarding and deleting 2023-03-20 15:23:53 -07:00
Jamie Kyle
3705b959d6 Remove end year from licenses 2023-01-03 11:55:46 -08:00
Scott Nonnenberg
1e282ee5d0 ConversationView: Pull various functions out of getMessageActions 2022-12-19 17:04:47 -08:00
Fedor Indutny
5a98fc2f4c Optimize Message rendering 2022-12-19 15:33:55 -07:00
Josh Perez
e142cb47f5 Moves various panels out to ConversationView react 2022-12-14 17:10:09 -08:00
Scott Nonnenberg
f2f1c3c021 Standardize on showConversation function, delete unused functions 2022-12-14 11:05:32 -08:00
Josh Perez
b138774454 Moves saveAttachment to a redux action 2022-12-14 10:12:04 -08:00
Josh Perez
635a59a473 Moves showLightbox to redux 2022-12-09 21:02:22 -05:00
Josh Perez
135c832748 Removes showIdentity and showSafetyNumber in favor of redux action 2022-12-09 00:53:19 -05:00
Fedor Indutny
98ef4c627a Update eslint to 8.27.0 2022-11-17 16:45:19 -08:00
Alvaro
4445ef80eb Implement group story reply deletion 2022-11-04 07:22:07 -06:00
Josh Perez
3e644f45cf Fixes story viewing behavior 2022-07-06 15:06:20 -04:00
Josh Perez
42eb4013d0 Upgrade react and storybook 2022-06-06 17:48:02 -07:00
Scott Nonnenberg
0ba6a0926e Support for incoming gift badges 2022-05-11 13:59:58 -07:00
Scott Nonnenberg
302604f67e Restore ability to message someone from embedded contact 2022-04-11 17:26:09 -07:00
Scott Nonnenberg
bb066d4a84 Reintroduce inline metadata with full RTL support 2022-03-23 13:23:28 -07:00
Scott Nonnenberg
0a52318be6 Delete for everyone: Track sends and show failure states 2022-03-04 11:22:31 -08:00
Josh Perez
909453b20b Allow reactions in announcement only groups 2022-02-02 15:01:22 -05:00
Evan Hahn
c63bf11a8f Show badges in reaction viewer 2021-11-17 22:11:46 +01:00
Evan Hahn
a466b939bc Show user badges on message details screen 2021-11-16 09:53:41 -06:00
Evan Hahn
7d17158add Show badges on message avatars where applicable 2021-11-15 16:53:42 -06:00
Evan Hahn
74fde10ff5 Prefer import type when importing types 2021-10-26 14:15:33 -05:00
Josh Perez
2e438aa876 Conversation details screen for 1:1 chats 2021-10-20 16:46:41 -07:00
Josh Perez
829e42ca6e Move i18n setup to TypeScript 2021-09-17 20:30:08 -04:00
Evan Hahn
84ac7dd2df To fix Storybook, make <Message> take renderReactionPicker 2021-09-10 11:00:31 -07:00
Evan Hahn
a85dd1be36 Retry outbound "normal" messages for up to a day 2021-08-31 13:58:39 -07:00
Scott Nonnenberg
dcf29078f4 ConversationView: Improve types 2021-08-30 14:32:56 -07:00
Evan Hahn
b0750e5f4e Show "unplayed" dot on incoming audio messages 2021-08-12 13:15:55 -05:00
Josh Perez
12d2b1bf7c Avatar defaults and colors 2021-08-05 20:17:05 -04:00
Evan Hahn
1e10286210 Message details: group by send status, including viewed state 2021-07-20 14:56:50 -05:00
Evan Hahn
c4a09b7507 Refactor outbound delivery state, take 2
This reverts commit ad217c808d.
2021-07-19 17:44:49 -05:00
Fedor Indutny
ad217c808d Revert "Refactor outbound delivery state"
This reverts commit 9c48a95eb5.
2021-07-12 16:51:45 -07:00
Evan Hahn
9c48a95eb5 Refactor outbound delivery state 2021-07-09 16:38:51 -05:00
Fedor Indutny
2cd4160422 Unify audio playback under App component 2021-06-29 12:58:29 -07:00
Scott Nonnenberg
68f1023946 Move message.getPropsForBubble and friends to selectors 2021-06-17 10:15:10 -07:00
Scott Nonnenberg
1520c80013 Remove messageCollection from Conversation model 2021-06-15 17:44:14 -07:00
Josh Perez
28f016ce48 Conversation Colors 2021-05-28 09:15:17 -07:00
Evan Hahn
d28678dbf9 Make it more difficult to blur avatars 2021-05-07 17:21:10 -05:00
Evan Hahn
5f17d01f49 Take an author object in <Message> 2021-04-29 14:27:37 -07:00
Josh Perez
d203f125c6 Adds message forwarding 2021-04-27 18:35:35 -04:00
Evan Hahn
77c306843d Fix error on message details screen with audio messages 2021-03-24 15:06:12 -07:00
Fedor Indutny
9fa3359477 Mark attachment as corrupted if audio load failed
Sending corrupted audio should not leave user with non-functional
UI. Mark attachment as corrupted and show generic attachment UI for it
instead.
2021-03-22 11:51:53 -07: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
Evan Hahn
8f1bb6f087 Don't render links (or link previews) for blocked or unapproved conversations 2021-02-02 11:09:53 -06:00
Josh Perez
a096220990 Do not download media if in call 2021-01-29 14:58:28 -08:00
Chris Svenningsen
d593f74241 New contact popup when clicking on group member or avatar 2020-11-11 09:36:05 -08:00
Evan Hahn
8bfaf598af Add license headers across the project 2020-11-04 13:03:13 -06:00
Scott Nonnenberg
04b7a29229 Modern profile sharing in 1:1 and GroupV1 groups 2020-10-26 15:48:44 -07:00