Fedor Indutny
2cd4160422
Unify audio playback under App component
2021-06-29 12:58:29 -07:00
Fedor Indutny
6c56d5a5f1
Fix UI for GIFs in groups
2021-06-24 16:00:11 -05:00
Scott Nonnenberg
68f1023946
Move message.getPropsForBubble and friends to selectors
2021-06-17 10:15:10 -07:00
Evan Hahn
03a187097f
Disappearing message cleanups
2021-06-16 17:20:17 -05:00
Jordan Rose
9a1f722545
On right-click link in message bubble, show menu to copy
2021-06-14 11:49:12 -07:00
Jordan Rose
befe886a83
Context menu for message bubbles
2021-06-09 15:30:05 -07:00
Fedor Indutny
4c4351df39
Make link preview image clickable
2021-06-03 17:42:01 -07:00
Fedor Indutny
b009967a83
Display proper text when quoting view once message
2021-06-02 09:42:19 -07:00
Josh Perez
28f016ce48
Conversation Colors
2021-05-28 09:15:17 -07:00
Fedor Indutny
986d8a66bc
Show challenge when requested by server
2021-05-05 17:09:29 -07:00
Evan Hahn
05703c2719
Blur avatars of unapproved conversations
2021-04-30 14:40:25 -05:00
Fedor Indutny
caf1d4c4da
GIF attachments
2021-04-29 14:27:37 -07:00
Evan Hahn
5f17d01f49
Take an author object in <Message>
2021-04-29 14:27:37 -07:00
Evan Hahn
86a01f289d
<Message> shouldn't be a PureComponent. It re-renders every time
2021-04-29 14:27:37 -07:00
Evan Hahn
a5a64f354f
Upgrade Prettier from v2.1.2 to v2.2.1
2021-04-29 14:27:36 -07:00
Josh Perez
d203f125c6
Adds message forwarding
2021-04-27 18:35:35 -04:00
Evan Hahn
2d35fa8f57
Fix replies to image-only messages
2021-04-05 18:08:50 -04:00
Evan Hahn
afe135df0c
Hide long message attachments in quotes
2021-03-25 11:36:50 -07:00
Evan Hahn
6f404648d7
Prefer author ID to phone number for message menu trigger ID
2021-03-24 16:42:08 -07: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
d7ec22fb0b
Save attachment button should download attachment if needed
2021-03-19 16:57:36 -04:00
Fedor Indutny
05f59f3db1
Add download button and pending spinner for audio messages
2021-03-19 16:57:36 -04:00
Fedor Indutny
529dd1a3cc
Show download button for pending Link Preview images
2021-03-19 16:57:36 -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
Josh Perez
34285054f6
Manual download of attachments with no blurHash
2021-02-11 17:50:11 -08: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
Evan Hahn
1da724edf2
Fix missing avatars in groups
2021-01-27 13:15:43 -08:00
Evan Hahn
8a72607fa7
Prefer type
to interface
and add an ESLint rule
2021-01-25 18:29:00 -08:00
Evan Hahn
4c40d861cf
Update link preview styles to better match designs
2021-01-25 18:28:59 -08:00
Evan Hahn
8c25ffd6f5
Link previews: show full size image less often
2021-01-11 14:23:09 -08:00
Evan Hahn
0c99604585
Minor: use clearTimeout
instead of clearInterval
in <Message>
2020-12-17 12:12:52 -05:00
Scott Nonnenberg
0506b79f6b
Quotes: Use authorId when navigating to original message
2020-12-11 12:06:04 -06: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
Josh Perez
de45db255c
Improve context menus
2020-11-04 13:00:40 -06:00
Scott Nonnenberg
04b7a29229
Modern profile sharing in 1:1 and GroupV1 groups
2020-10-26 15:48:44 -07:00
Chris Svenningsen
492bb283ee
A few Delete For Everyone fixes
...
Co-authored-by: Sidney Keese <sidney@carbonfive.com>
2020-10-12 18:10:08 -04:00
Sidney Keese
c3ddedfde1
Reactions: skin tone support
2020-10-12 18:10:08 -04:00
Sidney Keese
866217a724
Delete For Everyone Send
...
Co-authored-by: Chris Svenningsen <chris@carbonfive.com>
2020-10-12 18:10:08 -04:00
Evan Hahn
313faab774
Outbound link previews
2020-10-12 18:10:08 -04:00
Josh Perez
2d5292b2f3
Render quoted mentions as text
2020-09-21 15:42:51 -04:00
Chris Svenningsen
372aa44e49
Migrate conversations to ESLint
2020-09-21 15:42:51 -04:00
Josh Perez
9657c38987
@mentions receive support
2020-09-21 15:42:37 -04:00
Evan Hahn
2e1e6e847a
Widen the set of link previews which can be received
2020-09-01 17:10:18 -04:00
Chris Svenningsen
bcd4f6407f
Migrate MessageDetail to Storybook
2020-08-28 15:42:25 -04:00
Chris Svenningsen
b9c5e7bf1d
Migrate Message to Storybook
2020-08-28 15:42:25 -04:00
Chris Svenningsen
d3d3c41f94
Convert <Avatar /> component to Storybook
...
Co-authored-by: Chris Svenningsen <chris@carbonfive.com>
Co-authored-by: Sidney Keese <me@sidke.com>
2020-08-13 13:53:45 -07:00
Evan Hahn
a8090d8c66
A few CSS fixes for message bubbles
2020-08-12 15:47:20 -07:00
Josh Perez
6a68b37c83
New message state: Partially sent
2020-08-06 18:22:52 -07:00
Scott Nonnenberg
d07b8e82b2
First-class profile name rendering
2020-07-30 13:27:41 -07:00
Ken Powers
83574eb067
Message Requests
2020-07-30 13:08:44 -07:00
Ken Powers
0865a5481c
Pre-alpha: React with any emoji, behind flag
2020-05-05 14:18:46 -07:00
Ken Powers
ba5e2ff6e5
Receive support for DOE messages
2020-04-29 17:42:41 -07:00
Ken Powers
17f212ffcf
CompositionInput: Fix high CPU usage
2020-03-24 17:03:22 -07:00
Ken Powers
faa2b13026
Reactions: Go directly to all tab, show 'You' for current user
2020-03-03 14:33:54 -08:00
Ken Powers
101070bf42
Prevent replies/reactions on messages with errors
2020-02-07 15:13:46 -08:00
Ken Powers
38c7fa3da6
Storybook: Basic messages and messages with reactions
2020-02-07 11:07:22 -08:00
Ken Powers
c9292544aa
Show clicked-on reaction in ReactionViewer
2020-02-06 11:57:46 -08:00
Ken Powers
539c02cb92
Remove reaction send flag
2020-02-03 12:05:21 -08:00
Ken Powers
01d4aa0772
Update to new message bubble reactions design
2020-02-03 12:02:49 -08:00
Ken Powers
153503efc5
Send Reactions
2020-01-23 15:57:37 -08:00
Ken Powers
6cc0f2abce
Render incoming Reactions
2020-01-17 14:23:19 -08:00
Scott Nonnenberg
4f50c0b093
Use 1x icon in View-once bubbles, explanatory expired toasts
2020-01-10 11:29:51 -05:00
Scott Nonnenberg
744d1b5295
Message bubble: Larger stickers; handle non-square aspect ratios
...
* Sticker picker: Handle non-square stickers
* Message bubble: Larger stickers; handle non-square aspect ratios
2020-01-09 14:27:49 -05:00
Ken Powers
0d3b390129
Upgrade Prettier
2020-01-08 09:44:54 -08:00
Scott Nonnenberg
2a0a73cfc1
Keyboard/mouse mode and keyboard support bugfixes
2019-11-21 14:16:06 -05:00
Scott Nonnenberg
5750412fda
Hover/focus styles for embedded contacts, default action
2019-11-15 14:34:24 -08:00
Scott Nonnenberg
79b9408f1f
Message: Only focus if focus is not inside container already
2019-11-15 14:34:24 -08:00
Scott Nonnenberg
20a892247f
Keyboard shortcuts and accessibility
2019-11-13 16:53:42 -08:00
Scott Nonnenberg
c81c25bb85
Update colors, icons, and fonts
2019-10-10 14:56:14 -07:00
Scott Nonnenberg
5c00b89600
Support for receiving View Once Video
2019-10-10 14:56:14 -07:00
Scott Nonnenberg
b19659f5ac
Address beta feedback
...
* Use signal blue for search box focus outline
* Reduce debounce for draft saves
* Be less aggressive in our scrolling corrections
* Lightbox: Ensure that a tall image is still fully visible
* Fix spell checking after Electron API breaking changes
* Fix link preview image generation
* Message highlight: Move to border in signal blue
2019-08-22 17:11:36 -04:00
Scott Nonnenberg
5ebd8bc690
Virtualize Messages List - only render what's visible
2019-08-21 14:52:30 -07:00
Ken Powers
7b645011c2
New composition area with emoji typeahead
2019-07-17 11:29:51 -07:00
Scott Nonnenberg
e62a1a7812
Receive support for View Once photos
2019-07-17 11:29:51 -07:00
Scott Nonnenberg
020d78e62b
Remove borders from link preview small thumbnails
2019-05-30 12:43:18 -07:00
Ken Powers
29de50c12a
Stickers
...
Co-authored-by: scott@signal.org
Co-authored-by: ken@signal.org
2019-05-16 16:10:37 -07:00
Scott Nonnenberg
c41bc53614
Refactor messages model; New timeline react components
2019-05-16 15:23:21 -07:00
Scott Nonnenberg
d342b23cbc
Refactor: Prepare Message function props for conversation scope
2019-05-07 09:41:09 -07:00
Scott Nonnenberg
8c4d90df07
Send long text as an attachment instead of inline
...
Remove Android length warning
Handle incoming long message attachments
Show long download pending status in message bubble
Fix the width of the smallest spinner
Remove Android length warning from HTML templates
2019-03-14 17:30:46 -07:00
Scott Nonnenberg
b3ac1373fa
Move left pane entirely to React
2019-03-12 17:44:14 -07:00
Scott Nonnenberg
1d2c3ae23c
Download attachments in separate queue from message processing
2019-02-12 16:34:21 -08:00
Scott Nonnenberg
813924685e
Link Previews
2019-01-29 13:53:14 -08:00
Scott Nonnenberg
985b1d6aa6
New staged attachments UI, multiple image attachments per message
2019-01-04 12:21:26 -08:00
Scott Nonnenberg
99252702e1
Support receiving multiple images in one messages
2018-11-26 15:26:04 -08:00
Scott Nonnenberg
7789beec64
Calculate warning properly for all methods of attachment download
2018-10-23 14:11:30 -07:00
Scott Nonnenberg
fbaef50c4a
Android theme: Incoming quotes take color from containing message
2018-10-18 11:57:10 -07:00
Scott Nonnenberg
bc0ec92ad2
Tests and increase consistency for isFileDangerous calls
2018-10-15 11:57:00 -07:00
Scott Nonnenberg
0850dc368a
Lint fixes
2018-10-11 12:24:58 -07:00
Scott Nonnenberg
7d9711ba65
Restore iOS-specific theme; colors on left in android theme
2018-10-11 11:42:18 -07:00
Scott Nonnenberg
ca61c9cb85
Warnings for dangerous files
2018-10-09 13:48:32 -07:00
Scott Nonnenberg
8f3e3b7aaf
Update to new design for avatars: individual/group icons/colors
...
And two initials.
2018-10-01 18:18:37 -07:00
Scott Nonnenberg
10c53bddb0
Move to new colors, switch incoming/outgoing colors
2018-10-01 18:18:37 -07:00
Scott Nonnenberg
8290146721
Show generic attachment for non-loading/too-large images/videos
2018-09-05 17:48:43 -07:00
Scott Nonnenberg
37f3054976
Both UI timer and database timer will remove expired message
2018-08-15 17:45:24 -07:00
Scott Nonnenberg
b3d56276a8
Conversations now better take advantage of wide screens
2018-08-15 17:00:32 -07:00
Scott Nonnenberg
fedfbed304
Copy quoted message contents into quote on receipt
...
Also:
- visually distinguish any reference we couldn't verify on receipt
- show toast on quote click if we can't scroll to message
- toast visuals redesigned to match rest of app
2018-08-15 14:58:55 -07:00
Scott Nonnenberg
b0b1e9b8e3
Message: video/image attachment borders inline, on top of image
...
Otherwise, its transparency will result in a distracting line between it
and its attached message bubble
2018-08-02 17:19:56 -07:00