Commit graph

803 commits

Author SHA1 Message Date
Scott Nonnenberg
af2c884c9f
Timeline: Use messageChangeCounter to mark messages read less often 2022-05-11 15:41:45 -07:00
Scott Nonnenberg
0ba6a0926e
Support for incoming gift badges 2022-05-11 13:59:58 -07:00
Scott Nonnenberg
6b4bea6330
Timeline: When scrolling far into history, discard newest messages 2022-05-10 13:19:58 -07:00
Josh Perez
0ca66d6e95
Adjust story replies for direct conversations 2022-05-10 15:02:21 -04:00
Josh Perez
fa7b7fcd08
Adds keyboard shortcuts for calling 2022-05-10 11:14:08 -07:00
Josh Perez
144d594e31
Remove announcementGroup capability checks 2022-05-09 11:15:46 -07:00
Josh Perez
85c8ff76dc
Adds playback bar to story viewer 2022-05-06 12:02:44 -07:00
Scott Nonnenberg
87a5ddc437
MediaGallery: Localize Media and Documents tab headers 2022-05-02 16:42:07 -07:00
Scott Nonnenberg
9d3498d938
Fix collapsed corners for link previews and image attachments 2022-04-27 16:03:50 -07:00
Fedor Indutny
decf65078c
Fix screen reader interaction with message audio 2022-04-25 14:12:22 -07:00
Josh Perez
2f44e33c9c
Move link notification to the conversation hero 2022-04-25 14:03:24 -07:00
Scott Nonnenberg
5e0534310e
Message.tsx: Don't handle clicks outside of container 2022-04-25 10:26:45 -07:00
Scott Nonnenberg
3a1df01c9e
New 'unseenStatus' field for certain secondary message types 2022-04-22 11:35:14 -07:00
Scott Nonnenberg
34a27accfc
Timeline: Mark messages read sooner, and a little more often 2022-04-20 12:31:54 -07:00
Josh Perez
e3d537cbd3
Render group stories 2022-04-14 20:08:46 -04:00
Josh Perez
908ecda64f Merge signalapp/Signal-Desktop#5610 2022-04-14 14:49:05 -04:00
Scott Nonnenberg
f572abf57d
Show expiration timer for incoming messages even if unread 2022-04-14 11:06:37 -07:00
Josh Perez
4015259def
Adds captions in the viewer 2022-04-14 13:02:12 -04:00
Fedor Indutny
247149c58e Support search for E164 without candidate contacts 2022-04-13 15:02:41 -07:00
Scott Nonnenberg
302604f67e
Restore ability to message someone from embedded contact 2022-04-11 17:26:09 -07:00
Scott Nonnenberg
7f89f6162f
Disable forward for messages with embedded contact 2022-04-11 13:57:44 -07:00
Scott Nonnenberg
45fcf827dd
Don't apply custom color style if message is deleted for everyone 2022-04-11 09:45:50 -07:00
Josh Perez
b96b02593b
Add aria-label to all <Select /> instances 2022-04-07 17:40:57 -04:00
Scott Nonnenberg
b50c96c0b5
Improve layout of various message bubbles 2022-04-07 09:58:15 -07:00
Fedor Indutny
5fdda012cd
Raise voice note time limit to one hour 2022-04-06 14:39:54 -07:00
Fedor Indutny
9568d5792e
Allow adding to a group by phone number 2022-04-04 17:38:22 -07:00
Scott Nonnenberg
85989fda3c
More peeking of group calls to prevent out-of-date member info 2022-03-31 18:06:56 -07:00
Josh Perez
3b5cc26fec
Adds logic around downloading stories 2022-03-28 18:10:08 -07:00
Scott Nonnenberg
006de5b1a5
Don't linkify when certain unicode formatting characters are present 2022-03-28 17:28:37 -07:00
Scott Nonnenberg
1ad284d22c
Group disparate status together, but show metadata if different 2022-03-28 15:55:12 -07:00
Fedor Indutny
d18ed40a23
Don't pass full group to spoofing review dialog 2022-03-24 14:46:17 -07:00
Fedor Indutny
c5a3ffddf9
Limit number of GV2 banned members 2022-03-23 15:34:51 -07:00
Scott Nonnenberg
bb066d4a84
Reintroduce inline metadata with full RTL support 2022-03-23 13:23:28 -07:00
Scott Nonnenberg
801c70b298
Don't render metadata if message bubble is collapsed 2022-03-23 10:41:38 -07:00
Scott Nonnenberg
04ef741236
Fix rendering of messages with primarily RTL text 2022-03-22 17:12:06 -07:00
Fedor Indutny
356f123092
Use parallel-prettier for lint 2022-03-22 13:45:34 -07:00
Scott Nonnenberg
67702254fb
Message Select: New faster animation, lighter for incoming bubbles 2022-03-22 12:06:08 -07:00
Scott Nonnenberg
c369e44d8e
Fix Contact Modal and improve Debug Log window 2022-03-21 11:41:48 -07:00
Scott Nonnenberg
53ca6672a9
Timeline: Spacing and message selection tweaks 2022-03-17 14:20:40 -07:00
Fedor Indutny
a9bf0cc0c9
Fix race condition in Timeline 2022-03-16 14:07:53 -07:00
Josh Perez
3620309f22
Show story replies in the timeline 2022-03-16 10:30:14 -07:00
Scott Nonnenberg
703bb8a3a3
Introduce new 'Block request' button in timeline 2022-03-15 17:11:28 -07:00
Scott Nonnenberg
f217730b84
Support for people banned from joining groups via link 2022-03-14 18:32:07 -07:00
Evan Hahn
72c6c57186
If not enough messages are loaded (on tall screens), fix jankiness 2022-03-11 14:31:21 -08:00
Evan Hahn
6e77d4b2c8
Fix RTL message layout issue 2022-03-10 11:35:48 -08:00
Evan Hahn
3226156a45
Revert buggy timeline layout refactor 2022-03-09 14:44:57 -08:00
Evan Hahn
cc44dca32b
Left-align audio message countdown and right-align metadata 2022-03-09 15:45:18 -06:00
Evan Hahn
80e445389f
Fix marking tall messages read 2022-03-09 12:05:07 -08:00
Evan Hahn
fd72385b9f
<Timeline> only needs whether someone is typing, not who 2022-03-09 13:15:15 -06:00
Evan Hahn
0b5e2e6768
Simplify positioning of timeline warnings 2022-03-09 12:47:13 -06:00
Evan Hahn
4b6b9cce01
Fix timeline not scrolling to bottom reliably 2022-03-08 13:54:27 -08:00
Evan Hahn
944d60f40b
On conversation open, scroll to unread indicator if present 2022-03-08 14:05:05 -06:00
Josh Perez
4e48d7792b
Use a hook for the ever-updating now 2022-03-08 13:11:11 -06:00
Evan Hahn
c527de0a8d
Collapse message bubbles when applicable 2022-03-08 08:32:42 -06:00
Josh Perez
eb91eb6fec
Process incoming story messages 2022-03-04 13:14:52 -08:00
Evan Hahn
effe5aae6f
Assume everyone is GV2-capable 2022-03-04 13:48:44 -06:00
Scott Nonnenberg
0a52318be6
Delete for everyone: Track sends and show failure states 2022-03-04 11:22:31 -08:00
Fedor Indutny
51759a64f9
Unescape link preview description 2022-03-04 11:02:36 -08:00
Evan Hahn
a3b1b696db
<MessageTimestamp>: make timestamp prop required 2022-03-03 20:35:59 -08:00
Evan Hahn
0c31ad25ef
Remove React Virtualized from <Timeline> 2022-03-03 14:23:10 -06:00
Evan Hahn
9b269cb43f
<Message>: avoid state change when cleaning up reaction root elements 2022-02-28 13:42:51 -08:00
Evan Hahn
052a8e65e2
Add "clean up timer if necessary" utility 2022-02-25 10:37:15 -08:00
Scott Nonnenberg
4763831d3e
background.ts: Introduce types for redux initialState 2022-02-23 12:48:40 -06:00
Evan Hahn
b96c7e90fe
Remove <Timeline> logging when row count is 0 2022-02-22 14:32:47 -06:00
Evan Hahn
aad371525a
Fix typo in Storybook action name
Co-authored-by: Ted Timmons <ted@perljam.net>

See [#5646][0].

[0]: https://github.com/signalapp/Signal-Desktop/pull/5646
2022-02-16 12:43:45 -06:00
Evan Hahn
fd81d38931
Call details screen disable call buttons if call is active 2022-02-16 10:33:52 -08:00
Josh Perez
67209d8881
Consolidates the search inputs 2022-02-14 12:57:11 -05:00
Evan Hahn
48137a498c
Timeline: Add alternate height measurement cache 2022-02-11 16:28:28 -06:00
Evan Hahn
eed3e8e316
Disable "Call Again" if already on a call 2022-02-11 12:21:45 -06:00
Evan Hahn
7ff0aeacb8
Log if <Timeline> row count is 0 2022-02-10 13:35:05 -06:00
Evan Hahn
4e707c1b9a
Remove duplicated react-virtualized type 2022-02-10 12:59:09 -06:00
Evan Hahn
f5a4cd9ce8
Peek group calls when opening conversations and leaving calls 2022-02-08 13:18:51 -06:00
Evan Hahn
45393b1ca5
Fix timeline crash when deleting the oldest visible message 2022-02-07 10:54:15 -08:00
Josh Perez
909453b20b
Allow reactions in announcement only groups 2022-02-02 15:01:22 -05:00
Evan Hahn
07968ea42b
Use isSameDay and isToday utilities 2022-02-02 10:27:44 -08:00
Josh Perez
a0c61e5b4a
Only show image editing icon in composition area 2022-02-02 09:31:16 -06:00
Evan Hahn
bd41bdf3cb
Tweaks to floating date header fading 2022-01-28 12:31:20 -06:00
Evan Hahn
babd61377b
Remove floating date header remote config flags 2022-01-27 13:50:01 -08:00
Evan Hahn
8fa4cd68d5
Fix timeline item sizing bug, and test timeline logic 2022-01-27 12:10:24 -08:00
Evan Hahn
f9440bf594
Timeline date headers 2022-01-26 17:05:26 -06:00
Evan Hahn
b9adee918f
Removed "received at" from message details for outbound messages 2022-01-21 11:51:40 -06:00
Fedor Indutny
26421b8c18
Log conversation open time 2022-01-19 16:40:29 -08:00
Fedor Indutny
46ddcc50f9
Update electron to 16.0.6 2022-01-03 17:43:42 -08:00
Evan Hahn
7273e580bd
Quiet React warning in mute modal 2022-01-03 13:44:45 -08:00
Evan Hahn
770c80b9ee
Remove several @ts-ignores 2021-12-16 17:14:21 -08:00
Scott Nonnenberg
29c3b8af89
Fix groupV2 change rendering in notifications and left pane 2021-12-16 09:44:54 -08:00
Evan Hahn
97d42d5e7b
Enable media editor for everyone 2021-12-14 16:53:15 -08:00
Fedor Indutny
fed84be0b6
Fix crashes when playing media on legacy OS 2021-12-10 15:27:42 -08:00
Josh Perez
4c85c04d45
Adds all message actions to context menu 2021-12-06 13:52:47 -08:00
Josh Perez
13de35bea2
Fix video forwarding 2021-12-02 17:05:32 -08:00
Evan Hahn
c88cb62464
Hide "delete for everyone" button for pending messages 2021-12-02 13:28:19 -08:00
Evan Hahn
ee93168028
Clean up contact utility file name 2021-12-01 15:37:37 -08:00
Evan Hahn
e030b3d18c
Require badge props in <Avatar> to ensure no missing spots 2021-12-01 18:24:00 +01:00
Josh Perez
7affe313f0
Add image editor 2021-11-30 20:14:25 -06:00
Fedor Indutny
518ebc315e
Ensure that message heights are always recomputed 2021-11-30 20:34:56 +01:00
Evan Hahn
67b17ec317
Hide "become a sustainer" button if you're already a sustainer 2021-11-30 17:29:57 +01:00
Scott Nonnenberg
563f016245
When you send a message, scroll it into view 2021-11-30 12:25:24 +01:00
Evan Hahn
a7ca634e87
Show badges in contact spoofing dialog 2021-11-30 11:07:24 +01:00
Josh Perez
29b4148889
Add 100 character buffer to read more 2021-11-29 16:42:26 +01:00
Fedor Indutny
a52530262f
Revert "When you send a message, scroll it into view"
This reverts commit a3525c16ef.
2021-11-23 14:09:07 +01:00
Scott Nonnenberg
58e3dd9028
Conversation details label: Differentiate between group and 1:1 chat 2021-11-20 09:48:27 -06:00
Evan Hahn
e490d91cc4
Add badges to avatars in group dialogs 2021-11-20 09:41:21 -06:00
Scott Nonnenberg
7bb37dc63b
Draft attachments: Show image as generic attachment if too big 2021-11-19 13:19:42 -08:00
Scott Nonnenberg
a3525c16ef
When you send a message, scroll it into view 2021-11-19 09:19:55 -08:00
Evan Hahn
e5b40aa2ef
Show badges on group invites screen 2021-11-18 23:27:48 +01:00
Fedor Indutny
b48477a19c
Use full name in ChangeNumberNotification 2021-11-18 23:11:33 +01:00
Evan Hahn
1ba48512f6
Update design for clicking on badges 2021-11-18 12:01:53 -08:00
Evan Hahn
c63bf11a8f
Show badges in reaction viewer 2021-11-17 22:11:46 +01:00
Evan Hahn
2cbcd59609
Add badges to all conversation lists 2021-11-17 22:11:21 +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
Scott Nonnenberg
a024ee4b96
Allow stage and send of video, even if we can't get screenshot 2021-11-15 13:54:33 -08:00
Evan Hahn
f4e336836f
Add user badges to typing bubbles, refactor typing logic 2021-11-15 21:01:58 +01:00
Evan Hahn
ede34ecee3
Enable noImplicitOverride TypeScript compiler option 2021-11-12 15:44:20 -08:00
Evan Hahn
4490d9f2d0
Upgrade Reselect to 4.1.2
Co-authored-by: Fedor Indutnyy <indutny@signal.org>
2021-11-12 16:37:44 -06:00
Scott Nonnenberg
cbae7f8ee9
Search for username in compose mode 2021-11-11 17:17:29 -08:00
Scott Nonnenberg
edab7c7d83
Remember message Read More state when scrolling in virtualized container 2021-11-11 15:45:47 -08:00
Scott Nonnenberg
c5b5f2fe42
Handle duplicate requests to start recording a voice note 2021-11-11 15:33:35 -08:00
Evan Hahn
5619eeca83
Upgrade Prettier to 2.4.1 2021-11-11 16:43:05 -06:00
Evan Hahn
d0f1b8892d
Show user badges in contact modal 2021-11-11 10:23:00 -06:00
Scott Nonnenberg
6445a01f2a
Fix broken Pending Invites screen 2021-11-10 15:01:06 -08:00
Evan Hahn
37992715cd
Remove caption editor 2021-11-09 16:25:29 -08:00
Evan Hahn
ab543aea93
Add "should show badges" feature flag 2021-11-09 16:51:56 +01:00
Evan Hahn
d6ffb08a63
Disable class-methods-use-this lint rule 2021-11-04 16:04:51 -05:00
Evan Hahn
0811367bd5
Message details: Render a fuller timestamp for outbound send state 2021-11-04 13:53:37 -07:00
Scott Nonnenberg
5bd7eda124
Scroll to bottom of conversation on message send 2021-11-02 19:00:54 -07:00
Fedor Indutny
254c87a1ac
Fix row height recomputation in Timeline 2021-11-02 16:42:35 -07:00
Evan Hahn
f647c4e053
Display user badges 2021-11-02 16:01:13 -07:00
Scott Nonnenberg
3190f95fac
Usernames: Create/update/delete in profile editor 2021-11-01 12:13:35 -07:00
Evan Hahn
a9cb621eb6
Various search UI improvements 2021-11-01 11:43:02 -07:00
Evan Hahn
630394d91d
Fix incorrect fallback for conversation details avatar lightbox 2021-11-01 11:40:28 -07:00
David Sanders
9d7340ef3f Fix several race conditions in react-contextmenu 2021-10-29 14:21:06 -07:00
Fedor Indutny
d7edbabd48
Add about field to ConversationDetailsHeader 2021-10-27 16:33:06 -07:00
Evan Hahn
ce35c870d4
Let Storybook stories fetch theme 2021-10-27 12:49:58 -07:00
David Sanders
79b3b6408e Fix microphone permission checking for audio recording
See [#5580][0].

[0]: https://github.com/signalapp/Signal-Desktop/pull/5580
2021-10-27 11:16:09 -05:00
Evan Hahn
90d8313614
Fix avatar type in conversation details panel 2021-10-27 10:50:58 -05:00
Fedor Indutny
63fcdbe787
Use UUIDs in group database schema 2021-10-26 15:59:08 -07:00
Evan Hahn
74fde10ff5
Prefer import type when importing types 2021-10-26 14:15:33 -05:00
Scott Nonnenberg
53bc13a401
Accessibility fixes for ConversationDetails and AvatarPopup 2021-10-25 12:11:19 -07:00
Josh Perez
f31c5165d8
Open conversation details when clicking conversation header 2021-10-21 16:06:44 -05:00
Josh Perez
9ecf47594b
Tweaks to conversation details 2021-10-21 14:04:43 -07:00
Josh Perez
2e438aa876
Conversation details screen for 1:1 chats 2021-10-20 16:46:41 -07:00
Josh Perez
b32d068e83
Affordances for really tall messages 2021-10-20 15:46:42 -05:00
Evan Hahn
d372b47617
Remove media query from <Message> 2021-10-19 09:24:36 -07:00
Will Golledge
2cd02855fc Fix "in contacts" tooltip exceeding desired boundary
See [#4907][0].

[0]: https://github.com/signalapp/Signal-Desktop/pull/4907
2021-10-18 17:10:22 -05:00
Josh Perez
fc425304fc
Moves the attach-file shortcut into the component 2021-10-15 14:51:58 -04:00
Evan Hahn
35a54cdc02
Introduce a new design for the left pane 2021-10-12 16:59:08 -07:00
Josh Perez
a5e8226821
Shows message status timestamps if available 2021-10-12 16:40:42 -07:00
Josh Perez
7488fa5abc
Memoize toasts to unstick them in AudioCapture 2021-10-12 14:09:00 -05:00
Evan Hahn
f4b0bade80
Fix avatar focus highlight 2021-10-12 14:07:58 -05:00