Commit graph

60 commits

Author SHA1 Message Date
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
c63ed1af15 Refactor Chat Settings and add into Preferences page 2022-09-30 13:01:49 -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
facd4e95f5 Add tests for new Who To Follow panel 2022-09-27 09:58:49 -04:00
Justin
1d69b66e4b Use React Query for suggestions 2022-09-26 15:22:00 -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
Alex Gleason
d7243c0e91
Merge remote-tracking branch 'origin/develop' into chats 2022-09-19 13:01:40 -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
87877a3f96 TS/functional: Emoji picker
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-09-11 19:28:12 +02: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
Justin
3a48082dc9 Remove old React Query stuff 2022-08-31 13:20:54 -04:00
Justin
f16da850fd Add React Query 2022-08-31 13:20:53 -04:00
Alex Gleason
27581fa776
Ads: fix expiry filter logic 2022-08-30 08:57:44 -05:00
Alex Gleason
d5a066050f
Ads: move isExpired to tested utils function 2022-08-26 10:14:56 -05:00
Alex Gleason
f4af1687bf
Filter out expiring ads 2022-08-26 09:48:49 -05:00
Alex Gleason
491c0e9152
EmbedModal: react-query, add useEmbed 2022-08-21 12:37:14 -04:00
Justin
6c03b6ddd3 fix tests 2022-08-10 14:02:29 -04:00
Justin
4d98046627 Improve types 2022-08-10 13:27:09 -04:00
Justin
b377689ed2 Grammar fix 2022-08-10 10:34:12 -04:00