Commit Graph

245 Commits

Author SHA1 Message Date
89af43df91 Add tests for ChatPane component 2022-10-03 11:03:43 -04:00
dbee414ebc Add tests for ChatWidget component 2022-10-03 09:15:54 -04:00
c63ed1af15 Refactor Chat Settings and add into Preferences page 2022-09-30 13:01:49 -04:00
7fde4a0c5c Small UI improvements to chat 2022-09-30 10:22:55 -04:00
dc6c2657df Fix nested button structure 2022-09-29 13:54:18 -04:00
b590c062aa Show Skeleton when changing chats 2022-09-29 13:13:10 -04:00
78543292f1 Merge branch 'chats' of gitlab.com:soapbox-pub/soapbox into chats 2022-09-29 11:24:11 -05:00
40b8bab7ab Chats: strip HTML when copying message text to clipboard 2022-09-29 11:23:49 -05:00
b0ea57b9b9 Merge remote-tracking branch 'origin/chats' into chats 2022-09-29 09:46:39 -04:00
0a8fa3e635 Add ability to report a Chat Message 2022-09-29 09:45:57 -04:00
de78926142 ChatsPage: add settings cog 2022-09-28 19:39:22 -05:00
f8199ab701 ChatPageNew: support account search to start a new chat 2022-09-28 19:35:28 -05:00
acdd999c5c Chats: display component at /chats/new 2022-09-28 19:26:49 -05:00
e582eda17e Route /chats/new to ChatIndex 2022-09-28 19:16:20 -05:00
d6e107dd0d Chats: do routing a simpler way (keep context wrapper but set chat from route) 2022-09-28 15:38:05 -05:00
3ce5925280 useChat --> useChatActions 2022-09-28 15:20:59 -05:00
002fef27a3 Add StatContext to store global stat state 2022-09-27 16:05:19 -04:00
17c2958df1 Use query key system 2022-09-27 15:42:24 -04:00
1a124c2eab Fix fade when scrolling on ChatList 2022-09-27 10:50:01 -04:00
90c122bf3f Update leave chat summary 2022-09-27 10:18:12 -04:00
f662023480 Add other actions for non-current-user messages 2022-09-23 13:00:40 -04:00
9768203f1b Open chat pane on action 2022-09-23 12:53:55 -04:00
0003b7323a Fix errant fetches to the silence endpoint 2022-09-23 09:48:52 -04:00
641bf1268d Fix loading state for chat-list 2022-09-23 09:24:20 -04:00
7335a3a0d3 Change color of last message text if unread 2022-09-23 09:08:46 -04:00
31b1f3ec97 I18n 2022-09-23 09:07:22 -04:00
0576565c83 Merge remote-tracking branch 'origin/chats' into chats 2022-09-23 09:04:05 -04:00
e8b547565e Add options to the ChatListItem 2022-09-23 09:04:01 -04:00
c8adde735f ChatPage: fix height on mobile (where ThumbNavigation is present) 2022-09-22 17:38:00 -05:00
3c9ffd30b1 ChatPageSidebar: add new chat icon (non-functional) 2022-09-22 17:18:27 -05:00
cbd7089166 ChatPageSidebar: refactor search 2022-09-22 17:06:42 -05:00
7cf1943364 Add chatsSearch feature 2022-09-22 16:52:31 -05:00
fa919c217b Create ChatSearchInput component 2022-09-22 15:24:11 -05:00
46d309ae45 ChatListItem: restrict height of last_message content 2022-09-22 14:58:31 -05:00
2e728d99f9 ChatWidget: remove 'direct' streaming (it uses the 'user' stream) 2022-09-22 14:36:46 -05:00
516d35e8ab Increase space between ChatListItems 2022-09-22 14:13:15 -04:00
045fe8dcbb Improve spacing and height of Chats page 2022-09-22 14:03:12 -04:00
89c1225976 Hide widget if not onboarded 2022-09-22 12:55:29 -04:00
93b11ec99c Add new airplane icon for sending messages 2022-09-22 12:45:01 -04:00
7c134a0c29 Switch buttons 2022-09-22 12:39:52 -04:00
4466326f8c Change copy to 'Delete for both' 2022-09-22 11:51:12 -04:00
15a5c01cef Chats: ['chats'] --> ['chats', 'search'] 2022-09-21 13:47:46 -05:00
bf590d26c4 ChatPageMain: add back button for mobile 2022-09-19 16:28:32 -05:00
9dc1a0caec ChatPage: allow selecting a chat on mobile 2022-09-19 15:12:18 -05:00
19ef0fee20 ChatPage: size the height correctly for mobile 2022-09-19 15:02:16 -05:00
d1b10f72aa ChatPage: collapse on mobile 2022-09-19 14:56:23 -05:00
ad521e528e ChatListItem: prevent links from being clicked 2022-09-19 14:33:22 -05:00
e42f0bc9b0 ChatPageMain: allow switching chats before onboarding 2022-09-19 14:19:46 -05:00
6ce7c0a8cb Chats: clean up some eslint errors 2022-09-19 14:14:39 -05:00
88d848ee17 Add welcome screen to Chats main page 2022-09-16 14:33:31 -04:00