Commit graph

6513 commits

Author SHA1 Message Date
Alex Gleason
de78926142
ChatsPage: add settings cog 2022-09-28 19:39:22 -05:00
Alex Gleason
f8199ab701
ChatPageNew: support account search to start a new chat 2022-09-28 19:35:28 -05:00
Alex Gleason
acdd999c5c
Chats: display component at /chats/new 2022-09-28 19:26:49 -05:00
Alex Gleason
e582eda17e
Route /chats/new to ChatIndex 2022-09-28 19:16:20 -05:00
Alex Gleason
2791d3453a
Chats: update chat cache in streaming 2022-09-28 15:55:56 -05: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
Alex Gleason
9c43f4b51e
UI: delete Gab groups commented routes 2022-09-28 13:39:45 -05:00
Alex Gleason
e8b7fd8db8
Route /chats/:chatId to ChatPage component, cleanup UI imports, nuke ChatRoom (he cry) 2022-09-28 13:37:56 -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
Alex Gleason
8772d19128 Merge branch 'more-country-codes' into 'develop'
CountryCodeDropdown: support +55, +351

See merge request soapbox-pub/soapbox!1801
2022-09-27 19:29:38 +00:00
Chewbacca
89057abc7b Merge branch 'improve-people-to-follow' into 'develop'
Improve "People to Follow" widget

See merge request soapbox-pub/soapbox!1800
2022-09-27 19:27:24 +00:00
Justin
37a61660e3 Merge branch 'onboarding-action-button' into 'develop'
Remove unneeded disabled button on Bio step

See merge request soapbox-pub/soapbox!1802
2022-09-27 15:14:09 +00:00
Justin
1a124c2eab Fix fade when scrolling on ChatList 2022-09-27 10:50:01 -04:00
Justin
c40651150c Merge remote-tracking branch 'origin/develop' into chats 2022-09-27 10:41:20 -04:00
Justin
d4cf5dc2b9 Remove unneeded disabled button on Bio step
We don't require users to have bios, so we shouldn't force them to add one
during the onboarding steps in order to proceed to the next step without
"skipping" it.
2022-09-27 10:35:42 -04:00
Justin
90c122bf3f Update leave chat summary 2022-09-27 10:18:12 -04:00
Justin
b34b65cb90 Fix conflict between eslint / typescript 2022-09-27 09:59:01 -04:00
Justin
facd4e95f5 Add tests for new Who To Follow panel 2022-09-27 09:58:49 -04:00
Alex Gleason
a0d595c7df
CountryCodeDropdown: support +55, +351 2022-09-26 15:00:01 -05:00
Justin
63bd9a21fc Update spacing on Widgets 2022-09-26 15:23:51 -04:00
Justin
1d69b66e4b Use React Query for suggestions 2022-09-26 15:22:00 -04:00
marcin mikołajczak
e29527949d Merge branch 'share-route' into 'develop'
Fix share route

Closes #1110

See merge request soapbox-pub/soapbox!1799
2022-09-23 21:38:14 +00:00
c1618026a7 Fix share route
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-09-23 23:12:44 +02:00
Justin
f662023480 Add other actions for non-current-user messages 2022-09-23 13:00:40 -04:00
Justin
9768203f1b Open chat pane on action 2022-09-23 12:53:55 -04:00
Justin
0003b7323a Fix errant fetches to the silence endpoint 2022-09-23 09:48:52 -04:00
Justin
641bf1268d Fix loading state for chat-list 2022-09-23 09:24:20 -04:00
Justin
7335a3a0d3 Change color of last message text if unread 2022-09-23 09:08:46 -04:00
Justin
31b1f3ec97 I18n 2022-09-23 09:07:22 -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
c8adde735f
ChatPage: fix height on mobile (where ThumbNavigation is present) 2022-09-22 17:38:00 -05:00
Alex Gleason
3c9ffd30b1
ChatPageSidebar: add new chat icon (non-functional) 2022-09-22 17:18:27 -05:00
Alex Gleason
cbd7089166
ChatPageSidebar: refactor search 2022-09-22 17:06:42 -05:00
Alex Gleason
7cf1943364
Add chatsSearch feature 2022-09-22 16:52:31 -05: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
fa919c217b
Create ChatSearchInput component 2022-09-22 15:24:11 -05:00
marcin mikołajczak
836ff09a3d Merge branch 'fix-reply-mentions-modal' into 'develop'
Fix ReplyMentionsModal crash

Closes #1108

See merge request soapbox-pub/soapbox!1798
2022-09-22 20:18:23 +00:00
904e93bd8e Fix ReplyMentionsModal crash
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-09-22 22:00:32 +02:00
Alex Gleason
46d309ae45
ChatListItem: restrict height of last_message content 2022-09-22 14:58:31 -05:00
Alex Gleason
2e728d99f9
ChatWidget: remove 'direct' streaming (it uses the 'user' stream) 2022-09-22 14:36:46 -05:00
Alex Gleason
1a4a6382d3
Make account.chats_onboarded true by default for backwards-compatibility 2022-09-22 14:34:07 -05:00
Justin
516d35e8ab Increase space between ChatListItems 2022-09-22 14:13:15 -04:00
Justin
045fe8dcbb Improve spacing and height of Chats page 2022-09-22 14:03:12 -04:00
Justin
89c1225976 Hide widget if not onboarded 2022-09-22 12:55:29 -04:00