Commit graph

42 commits

Author SHA1 Message Date
Alex Gleason
1addfb96a9
Fix streaming follow update
Fixes https://gitlab.com/soapbox-pub/soapbox/-/issues/1469
2023-07-22 16:38:34 -05:00
Alex Gleason
53c8858fa6
Add useHashtagStream hook, clean up hashtags timeline (remove unused code for fetching multiple hashtags) 2023-07-22 14:41:50 -05:00
Alex Gleason
4a4a2d1a87
Add useGroupStream hook 2023-07-22 14:06:15 -05:00
Alex Gleason
811a9af670
Add useListStream hook 2023-07-22 14:03:00 -05:00
Alex Gleason
4090d6ab51
Add useDirectStream hook 2023-07-22 14:00:00 -05:00
Alex Gleason
9b1352f0ad
Add useRemoteStream hook 2023-07-22 13:16:01 -05:00
Alex Gleason
d99e266008
Add usePublicStream hook 2023-07-22 13:09:45 -05:00
Alex Gleason
3cef200a44
Add useCommunityStream hook, refresh socket when timelineId or path changes 2023-07-22 13:05:41 -05:00
Alex Gleason
757f6600f8
Streaming: remove unused code 2023-07-22 12:53:43 -05:00
Alex Gleason
77f0f4d377
Add Streaming hooks 2023-07-22 12:49:02 -05:00
Alex Gleason
f318c35544
Simplify event signing 2023-05-20 21:15:53 -05:00
Alex Gleason
e5837ebefb
nip07: catch signEvent error 2023-05-13 21:25:59 -05:00
Alex Gleason
85f526d1d4
Sign Nostr event with ditto 2023-05-13 21:07:36 -05:00
Alex Gleason
86a5753d10
Sign nostr event from websocket 2023-04-02 20:50:48 -05:00
61ece4d271 Merge remote-tracking branch 'takver/fix-locale-parser' into fix-locale-parser
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2023-03-13 20:44:09 +01:00
81de0014d3 Change ESLint rules, lint
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2023-02-16 00:12:02 +01:00
Chewbacca
e255bfac3d Improve Emoji Reactions and add support for Chat Reactions 2023-02-08 12:58:01 -05:00
Alex Gleason
fbd2471dc6
Move StatProvider above UI, increment chats unread counter from streaming events 2022-12-07 00:45:10 -06:00
Alex Gleason
ac4ffaa41f
Streaming: play chat sounds if enabled 2022-12-06 17:19:09 -06:00
Chewbacca
5816659a09 Refactor chat functions 2022-12-02 15:50:54 -05:00
Chewbacca
3a7f27b5bf Drop chat_message.created notifications 2022-11-11 07:22:21 -05:00
Chewbacca
0164bf35a0 Temporarily disable sounds 2022-11-10 16:07:00 -05:00
Chewbacca
93a696a72f Re-sort the ChatList when new messages come in 2022-11-10 15:42:59 -05:00
Chewbacca
98b2fdf9a4 Improve emoji to support custom 2022-11-09 13:17:10 -05:00
Chewbacca
63c02cf31e Temporarily disable setting the Chat cached object 2022-11-04 07:36:10 -04:00
Chewbacca
7571b88c51 Add unread indicator + fix bug with read receipts 2022-11-03 15:16:07 -04:00
Chewbacca
54466f1293 Move query into Context 2022-11-02 15:28:16 -04:00
Chewbacca
b33b32d9dc Update 'last_message' if the user deletes it 2022-11-01 09:44:21 -04:00
Chewbacca
3e2888eb75 Handle unreadCount when messages are deleted 2022-10-27 13:59:54 -04:00
Chewbacca
e8c72c8e11 Handle message deletions via websockets 2022-10-27 10:25:37 -04:00
Justin
c41b71c76c Invalidate query cache when new chats come in 2022-10-05 15:15:16 -04:00
Alex Gleason
7722ce5e68
Chats: don't update own messages from streaming (for now) 2022-09-29 10:58:58 -05:00
Alex Gleason
2791d3453a
Chats: update chat cache in streaming 2022-09-28 15:55:56 -05:00
Alex Gleason
075cb15940
Add utils/queries, refactor streaming 2022-09-22 16:28:05 -05:00
Alex Gleason
624d139a5a
Chats: MAKE WEBSOCKET STREAMING WORK!!! 2022-09-21 18:26:18 -05:00
Alex Gleason
c3edd71bf3
Chats: WIP streaming mutations 2022-09-21 17:52:20 -05:00
Justin
e384d1f40d Setup websockets 2022-08-31 13:21:43 -04:00
560f4592e7 Stream marker updates
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-08-01 18:31:49 +02:00
b3b6a7e4bc Announcements
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-07-07 23:10:09 +02:00
Alex Gleason
4004163fac actions/streaming: comment out unused import 2022-06-24 20:36:06 +00:00
Alex Gleason
a8d4a08e15 Ignore streaming deletion events 2022-06-23 19:58:38 +00:00
0115f064a0 Actions: TypeScript
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-06-18 20:58:42 +02:00