Commit graph

460 commits

Author SHA1 Message Date
Alex Gleason
58cf71ceda
ChatMessageList: fix regression with links not wrapping 2023-01-20 11:56:50 -06:00
Alex Gleason
ec0a3d6eea
Chats: actually, do use a paperclip 2023-01-20 11:53:10 -06:00
Alex Gleason
af1ad92432
Chats: use plus icon to upload attachment 2023-01-20 11:29:40 -06:00
Alex Gleason
f222491b3e
ChatMessageList: sharpen top-right corner of bubble when there's an attachment 2023-01-20 11:13:54 -06:00
Alex Gleason
f823690b7e
Chats: don't display "copy" button if there's no text to copy 2023-01-17 14:34:31 -06:00
Alex Gleason
687fcdc294
Chats: improve design of attachments, fix sizing bug 2023-01-17 14:33:04 -06:00
Alex Gleason
edfece4ac0
Merge remote-tracking branch 'origin/develop' into types-react 2023-01-13 09:56:20 -06:00
Chewbacca
c3595ea15b Chats: fix jumpy scrollbar
Fixes: https://gitlab.com/soapbox-pub/soapbox/-/issues/1315

Co-authored-by: Alex Gleason <alex@alexgleason.me>
2023-01-11 11:13:56 -05:00
Alex Gleason
5e22d1169f
Upgrade @types/react to v18 2023-01-10 17:03:15 -06:00
Alex Gleason
5083096d1f
ChatPage: useLayoutEffect 2023-01-06 11:51:47 -06:00
Alex Gleason
bd9bad9a4c
Fix ChatPage tests 2023-01-05 17:22:59 -06:00
03349abc37 Merge remote-tracking branch 'soapbox/develop' into cleanup 2022-12-31 19:52:03 +01:00
e167ec8b6e Mark some strings as translatable
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-12-30 22:49:29 +01:00
b6bd46d417 Do not make requests to chats endpoint from profile page if chats are not supported
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-12-29 14:33:50 +01:00
bd247797bb Merge remote-tracking branch 'soapbox/develop' into mastodon-groups
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-12-21 13:02:19 +01:00
23b1052a1d Remove unused styles
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-12-21 13:01:34 +01:00
Chewbacca
b348ca71b9 Convert 'error' usage to Toast 2022-12-20 12:46:06 -05:00
Chewbacca
397d79f73f Fix overflow issue on mobile 2022-12-19 10:33:37 -05:00
Alex Gleason
463504346c
Add Inter 600, fix ChatPaneHeader font weight 2022-12-14 10:12:24 -06:00
Chewbacca
f0a057d685
Reduce size of timestamp 2022-12-13 10:48:12 -06:00
Chewbacca
e8427b3081
Remove 2 minute expiration 2022-12-12 12:13:32 -06:00
Chewbacca
af19c1bd44
Fix spacing bug 2022-12-12 12:12:06 -06:00
Chewbacca
15594df644
Fix tests 2022-12-12 12:01:10 -06:00
Chewbacca
6bae81a758
Reduce size of ellipsis icon 2022-12-12 12:01:04 -06:00
Chewbacca
5a30509fa6
Add support for pagination in Chat Search 2022-12-12 11:59:37 -06:00
Alex Gleason
dad6244c7d
Chats: remove language around followers 2022-12-07 15:56:22 -06:00
Alex Gleason
dc556248f0
private --> direct 2022-12-07 15:56:22 -06:00
Alex Gleason
b42b8fced4
Chats: fix mention styling 2022-12-07 15:56:17 -06:00
Alex Gleason
df3a64a4af
Chats: simplify Welcome screen 2022-12-07 08:14:22 -06:00
Alex Gleason
d811500812
Chats: enable autocomplete 2022-12-07 00:18:47 -06:00
Alex Gleason
d4419bf71f
Chats: hide read receipts for unsupported servers 2022-12-06 22:32:35 -06:00
Alex Gleason
2ffce5b68f
Chats: delete failing tests 2022-12-06 17:44:50 -06:00
Alex Gleason
acc2da252f
Chats: allow toggling sound 2022-12-06 17:24:24 -06:00
Alex Gleason
6c22a3841b
ChatPaneHeader: i18n title 2022-12-06 17:10:16 -06:00
Alex Gleason
e1edc9796b
Make .compose-form__upload more widely available 2022-12-06 17:08:00 -06:00
Alex Gleason
5b1de5da8c
Chats: improve uploading progress bar styles 2022-12-06 16:39:37 -06:00
Alex Gleason
9e39415ca8
Chats: gate upload button behind chatsMedia feature flag 2022-12-06 16:36:30 -06:00
Alex Gleason
4c5e8eb525
Chats: improve upload button styles 2022-12-06 16:33:53 -06:00
Alex Gleason
dc420a843b
Chats: fix submitting an attachment 2022-12-06 16:27:07 -06:00
Alex Gleason
6eafb8c0c3
Chats: start making attachments work again 2022-12-06 16:21:00 -06:00
Alex Gleason
2ca4db5c3b
Chats: fix display of media attachments, fix break-words 2022-12-06 15:45:33 -06:00
Alex Gleason
3aff4ee715
Replace proprietary send icon with Tabler 2022-12-06 15:20:48 -06:00
Chewbacca
0bed4d5f31 Update copy 2022-12-05 15:04:45 -05:00
Chewbacca
5e47a2567f Revert "Replace 'send' icon from Tabler"
This reverts commit d5303387f5.
2022-12-05 13:09:23 -05:00
Chewbacca
d5303387f5 Replace 'send' icon from Tabler 2022-12-05 08:45:20 -05:00
Chewbacca
5816659a09 Refactor chat functions 2022-12-02 15:50:54 -05:00
Chewbacca
8df7d9c9ef UX improvements to message bubble 2022-12-02 08:28:51 -05:00
Chewbacca
d875c1c3e8 Fix tests 2022-12-01 13:08:05 -05:00
Chewbacca
67a61ad3b4 Search on focus 2022-12-01 12:40:30 -05:00
Alex Gleason
6697e0191b
Fix crash against Pleroma (make latest_read_message_by_account an optional param) 2022-11-27 15:34:43 -06:00
Chewbacca
e14230678d Add emoji autocomplete to Chats 2022-11-22 09:55:31 -05:00
Chewbacca
f2e7cf4e5c Remove avatar from chat messages 2022-11-22 08:23:18 -05:00
Chewbacca
8d9182eb44 Add max character count to Chat composer 2022-11-21 12:21:02 -05:00
Chewbacca
9f8aabc3d8 Align avatar to bottom 2022-11-17 13:22:47 -05:00
Chewbacca
10c6a7116c Add blocked message 2022-11-17 13:13:22 -05:00
Chewbacca
72c26bc9bc Merge remote-tracking branch 'origin/develop' into chats 2022-11-17 10:58:34 -05:00
Chewbacca
0ebdbc0f91 Remove 'setting-toggle.scss' 2022-11-16 14:35:20 -05:00
Chewbacca
637d78db01 Rename files (11): utils 2022-11-16 08:34:55 -05:00
Chewbacca
24e7873bce Rename files (6): _ -> - 2022-11-15 14:00:40 -05:00
Chewbacca
d4f5fd4d88 Rename files (5): _ -> - 2022-11-15 12:23:36 -05:00
Chewbacca
717e61a6e0 Rename files (4): _ -> - 2022-11-15 11:13:54 -05:00
Chewbacca
c95423c7e7 Rename files (1): _ -> - 2022-11-15 09:11:30 -05:00
Chewbacca
e78242806f Rename files (0): _ -> - 2022-11-15 09:10:14 -05:00
Chewbacca
dbfcc0da3e Add Chats onboarding tests 2022-11-14 16:09:07 -05:00
Chewbacca
caa3873821 Account for API validation errors 2022-11-14 11:22:45 -05:00
Chewbacca
ecc67737c6 D 2022-11-11 08:01:17 -05:00
Chewbacca
b364af645f Remove overflow property from around Virtuoso 2022-11-11 07:58:42 -05:00
Chewbacca
3a7f27b5bf Drop chat_message.created notifications 2022-11-11 07:22:21 -05:00
Chewbacca
c889ece788 Fix mobile navigation on Chats 2022-11-11 07:16:53 -05:00
Chewbacca
98b2fdf9a4 Improve emoji to support custom 2022-11-09 13:17:10 -05:00
Chewbacca
38e350de24 Support Emoji-only messages 2022-11-09 12:55:22 -05:00
Chewbacca
94c55b6cbe Reduce size of read receipts 2022-11-09 12:34:06 -05:00
Chewbacca
e7106a35b3 Refactor 'createChatMessage' mutation 2022-11-09 12:24:44 -05:00
Chewbacca
d637626838 Only mark last message as read if needed 2022-11-09 10:16:04 -05:00
Chewbacca
e7e121e78f Fix spacing under last message 2022-11-09 09:16:22 -05:00
Chewbacca
f5ddd586f6 Add 2 minute deletion duration for testing 2022-11-09 08:37:50 -05:00
Chewbacca
f269b754f0 Remove 'retry' if successful response 2022-11-07 16:25:53 -05:00
Chewbacca
0105458c22 Update privacy copy 2022-11-07 16:18:18 -05:00
Chewbacca
37bec50c08 Use default search input 2022-11-07 15:40:04 -05:00
Chewbacca
0e52244d58 Add blankslate when chats are present 2022-11-07 12:13:44 -05:00
Chewbacca
715eeee540 Add tooltip to 'auto-delete' info 2022-11-07 11:53:40 -05:00
Chewbacca
1ae9775e07 Add link to profile in Chat header 2022-11-07 11:47:18 -05:00
Chewbacca
14353c1aff Add blocked copy in ChatList 2022-11-07 11:16:47 -05:00
Chewbacca
3da075dd0c Change to 'last_message.unread' 2022-11-07 10:53:44 -05:00
Chewbacca
6538db17e7 Fix relative link to Profile 2022-11-07 10:04:02 -05:00
Chewbacca
5490e83caf Update alignment of title/search-box and ChatList 2022-11-07 10:01:11 -05:00
Chewbacca
b9c649011c Update 'theme' of message timestamp in ChatList 2022-11-07 09:54:44 -05:00
Chewbacca
97450f416c Fallback to username 2022-11-04 10:43:19 -04:00
Chewbacca
4408c6035f Fix jump of content 2022-11-04 07:51:26 -04:00
Chewbacca
53208bd670 Improve light-mode styling on Policy Modal and Read Receipts 2022-11-04 07:36:30 -04:00
Chewbacca
b510ccb865 Fix loading state of blankslate 2022-11-03 17:08:48 -04:00
Chewbacca
4767f4fd8c properly handle routing after deleting chat 2022-11-03 15:29:53 -04:00
Chewbacca
fe55152667 Fix break-words with HTML 2022-11-03 15:22:18 -04:00
Chewbacca
7571b88c51 Add unread indicator + fix bug with read receipts 2022-11-03 15:16:07 -04:00
Chewbacca
51c01bfc04 Keep fresh messages 2022-11-03 13:55:33 -04:00
Chewbacca
a2540cb0d0 Add route 2022-11-03 13:33:33 -04:00
Chewbacca
69723305eb Fix tests 2022-11-03 13:22:06 -04:00
Alex Gleason
27b5211203
Merge remote-tracking branch 'origin/chats' into chats 2022-11-02 16:08:39 -05:00
Alex Gleason
8cd84b6128
Chats: accepting_messages --> accepts_chat_messages 2022-11-02 15:10:13 -05:00
Alex Gleason
1873ba3e22
Chats: feature-gate chat message reporting 2022-11-02 14:33:14 -05:00