Commit graph

45 commits

Author SHA1 Message Date
Alex Gleason
4d9f7fec32
Chats: normalize chat messages again so attachments don't break 2022-11-02 14:23:39 -05:00
Alex Gleason
239b2af553
Chats: make message_expiration optional (for Pleroma compatibility) 2022-11-02 13:53:41 -05:00
Chewbacca
b33b32d9dc Update 'last_message' if the user deletes it 2022-11-01 09:44:21 -04:00
Chewbacca
24bca458bd Add tests for chats query 2022-10-28 13:01:39 -04:00
Chewbacca
3e2888eb75 Handle unreadCount when messages are deleted 2022-10-27 13:59:54 -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
9eb09e4aab Remove Chat Silence feature from web 2022-10-25 08:23:33 -04:00
Justin
c41b71c76c Invalidate query cache when new chats come in 2022-10-05 15:15:16 -04:00
Justin
4447a3cda4 Convert ChatMessageList to Virtuoso 2022-10-04 10:48:37 -04:00
Justin
65cdaeb886 Fix query key when not search query is present 2022-09-30 10:28:19 -04:00
Justin
d40fe483ef Push accounts into Redux store 2022-09-29 13:36:35 -04:00
Justin
b590c062aa Show Skeleton when changing chats 2022-09-29 13:13:10 -04: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
Justin
002fef27a3 Add StatContext to store global stat state 2022-09-27 16:05:19 -04:00
Justin
058d0cec0b Merge remote-tracking branch 'origin/develop' into chats 2022-09-27 15:43:30 -04:00
Justin
17c2958df1 Use query key system 2022-09-27 15:42:24 -04:00
Justin
0003b7323a Fix errant fetches to the silence endpoint 2022-09-23 09:48:52 -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
10b9a4eb4e
Chats: don't make mark as read hit the API again 2022-09-22 16:34:20 -05:00
Alex Gleason
075cb15940
Add utils/queries, refactor streaming 2022-09-22 16:28:05 -05:00
Alex Gleason
c12999a438
Chats: use v2 endpoint if supported 2022-09-22 16:06:15 -05:00
Alex Gleason
624d139a5a
Chats: MAKE WEBSOCKET STREAMING WORK!!! 2022-09-21 18:26:18 -05:00
Alex Gleason
15a5c01cef
Chats: ['chats'] --> ['chats', 'search'] 2022-09-21 13:47:46 -05:00
Justin
4352d17217 Add snooze icon to ChatList 2022-09-16 08:57:09 -04:00
Justin
8e35d1dd92 Improve infinite scroll 2022-09-15 10:49:09 -04:00
Justin
ea1583dcac Fix chat silence bug 2022-09-13 16:24:19 -04:00
Justin
56c617bd32 Merge branch 'alex-chats' into chats 2022-09-12 14:50:02 -04:00
Justin
a68aeb8464 Start changing the way search works 2022-09-12 14:42:06 -04:00
Justin
1c179cd4a0 Add error states 2022-09-08 12:47:19 -04:00
Alex Gleason
271bc271f7
Chats: normalize chat messages from the API 2022-09-01 13:17:30 -05:00
Alex Gleason
2f5caad67f
Chats: use compareId to sort messages (fix Pleroma) 2022-09-01 13:17:30 -05:00
Justin
c63fdec916 Reset state on failure 2022-08-31 13:22:43 -04:00
Justin
5dd44d3094 Add last_message_id param to API 2022-08-31 13:22:18 -04:00
Justin
2a02f6dcc7 Rename snooze endpoint 2022-08-31 13:22:18 -04:00
Justin
01167af69e Add infinite scroll to ChatList 2022-08-31 13:22:16 -04:00
Justin
ba2ffd1501 Snooze 2022-08-31 13:21:43 -04:00
Justin
a2e2d60fc7 Add Message List Intro component 2022-08-31 13:21:43 -04:00
Justin
0cb0e8af9e Add ability to leave chat 2022-08-31 13:21:43 -04:00
Justin
8492cc59e2 Add ability to accept chat 2022-08-31 13:21:43 -04:00
Justin
1ed1f3fd2e Add ability to delete message 2022-08-31 13:21:42 -04:00
Justin
84dc06db42 d 2022-08-31 13:20:54 -04:00