Commit graph

473 commits

Author SHA1 Message Date
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
Chewbacca
54466f1293 Move query into Context 2022-11-02 15:28:16 -04:00
Alex Gleason
9802257751
Chats: make chat acceptance and deletion feature-gated 2022-11-02 14:14:16 -05:00
Alex Gleason
69d92b6f95
Chats: make chatsExpiration a conditional feature 2022-11-02 13:58:02 -05:00
Alex Gleason
239b2af553
Chats: make message_expiration optional (for Pleroma compatibility) 2022-11-02 13:53:41 -05:00
Chewbacca
9869cf6f55 Add 'unread' indicator to Messages 2022-11-01 14:35:51 -04:00
Chewbacca
650387dc77 Add Policy Modal 2022-11-01 13:22:29 -04:00
Chewbacca
929a78641b Fix bug when selecting previous chat 2022-11-01 10:04:21 -04:00
Chewbacca
15cd5f9104 Remove 'Getting Started' blankslate 2022-11-01 08:22:12 -04:00
Chewbacca
e63f5e6fb5 Update lifespan copy to be dynamic in Intro 2022-11-01 08:04:31 -04:00
Chewbacca
e0a3d03b55 Update Chat Settings for the main page 2022-11-01 07:59:30 -04:00
Chewbacca
2c7fcdd00b Update copy for Unblock modal 2022-10-31 15:51:51 -04:00
Chewbacca
d89ac0e0a5 Conversation -> Chat 2022-10-31 15:48:42 -04:00
Chewbacca
86e79354d7 Add new Welcome experience 2022-10-31 12:14:22 -04:00
Chewbacca
24bca458bd Add tests for chats query 2022-10-28 13:01:39 -04:00
Chewbacca
75233526cc Update duration design for Widget 2022-10-26 13:28:50 -04:00
Chewbacca
54363e24a9 Add ability to update deletion duration 2022-10-26 13:08:02 -04:00
Chewbacca
22f3dd9444 Disable chatMessages query if blocked 2022-10-25 13:10:53 -04:00
Chewbacca
f156c1026d Hide message history if blocked 2022-10-25 13:07:25 -04:00
Chewbacca
70957fe540 Add blocked/block experience to chats 2022-10-25 11:40:14 -04:00
Chewbacca
01c40eb42d Add 'delete for me' action 2022-10-25 10:13:08 -04:00
Chewbacca
9eb09e4aab Remove Chat Silence feature from web 2022-10-25 08:23:33 -04:00
Chewbacca
694e1c8592 Fix linting errors 2022-10-17 12:23:03 -04:00
Chewbacca
e0379f21e2 Fix test for ChatListItem 2022-10-17 12:11:10 -04:00
Chewbacca
780147dd24 Merge remote-tracking branch 'origin/chats' into chats 2022-10-17 12:08:55 -04:00
Chewbacca
4b85a72bc9 Fix test for ChatMessageList 2022-10-17 12:08:46 -04:00
Alex Gleason
ca2aad2de0
Chats: focus textarea when navigating between chats (janky) 2022-10-17 10:50:33 -05:00
Alex Gleason
82250c23dc
Chats: search accounts only among people who follow you (TruthSocial) 2022-10-17 10:13:54 -05:00
Chewbacca
1007a2797e Re-organize folders 2022-10-17 08:34:19 -04:00
Chewbacca
65a8bf9aa1 Merge remote-tracking branch 'origin/develop' into chats 2022-10-14 14:27:53 -04:00
Alex Gleason
7dff0391b1
Normalize chat attachments 2022-10-10 15:56:11 -05:00
Justin
a18cce4c81 Remove shadow from transparent input 2022-10-05 16:22:13 -04:00
Justin
7df4476427 Improve UX of chat messages 2022-10-05 16:13:29 -04:00
Justin
4a6d261bfd Improve UX of chat messages 2022-10-05 15:25:56 -04:00
Justin
c41b71c76c Invalidate query cache when new chats come in 2022-10-05 15:15:16 -04:00
Alex Gleason
69d37a10fb
ChatList: display empty message 2022-10-04 19:22:18 -04:00
Alex Gleason
19382c3ab9
ChatPageNew: display disabled ChatComposer and "To:" label 2022-10-04 19:11:34 -04:00
Alex Gleason
4bab81bd7c
Separate ChatComposer into its own component 2022-10-04 19:00:00 -04:00
Alex Gleason
8c82d0400a
Chats: isSearch --> theme='search' 2022-10-04 17:47:15 -04:00
Alex Gleason
f028b8e59f
ChatPageSidebar: increase padding 2022-10-04 15:15:08 -04:00
Alex Gleason
0bf616496f
Chats: add blankslate component to main page 2022-10-04 15:02:52 -04:00
Justin
e8ffa13629 Remove the ability to 'Report chat' from Intro 2022-10-04 11:00:07 -04:00
Justin
3a74496c35 Improve loading state of ChatMessageList 2022-10-04 10:50:55 -04:00
Justin
4447a3cda4 Convert ChatMessageList to Virtuoso 2022-10-04 10:48:37 -04:00
Justin
f029c81d5f Fix break words for longer message contents 2022-10-03 11:14:13 -04:00
Justin
89af43df91 Add tests for ChatPane component 2022-10-03 11:03:43 -04:00
Justin
dbee414ebc Add tests for ChatWidget component 2022-10-03 09:15:54 -04:00
Justin
c63ed1af15 Refactor Chat Settings and add into Preferences page 2022-09-30 13:01:49 -04:00
Justin
7fde4a0c5c Small UI improvements to chat 2022-09-30 10:22:55 -04:00
Justin
dc6c2657df Fix nested button structure 2022-09-29 13:54:18 -04:00
Justin
b590c062aa Show Skeleton when changing chats 2022-09-29 13:13:10 -04:00
Alex Gleason
78543292f1
Merge branch 'chats' of gitlab.com:soapbox-pub/soapbox into chats 2022-09-29 11:24:11 -05:00
Alex Gleason
40b8bab7ab
Chats: strip HTML when copying message text to clipboard 2022-09-29 11:23:49 -05:00
Justin
b0ea57b9b9 Merge remote-tracking branch 'origin/chats' into chats 2022-09-29 09:46:39 -04:00
Justin
0a8fa3e635 Add ability to report a Chat Message 2022-09-29 09:45:57 -04:00
Alex Gleason
de78926142
ChatsPage: add settings cog 2022-09-28 19:39:22 -05:00
Alex Gleason
f8199ab701
ChatPageNew: support account search to start a new chat 2022-09-28 19:35:28 -05:00
Alex Gleason
acdd999c5c
Chats: display component at /chats/new 2022-09-28 19:26:49 -05:00
Alex Gleason
e582eda17e
Route /chats/new to ChatIndex 2022-09-28 19:16:20 -05:00
Alex Gleason
d6e107dd0d
Chats: do routing a simpler way (keep context wrapper but set chat from route) 2022-09-28 15:38:05 -05:00
Alex Gleason
3ce5925280
useChat --> useChatActions 2022-09-28 15:20:59 -05:00
Alex Gleason
e8b7fd8db8
Route /chats/:chatId to ChatPage component, cleanup UI imports, nuke ChatRoom (he cry) 2022-09-28 13:37:56 -05:00
Justin
002fef27a3 Add StatContext to store global stat state 2022-09-27 16:05:19 -04:00
Justin
17c2958df1 Use query key system 2022-09-27 15:42:24 -04:00
Justin
1a124c2eab Fix fade when scrolling on ChatList 2022-09-27 10:50:01 -04:00
Justin
90c122bf3f Update leave chat summary 2022-09-27 10:18:12 -04:00
Justin
f662023480 Add other actions for non-current-user messages 2022-09-23 13:00:40 -04:00
Justin
9768203f1b Open chat pane on action 2022-09-23 12:53:55 -04:00
Justin
0003b7323a Fix errant fetches to the silence endpoint 2022-09-23 09:48:52 -04:00
Justin
641bf1268d Fix loading state for chat-list 2022-09-23 09:24:20 -04:00
Justin
7335a3a0d3 Change color of last message text if unread 2022-09-23 09:08:46 -04:00
Justin
31b1f3ec97 I18n 2022-09-23 09:07:22 -04:00
Justin
0576565c83 Merge remote-tracking branch 'origin/chats' into chats 2022-09-23 09:04:05 -04:00
Justin
e8b547565e Add options to the ChatListItem 2022-09-23 09:04:01 -04:00
Alex Gleason
c8adde735f
ChatPage: fix height on mobile (where ThumbNavigation is present) 2022-09-22 17:38:00 -05:00
Alex Gleason
3c9ffd30b1
ChatPageSidebar: add new chat icon (non-functional) 2022-09-22 17:18:27 -05:00
Alex Gleason
cbd7089166
ChatPageSidebar: refactor search 2022-09-22 17:06:42 -05:00
Alex Gleason
7cf1943364
Add chatsSearch feature 2022-09-22 16:52:31 -05:00
Alex Gleason
fa919c217b
Create ChatSearchInput component 2022-09-22 15:24:11 -05:00
Alex Gleason
46d309ae45
ChatListItem: restrict height of last_message content 2022-09-22 14:58:31 -05:00
Alex Gleason
2e728d99f9
ChatWidget: remove 'direct' streaming (it uses the 'user' stream) 2022-09-22 14:36:46 -05:00
Justin
516d35e8ab Increase space between ChatListItems 2022-09-22 14:13:15 -04:00
Justin
045fe8dcbb Improve spacing and height of Chats page 2022-09-22 14:03:12 -04:00
Justin
89c1225976 Hide widget if not onboarded 2022-09-22 12:55:29 -04:00
Justin
93b11ec99c Add new airplane icon for sending messages 2022-09-22 12:45:01 -04:00
Justin
7c134a0c29 Switch buttons 2022-09-22 12:39:52 -04:00
Justin
4466326f8c Change copy to 'Delete for both' 2022-09-22 11:51:12 -04:00
Alex Gleason
15a5c01cef
Chats: ['chats'] --> ['chats', 'search'] 2022-09-21 13:47:46 -05:00