Scott Nonnenberg
9ca9f743c3
One lightbox at a time; proper dismiss of "read more" screen; proper in-progress draft HEIC images
2021-09-02 14:35:23 -05:00
Evan Hahn
8e0b94e720
Use missingCaseError
in groupMediaItemsByDate
2021-09-02 10:43:56 -07:00
Evan Hahn
808ade2a8c
Fix rendering of long names in <DeliveryIssueNotification>
2021-09-02 12:34:00 -05:00
Evan Hahn
d88128b146
Remove extra license header comment from a story
2021-09-02 10:08:08 -07:00
Evan Hahn
c251726698
Fix rendering of long names in <ProfileChangeNotification>
2021-09-02 11:07:30 -05:00
Evan Hahn
ce922eed7d
Hide "leave group" button if you've already left
2021-09-01 16:08:33 -05: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
7f50fcdb54
Improve performance when rendering many emoji
2021-08-30 11:39:03 -05:00
Josh Perez
c6b4f14f3b
Fixes no group description unless admin
2021-08-26 16:12:07 -05:00
Josh Perez
2b08cbfdfe
Streamlined system messages
2021-08-26 13:51:55 -07:00
Josh Perez
4afe4649ec
Fixes save in lightbox
2021-08-25 14:08:32 -07:00
Josh Perez
d5d808651a
Improved Lightbox experience
2021-08-23 16:14:53 -07:00
Evan Hahn
70d059beeb
Keep reaction poppers visible at all times
2021-08-20 14:36:27 -05:00
Fedor Indutny
fe040a2873
Rename ContactType to EmbeddedContactType
2021-08-19 20:56:39 -05:00
Evan Hahn
4b810d5c3e
<ConversationHero>
: only call onHeightChange
when certain props change
2021-08-19 11:36:09 -05:00
Evan Hahn
f3ba979246
Attempt to fix <ConversationHero>
re-rendering
2021-08-18 09:38:47 -07:00
Fedor Indutny
7a8363c7c8
Additional render optimizations
2021-08-18 08:34:22 -05:00
Fedor Indutny
6dcceb81ac
Use stable keys for rendering timeline
2021-08-17 11:41:12 -07:00
Evan Hahn
b0750e5f4e
Show "unplayed" dot on incoming audio messages
2021-08-12 13:15:55 -05:00
Evan Hahn
9fd191ae00
Add more logging for view-once message interactions
2021-08-12 09:20:22 -07:00
Fedor Indutny
61b7eebfcf
Modernize Benchmarks CI
2021-08-11 12:29:07 -07:00
Fedor Indutny
12c78c742f
Optimize rendering
2021-08-11 09:23:21 -07:00
Josh Perez
9078919545
Transcode heic/heif images
2021-08-09 13:06:21 -07:00
Josh Perez
12d2b1bf7c
Avatar defaults and colors
2021-08-05 20:17:05 -04:00
Fedor Indutny
a001882d58
Change Phone Number notifications
2021-08-05 16:34:49 -07:00
Josh Perez
db0c9f0f49
Allows you to turn off announcements only if already on
2021-08-05 10:23:50 -07:00
Evan Hahn
6b290a0f0c
@mentions notifications
2021-08-05 07:35:33 -05:00
Evan Hahn
3b476fb60d
Fix tooltip placement bugs by upgrading Popper
2021-08-03 12:04:49 -05:00
Scott Nonnenberg
bcb9d2d2f3
Modernize DeliveryIssueDialog, fix outline clipping in Modal
2021-08-02 14:19:18 -07:00
Fedor Indutny
907e1d32ec
Handle message render errors in timeline
2021-08-02 13:55:47 -07:00
Scott Nonnenberg
bf7da5ca2e
DeliveryIssueDialog: Add learn more button linking to support
2021-07-30 13:30:59 -07:00
Scott Nonnenberg
0ab09711a4
Track performance of message sends
2021-07-30 11:37:03 -07:00
Fedor Indutny
b7e5efe0a3
Fix rendering of links with emoji
2021-07-27 16:39:57 -07:00
Scott Nonnenberg
114a9b6969
Delivery Issues: Show simpler message when displayed in a group
2021-07-27 13:30:41 -07:00
Evan Hahn
14929fb408
Show "unplayed" dot on outgoing audio messages
2021-07-27 10:42:25 -05:00
Evan Hahn
fc33e9be41
Add stories for <CallingNotification>
2021-07-23 16:34:48 -05:00
Josh Perez
d9e90e9ea8
Improvements to shared library components
2021-07-21 13:45:41 -07:00
Fedor Indutny
dd0baf9ab4
Merge branch 'heysujal/development' into development
2021-07-20 13:25:52 -07:00
Josh Perez
56d5d283bd
Support for announcement-only groups
2021-07-20 13:18:35 -07: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
Josh Perez
aade43bfa3
Allow download of view once images if received in-call
2021-07-19 17:48:07 -04:00
Josh Perez
b392b7c7ee
Fix read more for long group descriptions
2021-07-19 17:14:41 -04:00
Josh Perez
cd35a29638
Edit profile
2021-07-19 12:26:06 -07:00
Sujal Gupta
3ef72d537b
Unescape HTML encoded entities in link preview
2021-07-19 04:34:34 +05:30
Fedor Indutny
aa63aabbc6
Fix negative countdown for audio messages
2021-07-16 11:05:11 -07:00
Fedor Indutny
c3bdf3d411
Show lightbox for GIFs
2021-07-14 16:39:52 -07:00
Josh Perez
0303b6715c
Shorten the submenu hover delay
2021-07-13 15:27:28 -07:00
Fedor Indutny
ad217c808d
Revert "Refactor outbound delivery state"
...
This reverts commit 9c48a95eb5
.
2021-07-12 16:51:45 -07:00
Evan Hahn
d4558dc13b
Remove delete button from message details screen
2021-07-12 15:57:58 -04:00
Evan Hahn
9c48a95eb5
Refactor outbound delivery state
2021-07-09 16:38:51 -05:00
Evan Hahn
831ec98418
Audio messages: move countdown under waveform
2021-07-09 13:27:16 -07:00
Fedor Indutny
ddbbe3a6b1
More protobufjs migration
2021-07-09 12:36:10 -07:00
Evan Hahn
da27a6ac64
Add array-type
TypeScript ESLint rule
2021-07-08 14:55:48 -07:00
Evan Hahn
3827f05db9
Upgrade to TypeScript v4.3.5
2021-07-07 11:37:55 -05:00
Evan Hahn
3dd850b9b8
Disable tooltip on emoji
2021-07-02 13:16:55 -07:00
Fedor Indutny
e7e9021e3f
Fix duplicate key in Linkify
2021-06-30 12:25:02 -07:00
Fedor Indutny
773aa9af19
Better emoji support in linkify/previews
2021-06-30 10:00:02 -07:00
Fedor Indutny
2cd4160422
Unify audio playback under App component
2021-06-29 12:58:29 -07:00
Evan Hahn
af1f2ea449
Officially support the system tray on Windows
2021-06-29 12:18:03 -05:00
Fedor Indutny
cd28e71bc6
Default disappearing message timeout fixes
2021-06-25 16:52:56 -07:00
Josh Perez
01eabf9ec6
Option to send photos as high quality
2021-06-25 11:08:16 -05:00
Fedor Indutny
6c56d5a5f1
Fix UI for GIFs in groups
2021-06-24 16:00:11 -05:00
Fedor Indutny
a7799a74c1
Fix rendering of GIFs
2021-06-24 12:05:27 -07:00
Evan Hahn
c1e2757751
Remove redundant prop from <MessageDetail>
props type
2021-06-23 10:00:56 -07:00
Josh Perez
94d116c621
Removes some Backbone views
2021-06-17 14:15:09 -07:00
Evan Hahn
65a1e82857
Emojify and linkify group descriptions
2021-06-17 12:15:51 -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
Scott Nonnenberg
1520c80013
Remove messageCollection from Conversation model
2021-06-15 17:44:14 -07: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
Josh Perez
df7f702dde
Update group name colors
2021-06-07 11:50:18 -05:00
Scott Nonnenberg
3956443f50
Group Description: Render newlines, view button in change notification
2021-06-04 09:27:04 -07:00
Evan Hahn
2d6b0ecfe9
Edit group title/description: fix focus issues
2021-06-04 09:55:34 -05:00
Josh Perez
d42a513619
Value in Select needs to be a string(boolean)
2021-06-03 17:42:46 -07:00
Fedor Indutny
4c4351df39
Make link preview image clickable
2021-06-03 17:42:01 -07:00
Josh Perez
016ef8af79
Use the new Select component everywhere
2021-06-03 15:12:23 -07:00
Fedor Indutny
430d60093a
Fix nested border-radius for attachments
2021-06-02 17:41:23 -07:00
Josh Perez
66d9bb8418
Focus group description input when editing it
2021-06-02 17:07:37 -07:00
Scott Nonnenberg
9ea827c033
Timeline: mark messages read even with no known oldest message
2021-06-02 15:32:49 -05:00
Evan Hahn
23b0a5698f
Fix error in <Timeline> stories
2021-06-02 10:27:12 -07:00
Evan Hahn
6c6eed0b1e
Don't show name collisions for system contacts
2021-06-02 10:24:22 -07:00
Evan Hahn
84be8288e9
Typing bubble avatar should not use cursor: pointer
2021-06-02 09:45:24 -07:00
Fedor Indutny
b009967a83
Display proper text when quoting view once message
2021-06-02 09:42:19 -07:00
Scott Nonnenberg
9705f464be
Group Description: Edit/Receive
2021-06-01 20:24:28 -04:00
Evan Hahn
36c15fead4
Group name spoofing warning
2021-06-01 16:30:25 -07:00
Fedor Indutny
19f8042cd3
Universal Disappearing Messages
2021-06-01 13:45:43 -07:00
Scott Nonnenberg
ee513a1965
Support for message retry requests
2021-05-28 12:11:19 -07:00
Josh Perez
28f016ce48
Conversation Colors
2021-05-28 09:15:17 -07:00
Evan Hahn
d4dc9b8e39
Message Requests: Add new "Report spam and block" button
2021-05-27 13:37:58 -07:00
Fedor Indutny
d8417e562b
Do not display call buttons for SMS-only convo
2021-05-25 15:30:57 -07:00
Scott Nonnenberg
07c1505782
Force load of newer/older messages if, on load, all messages visible
2021-05-25 11:34:34 -07:00
Fedor Indutny
05306c2d3d
Handle durationchange
events in MessageAudio
2021-05-24 09:30:50 -07:00
Scott Nonnenberg
f6bc4dfe25
Enable click on draft quotes, fetch groups from contact modal
2021-05-21 10:27:28 -07:00
Scott Nonnenberg
be087c3498
Ensure that context is always provided for error logs
2021-05-20 17:37:18 -07:00
Fedor Indutny
8fa5ea6b2b
Add outlines for MessageAudio buttons
2021-05-20 17:37:08 -07:00
Evan Hahn
a8346c490e
Fix inaccurate numbers on group details screen
2021-05-20 17:37:07 -07:00
Fedor Indutny
b1d49f7b3e
Do not compute waveform for a long audio
2021-05-12 12:18:02 -07:00
Evan Hahn
09d7a253af
Fix non-default disappearing message timers on group details screen
2021-05-11 12:05:02 -05:00
Josh Perez
24b7790829
One SearchInput to rule them all
2021-05-10 20:50:43 -04:00
Scott Nonnenberg
efaaafa370
A few small bug fixes
2021-05-10 15:38:18 -07:00
Evan Hahn
d28678dbf9
Make it more difficult to blur avatars
2021-05-07 17:21:10 -05:00
Fedor Indutny
986d8a66bc
Show challenge when requested by server
2021-05-05 17:09:29 -07:00
Evan Hahn
7afbbb3a4c
Fix render loop in <ConversationHero>
2021-05-05 17:35:32 -05:00
Evan Hahn
7c2f233384
Fix blurred avatars in message details
2021-05-04 16:19:36 -07:00
Scott Nonnenberg
f0b3c43313
Fix a number visual bugs with message forwarding
2021-05-04 09:57:14 -05:00
Evan Hahn
736075322c
Render disappearing message timers generically
2021-05-03 16:24:40 -07:00
Scott Nonnenberg
cf1eb77ed8
Message Requests: Always open to top of conversation
2021-04-30 15:59:37 -07:00
Evan Hahn
fe772af251
Show "no groups in common" warning for relevant message requests
2021-04-30 15:58:57 -07:00
Evan Hahn
05703c2719
Blur avatars of unapproved conversations
2021-04-30 14:40:25 -05:00
Evan Hahn
1238cca538
Ensure group details screen has the latest data
2021-04-29 14:27:38 -07: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
Evan Hahn
e7ef3de6d0
Profile name spoofing dialog
2021-04-29 14:27:35 -07:00
Evan Hahn
885ff5fe42
Show common groups in contact modal
2021-04-29 14:27:35 -07:00
Josh Perez
353becffac
Various fixes for message forwarding
2021-04-28 15:44:48 -05:00
Scott Nonnenberg
3face767aa
Group settings: on block and leave, don't delete
2021-04-28 16:27:16 -04:00
Josh Perez
d203f125c6
Adds message forwarding
2021-04-27 18:35:35 -04:00
Josh Perez
e75bba1c52
Replaces ConfirmationModal with ConfirmationDialog
2021-04-27 15:29:59 -04:00
Josh Perez
5e2d48cc2f
Do not populate left pane on initial link
2021-04-20 19:16:49 -04:00
Fedor Indutny
0b969f3f42
Improve MessageAudio peaks computation
...
There are two parts to this change:
1. The computation of peaks is moved from `MessageAudio` to the
`GlobalAudioContext` and thus we can limit the concurrency of the
computations (`p-queue`!) and de-duplicate the computations as well
2. While the peaks are computed the component has to display spinning
animation instead of empty waveform and unclickable UI.
2021-04-15 14:02:24 -07:00
Evan Hahn
62f1a42c25
Add reusable <Modal> component, use with <Alert>
2021-04-13 09:20:02 -05:00
Josh Perez
6c0acd09df
Sync mute state
2021-04-09 11:19:38 -05:00
Evan Hahn
95482fbf31
Add affirmative and destructive secondary button variants
2021-04-08 23:53:18 -04:00
Evan Hahn
7ae25590e6
Add conversation hero to <Timeline> stories
2021-04-08 23:53:18 -04:00
Evan Hahn
8fe1be8678
Remove ability to set or read author E164 for new quotes
2021-04-08 23:51:54 -04:00
Evan Hahn
c8dc8a7398
Don't let users leave groups if they're the only admin
2021-04-05 18:08:50 -04:00
Evan Hahn
2d35fa8f57
Fix replies to image-only messages
2021-04-05 18:08:50 -04:00
Evan Hahn
130dac527f
Add types for <ConversationHeader>'s mute options
2021-04-05 18:08:50 -04:00
Evan Hahn
c711fbe0c0
In conversation hero, show “No group in common” if you have no common groups and no phone number
2021-04-05 18:08:50 -04:00
Fedor Indutny
79acb7513d
Fix delivery status overflow in sticker messages
2021-03-29 14:34:47 -07: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
Fedor Indutny
7a9a4a1404
Clicking first bars of the waveform should rewind
...
It is practically impossible to rewind audio prior to this commit. With
this commit - clicking first two bars will rewind the audio to its very
start instead of updating its current play time to a specific non-zero v
alue.
2021-03-24 16:08:57 -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
d6063d71e5
Change duration to countdown in MessageAudio
...
Message Audio UI should display remaining time not the duration of the
audio.
2021-03-22 11:15:59 -07:00
Josh Perez
e58975ec8b
Fix for multiple at-mentions
2021-03-19 16:57:36 -04:00
Fedor Indutny
d7ec22fb0b
Save attachment button should download attachment if needed
2021-03-19 16:57:36 -04:00
Evan Hahn
c97bb0feee
Auto-scroll the left pane less frequently
2021-03-19 16:57:36 -04:00
Fedor Indutny
3eaa47ec72
Remove useless logic in MessageAudio
...
`isLoading` was initially used to avoid duplicate loads of the audio on
re-renders, but this has to be handled in GlobalAudioContext not in
MessageAudio.
2021-03-19 16:57:36 -04:00
Fedor Indutny
f41ffda3e0
Update types: attachments may not have url
property
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
Evan Hahn
e09fb6cce4
Improve types in ConversationView#showConversationDetails
2021-03-19 16:57:35 -04:00
Josh Perez
d5f2492ce5
Fine tune the conversation load experience
2021-03-19 16:57:35 -04:00