Commit graph

724 commits

Author SHA1 Message Date
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
Josh Perez
f5cce73611
Fix play button on videos 2021-10-12 12:06:39 -05:00
Josh Perez
a25690b3bd
Exclude jumbo style for single emoji in quotes or attachments 2021-10-07 20:27:46 -04:00
Josh Perez
b866e1a23d
Fix safety number viewer for contact modal 2021-10-07 17:45:58 -04:00
Evan Hahn
e346fb1f90
Persist overlay overflow in conversation list 2021-10-07 10:24:10 -05:00
Josh Perez
7c9b8e919c
Render emoji like a sticker 2021-10-06 10:37:53 -07:00
Scott Nonnenberg
bd380086a4
Send related emoji along with Sticker, fix SendMessage types 2021-10-05 17:10:08 -05:00
Josh Perez
f974490ff0 Add some spacing for +10 reactions 2021-10-05 11:28:18 -07:00
Josh Perez
5fdfa1c632
ConversationView in React 2021-10-05 09:47:06 -07:00
Josh Perez
87ea95735e
Make triple dot menu work on really small screen widths 2021-10-05 08:58:34 -05:00
Josh Perez
48aaf9e4f3
Fix quote styles so they are uniform 2021-10-04 20:12:07 -04:00
Josh Perez
59f8243a0d
Do not show play button for undownloaded media 2021-10-04 15:29:11 -07:00
Josh Perez
9a9fc60103
Fix click propagating from reaction viewer to container 2021-10-04 15:56:34 -05:00
Evan Hahn
893a77a3ad
Fix render loop in <Modal>, clean up ref merger code 2021-10-01 16:53:00 -07:00
Fedor Indutny
3534408c97
Fix various clipping issues with message buttons 2021-09-30 16:24:23 -05:00
Josh Perez
31d1f25b18
Adds error dialog when voice recorder cannot start 2021-09-30 13:13:47 -07:00
Fedor Indutny
3e31a7405b Use physical keys+layout for shortcuts 2021-09-29 14:21:15 -07:00
Josh Perez
603c315c82
Moves AudioCapture into react 2021-09-29 13:23:06 -07:00
Evan Hahn
c170d04ffa
Enable customization of preferred reactions for everyone 2021-09-29 13:21:26 -07:00
Fedor Indutny
5c1776e00e
Autofocus "choose group member" modal input 2021-09-29 14:29:02 -05:00
Fedor Indutny
2f7226e200
Remove key caching from Timeline 2021-09-28 11:32:54 -07:00
Fedor Indutny
a6e3d5cbae
Display thumbnails for video attachments 2021-09-24 13:47:47 -07:00
Josh Perez
1c3c971cf4 Moves DraftAttachments into redux 2021-09-24 16:03:32 -04:00
Fedor Indutny
4ef0bf96cc
Uint8Array migration 2021-09-23 17:49:05 -07:00
Fedor Indutny
b9d6497cb1
Better types for WebAPI 2021-09-21 17:58:03 -07:00
Josh Perez
c05d23e628
Modernize ContactModal 2021-09-21 15:37:10 -07:00
Josh Perez
1d2fcde49f
Moves navigateTo to util 2021-09-21 16:45:25 -04:00
Evan Hahn
a68e3a6d20
Improve staged attachment designs 2021-09-20 18:23:55 -07:00
Fedor Indutny
c19a801b89
Use consistent check for timeline height recomputation 2021-09-20 14:19:55 -05:00
Josh Perez
829e42ca6e
Move i18n setup to TypeScript 2021-09-17 20:30:08 -04:00
Josh Perez
7b5faa1cc1
Permissions popup context iso 2021-09-17 18:24:21 -04:00
Josh Perez
277992a468
Make scrollbar overlay content in left pane 2021-09-17 14:03:18 -07:00
Scott Nonnenberg
e2454ef7c5
Improve a few strings, highlight back button on focus, proper key value 2021-09-17 13:57:54 -07:00
Josh Perez
65ddf0a9e8
Import log instead of using it off of window 2021-09-17 14:27:53 -04:00
Evan Hahn
7e7078e11a Fix lint error in <Linkify> stories 2021-09-17 11:28:26 -05:00
jojomatik
51d85e58eb Linkify additional TLDs
See [#5170][0].

[0]: #5170
2021-09-17 10:14:42 -05:00
Fedor Indutny
ce0ccc9b58
Disable jumbomoji in quotes 2021-09-16 15:45:32 -07:00
Evan Hahn
9ff1c1e50d
Recompute hero row size when it appears 2021-09-16 14:47:08 -07:00
Evan Hahn
11855d1585
Make onHeightChange a required prop of <ConversationHero> 2021-09-16 14:44:00 -07:00
Evan Hahn
fda21edd23
Remove unnecessary disables of consistent-return lint rule 2021-09-16 15:25:55 -05:00
Evan Hahn
eed7aff925
Remove unnecessary props from <ContactName> 2021-09-16 11:15:43 -05:00
Fedor Indutny
59ca63cd2e
Use audio.ended in MessageAudio.tsx 2021-09-16 08:02:23 -07:00
Evan Hahn
ce1daef9f3
Fix <UniversalTimerNotification> stories 2021-09-15 09:04:42 -07:00
Evan Hahn
240585ef94
Allow duplicates in reaction palette 2021-09-13 10:04:45 -07:00
Fedor Indutny
5a57e2b704
Fix action propagation to timeline items 2021-09-12 19:36:41 -07:00
Evan Hahn
bfa0bbf7da
Add "call back", "call again" buttons to timeline 2021-09-10 16:59:41 -07:00
Scott Nonnenberg
5fb78e1986
ConversationDetails: Prevent block/leave of group if only admin 2021-09-10 11:18:37 -07:00
Evan Hahn
84ac7dd2df
To fix Storybook, make <Message> take renderReactionPicker 2021-09-10 11:00:31 -07:00
Scott Nonnenberg
6efb6da937
Render disappearing message countdown even if deleted for everyone 2021-09-10 09:23:04 -05:00
Evan Hahn
e2392433e0
Preferred reactions: store raw emoji, gate on feature flag 2021-09-09 16:47:30 -07:00
Evan Hahn
4f1188e213
Save skin tone changes in reaction picker 2021-09-09 13:53:26 -07:00
Evan Hahn
759c043c12
Make <ReactionPicker> skin tone story more obvious 2021-09-09 09:32:16 -07:00
Evan Hahn
f28456c160
Let users customize the preferred reaction palette 2021-09-09 09:29:01 -07:00
Evan Hahn
1184098b42
Fix reactions i18n key 2021-09-08 09:25:16 -07:00
Evan Hahn
561bc0695f
Update reaction picker visuals 2021-09-07 14:30:58 -07:00
Evan Hahn
7f34bedd87
Styling adjustments to timeline notifications 2021-09-07 12:55:03 -07:00
Scott Nonnenberg
71b50aae00
Message: Don't propagate sender avatar click event 2021-09-07 14:38:32 -05:00
Fedor Indutny
30075f18fc
Fix lightbox for tap-to-view GIFs 2021-09-02 16:38:46 -05:00
Evan Hahn
ddc591e962
Add stories for timeline notifications with long names 2021-09-02 16:23:27 -05:00
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