Commit graph

943 commits

Author SHA1 Message Date
Josh Perez
635a59a473
Moves showLightbox to redux 2022-12-09 21:02:22 -05:00
Alvaro
3a246656e3
Narrowed down avatar sizes 2022-12-09 13:37:45 -07:00
Scott Nonnenberg
07f7fa93d6
ConversationView: Move setQuotedMessage/scrollToMessage to redux 2022-12-09 11:11:14 -08:00
Josh Perez
81e4564687
Removes showContactModal in favor of redux action 2022-12-09 01:08:55 -05:00
Josh Perez
135c832748
Removes showIdentity and showSafetyNumber in favor of redux action 2022-12-09 00:53:19 -05:00
Josh Perez
ec3c8d99ef
Removes showForwardMessageModal from conversation_view 2022-12-08 16:49:54 -08:00
Josh Perez
7ea38bb1a9
Moves startGV2Migration to redux 2022-12-08 01:41:37 -05:00
Scott Nonnenberg
452e0b7b31
ConversationView: Move attachments processing into redux 2022-12-07 20:26:59 -05:00
Scott Nonnenberg
ff6750e4fd
ConversationView: Move setPin to redux 2022-12-06 17:00:02 -08:00
Scott Nonnenberg
e9b7a74b32
GroupV2: Show summary of change details on re-join of group 2022-12-06 13:12:57 -08:00
Josh Perez
105162dc66
Moves blockAndReportSpam to redux 2022-12-06 11:03:09 -08:00
Scott Nonnenberg
92a512a16d
ConversationView: Move call/mute functions into redux 2022-12-06 09:31:44 -08:00
Josh Perez
9348940ecf
Moves parts of conversation view into redux 2022-12-05 14:56:23 -08:00
Scott Nonnenberg
a49a6f2057
Notifications for a few merge-related scenarios 2022-12-05 14:46:54 -08:00
Josh Perez
bc4f3dcd01
Handle cmd+shift+e keyboard shortcut 2022-12-02 16:40:33 -08:00
Evan Hahn
38b921fad7
Blocked/unapproved convos: no clickable link preview images 2022-11-30 20:24:38 -05:00
Jamie Kyle
6198b02640
Init payments message types 2022-11-30 13:47:54 -08:00
Fedor Indutny
991580a1ed
Improve error handling during group sends 2022-11-22 10:43:43 -08:00
Fedor Indutny
a2f1b469ea
Make sure that storySendMode is in group types 2022-11-19 00:31:18 -08:00
Fedor Indutny
98ef4c627a
Update eslint to 8.27.0 2022-11-17 16:45:19 -08:00
Fedor Indutny
6be69a7ba8
Use DurationInSeconds for expireTimer 2022-11-16 13:18:02 -07:00
Fedor Indutny
7b703fdd5f
Remove duplicate modal footer from group edit 2022-11-15 09:33:04 -08:00
Fedor Indutny
e6ebfe4fca
Update typescript to 4.8.4 2022-11-14 11:35:37 -08:00
Fedor Indutny
be6e988a95
Hydrate body ranges for story replies 2022-11-09 20:59:36 -08:00
Fedor Indutny
5cee260063
Fix i18n string id 2022-11-08 19:40:23 -08:00
Josh Perez
19a42ed719
Onboarding story 2022-11-08 21:38:19 -05:00
Alvaro
4445ef80eb
Implement group story reply deletion 2022-11-04 07:22:07 -06:00
Scott Nonnenberg
08f2a966a1
Update strings and design around custom stories 2022-10-25 16:57:16 -07:00
Scott Nonnenberg
0134990275
Don't access RemoteConfig directly from 'dumb' components 2022-10-24 13:46:36 -07:00
Fedor Indutny
00f82a6d39
Discriminator in username 2022-10-18 10:12:02 -07:00
Fedor Indutny
b950480d36
Support url-only link previews in stories 2022-10-06 13:22:59 -07:00
Alvaro
89e25fb7e3
Clicking a group in groups-in-common takes you to that conversation 2022-10-06 09:18:48 -06:00
Alvaro
8fcd36e30a
Removed Note to Self story ring 2022-10-04 15:39:29 -06:00
Alvaro
458eb2ea81
Voice-note animation fixes 2022-10-03 17:43:44 -06:00
Jamie Kyle
6d56f8b8aa
support icu messageformat for translations 2022-10-03 14:19:54 -07:00
Alvaro
00a720faa9
Refactored and cleaned up Modal and friends 2022-09-29 16:40:09 -06:00
Alvaro
ab153b30c8
Remove unused name on Avatar 2022-09-28 09:27:52 -07:00
Fedor Indutny
ffac571dd8
systemGivenName/systemFamilyName in ContactPill 2022-09-27 17:07:00 -06:00
Fedor Indutny
0ab85a6094
Fix UI in PendingInvites 2022-09-27 13:31:55 -07:00
Fedor Indutny
698c7a7739
Fix click handling for stories 2022-09-27 13:24:21 -07:00
Alvaro
22bf3ebcc0
Implemented ability to quickly add a user to a group 2022-09-26 09:24:52 -07:00
Alvaro
b4c9c3051b
Animated voice-note controls and used image x for playback rate 2022-09-19 17:28:10 -07:00
Jamie Kyle
01587b0f39
Accept multiple images and videos in attachment picker 2022-09-15 14:40:48 -07:00
Alvaro
6cfe2a09df
Consecutive playback and per-conversation playback rate 2022-09-15 14:10:46 -06:00
Jamie Kyle
eb10aafd7c
tsc:allowUnreachableCode, eslint:no-unreachable, assert->assertDev 2022-09-15 13:17:15 -06:00
Fedor Indutny
635840cd99
Properly handle closing click events in modals 2022-09-14 18:58:35 -07:00
Jamie Kyle
0086216c9d
Add eqeqeq rule but require == for null 2022-09-14 14:40:44 -07:00
Alvaro
383a0fd17f
Added the time remaining for disappearing messages and stories 2022-09-09 11:35:00 -07:00
Scott Nonnenberg
9d50679473
Message.tsx: Don't let event propagate on generic attachment click 2022-09-08 15:09:40 -07:00
Scott Nonnenberg
03b750d072 Fix keyboard handling in ReactionPicker/Viewer and their child views 2022-09-07 14:17:09 -07:00
Fedor Indutny
b54c6f257d
Minimize and start Signal in tray 2022-09-06 15:09:52 -07:00
Scott Nonnenberg
1cb70547fb
Ensure non-visual attachments can be manually downloaded 2022-08-31 15:32:06 -07:00
Alvaro
dd12c4cba3
Fixed playback-speed button bug and updated layout 2022-08-31 14:42:09 -06:00
Alvaro
ca6300a86a
Added last-message's author to group conversation list in left pane 2022-08-25 09:16:37 -07:00
Josh Perez
eadef45290
Fix story group replies rendering 2022-08-25 12:10:56 -04:00
Jordan Rose
a52bb25731
Typing while the emoji picker is up should enter search mode 2022-08-22 16:31:35 -07:00
Josh Perez
6f7094bc19
Allow paging through My Stories 2022-08-22 13:44:23 -04:00
Scott Nonnenberg
6dd6a64d6c
ErrorBoundary improvements, StickerCreator logging/resiliency 2022-08-19 11:35:40 -07:00
Josh Perez
de84dc06c8
Fixes emoji-only rendering within a story reply context 2022-08-18 16:28:51 -07:00
Alvaro
13046dc020
Added a playback speed button on voice notes 2022-08-18 11:43:44 -04:00
Josh Perez
5dc42122a8
Use <Message /> for group story replies 2022-08-04 21:29:44 -04:00
Scott Nonnenberg
67ddec65d9
Message.tsx: Use role=row for container, not role=button 2022-07-25 17:19:00 -07:00
Josh Perez
06476de6c9
Adds debugging information to stories 2022-07-25 11:55:44 -07:00
Josh Perez
5dfe30d235
Add story entry points around the app 2022-07-21 17:44:35 -07:00
Josh Perez
e321e1fea8
Edit distribution lists via story settings menu 2022-07-20 20:07:09 -04:00
Scott Nonnenberg
fc98d54326
Ensure that outgoing gift badges can be Viewed 2022-07-12 09:39:18 -07:00
Josh Perez
06b606cec3
Story creator improvements 2022-07-08 14:14:01 -07:00
Fedor Indutny
a450e13a99
Fetch PNI group credentials 2022-07-08 13:46:25 -07:00
Josh Perez
3e644f45cf
Fixes story viewing behavior 2022-07-06 15:06:20 -04:00
Josh Perez
2d6d817f58
Fix story quote custom color 2022-07-06 12:34:01 -04:00
Fedor Indutny
f92be05b15
Titlebar fixes 2022-07-05 09:44:53 -07:00
Fedor Indutny
e0f479ca81
Fix sending to embedded contact 2022-06-27 17:37:05 -07:00
Scott Nonnenberg
7b1721b0d0
Use different copy for outgoing gift badges 2022-06-23 09:15:26 -07:00
Fedor Indutny
6b231346d9
Fix management of selectedMessage in redux 2022-06-23 09:12:17 -07:00
Josh Perez
d970d427f8
Create text stories 2022-06-16 17:48:57 -07:00
Fedor Indutny
973b2264fe
Add to group by username 2022-06-16 17:38:28 -07:00
Josh Perez
aa23c2def2
Removes Inbox Backbone view 2022-06-16 15:12:50 -04:00
Fedor Indutny
4b8cb9f040
Fix minor UI issues with composer 2022-06-15 10:53:08 -07:00
Scott Nonnenberg
71d6a1d383
Conversation details: Unblock option for groups, update unblock style 2022-06-14 10:09:32 -07:00
Fedor Indutny
f2af71f8b5
Fix minor UI issues 2022-06-13 16:37:29 -07:00
Scott Nonnenberg
e18510e41c
Message: If collapsed in group, remove top margin on link previews 2022-06-13 14:29:10 -07:00
Josh Perez
410bc52fd0
Moves group link management actions to redux 2022-06-13 14:42:19 -04:00
Josh Perez
42eb4013d0
Upgrade react and storybook 2022-06-06 17:48:02 -07:00
Evan Hahn
f50a6abe36
Remove unused eslint-disables 2022-06-03 14:07:51 -07:00
Evan Hahn
63189f3f91
Convert ReactWrapperView to TypeScript 2022-06-03 09:33:39 -07:00
Scott Nonnenberg
49bb1321e3
Sort groups you've left to the bottom of search 2022-05-31 09:28:31 -07:00
Scott Nonnenberg
6b66dad493
When floating loading spinner isn't visible, don't render it 2022-05-26 12:18:17 -07:00
Fedor Indutny
dfc310805a
Allow manually retrying attachment downloads 2022-05-23 16:07:41 -07:00
Evan Hahn
28ab6e11f6
isMuted -> isConversationMuted 2022-05-23 18:37:53 +00:00
Scott Nonnenberg
a114e4e210
Gift Badges: A few tweaks 2022-05-16 12:54:38 -07:00
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