Commit Graph

108 Commits

Author SHA1 Message Date
e83914482d Fix useFetchRelationships tests 2023-01-05 18:05:55 -06: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
b7d0b4abe8 Convert 'success' usage to Toast 2022-12-20 12:46:06 -05:00
8f3c0a1071 Carousel: make seen optional, only hit the API if features.carouselSeen is supported 2022-12-14 13:06:41 -06:00
fa4bd20d11 Merge branch 'carousel-v2' into 'develop'
Support 'seen' property in the Feed Carousel

See merge request soapbox-pub/soapbox!1978
2022-12-14 18:36:50 +00:00
4204b48a40 Remove mocks 2022-12-14 08:44:04 -05:00
8aa171fede Re-order chat-list after sending messaging 2022-12-13 15:07:13 -06:00
61cd1d2227 Fix expiration values 2022-12-12 12:13:41 -06:00
e8427b3081 Remove 2 minute expiration 2022-12-12 12:13:32 -06:00
502f9d9f47 queries/search: use flattenPages util 2022-12-12 12:10:39 -06:00
5a30509fa6 Add support for pagination in Chat Search 2022-12-12 11:59:37 -06:00
3acc95447f Fix order of optimistic chat messages 2022-12-07 16:18:17 -06:00
dc420a843b Chats: fix submitting an attachment 2022-12-06 16:27:07 -06:00
30646ec8c3 Fix pagination of chat messages 2022-12-06 15:12:24 -06:00
994d58294a Support 'seen' property in the Feed Carousel 2022-12-06 16:00:56 -05:00
569296af36 Merge branch 'chats-pleroma' into chats 2022-12-06 14:36:38 -06:00
cb7f0aeab8 Chats: deduplicate items 2022-12-05 18:38:32 -06:00
9cc9e8876b Fix infinite pagination of chats 2022-12-05 08:41:26 -05:00
6697e0191b Fix crash against Pleroma (make latest_read_message_by_account an optional param) 2022-11-27 15:34:43 -06:00
72c26bc9bc Merge remote-tracking branch 'origin/develop' into chats 2022-11-17 10:58:34 -05:00
c453bbb687 Update Chat with last_message when current_user is sending a message 2022-11-10 16:41:24 -05:00
93a696a72f Re-sort the ChatList when new messages come in 2022-11-10 15:42:59 -05:00
15c22863d7 Fetch relationships everytime we fetch a single chat 2022-11-10 11:56:36 -05:00
98b2fdf9a4 Improve emoji to support custom 2022-11-09 13:17:10 -05:00
e7106a35b3 Refactor 'createChatMessage' mutation 2022-11-09 12:24:44 -05:00
2460d85460 Add more tests to chats query 2022-11-09 10:28:15 -05:00
f5ddd586f6 Add 2 minute deletion duration for testing 2022-11-09 08:37:50 -05:00
357e46248e Always refetch and re-hydrate the Chat 2022-11-07 15:40:19 -05:00
2ecf837656 Remove changing of screen when updating a chat 2022-11-04 09:49:35 -04:00
8d99cfd24f Invalid individual Chat query on chat acceptance 2022-11-04 07:37:05 -04:00
bc65331cbb Make sure relationship is fetched in Chat Main Page 2022-11-03 16:54:18 -04:00
51c01bfc04 Keep fresh messages 2022-11-03 13:55:33 -04:00
27b5211203 Merge remote-tracking branch 'origin/chats' into chats 2022-11-02 16:08:39 -05:00
8cd84b6128 Chats: accepting_messages --> accepts_chat_messages 2022-11-02 15:10:13 -05:00
54466f1293 Move query into Context 2022-11-02 15:28:16 -04:00
4d9f7fec32 Chats: normalize chat messages again so attachments don't break 2022-11-02 14:23:39 -05:00
4dc0ab2d00 Chats: make Truth Policies conditional 2022-11-02 14:02:43 -05:00
239b2af553 Chats: make message_expiration optional (for Pleroma compatibility) 2022-11-02 13:53:41 -05:00
650387dc77 Add Policy Modal 2022-11-01 13:22:29 -04:00
b33b32d9dc Update 'last_message' if the user deletes it 2022-11-01 09:44:21 -04:00
24bca458bd Add tests for chats query 2022-10-28 13:01:39 -04:00
3e2888eb75 Handle unreadCount when messages are deleted 2022-10-27 13:59:54 -04:00
75233526cc Update duration design for Widget 2022-10-26 13:28:50 -04:00
54363e24a9 Add ability to update deletion duration 2022-10-26 13:08:02 -04:00
22f3dd9444 Disable chatMessages query if blocked 2022-10-25 13:10:53 -04:00
9eb09e4aab Remove Chat Silence feature from web 2022-10-25 08:23:33 -04:00
c9424cda76 Merge remote-tracking branch 'origin/develop' into chats 2022-10-24 12:25:35 -04:00
4296772093 Support TruthSocial v2 ads 2022-10-20 16:29:14 -05:00
c41b71c76c Invalidate query cache when new chats come in 2022-10-05 15:15:16 -04:00
4447a3cda4 Convert ChatMessageList to Virtuoso 2022-10-04 10:48:37 -04:00