Commit graph

5002 commits

Author SHA1 Message Date
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
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
Justin
93b11ec99c Add new airplane icon for sending messages 2022-09-22 12:45:01 -04:00
Justin
7c134a0c29 Switch buttons 2022-09-22 12:39:52 -04:00
Justin
4466326f8c Change copy to 'Delete for both' 2022-09-22 11:51:12 -04: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
Alex Gleason
15a5c01cef
Chats: ['chats'] --> ['chats', 'search'] 2022-09-21 13:47:46 -05:00
Alex Gleason
90c8096f9e
Merge remote-tracking branch 'origin/develop' into chats 2022-09-21 10:18:29 -05:00
Alex Gleason
097954d2f1 Merge branch 'compose-focus-fix' into 'develop'
ComposeForm: don't focus the input constantly, add usePrevious hook

Closes #1105

See merge request soapbox-pub/soapbox!1796
2022-09-20 13:19:44 +00:00
Alex Gleason
bf590d26c4
ChatPageMain: add back button for mobile 2022-09-19 16:28:32 -05:00
Alex Gleason
4ea422abb5
ChatsPage: remove pb-36 2022-09-19 15:13:55 -05:00
Alex Gleason
9dc1a0caec
ChatPage: allow selecting a chat on mobile 2022-09-19 15:12:18 -05:00
Alex Gleason
19ef0fee20
ChatPage: size the height correctly for mobile 2022-09-19 15:02:16 -05:00
Alex Gleason
d1b10f72aa
ChatPage: collapse on mobile 2022-09-19 14:56:23 -05:00
Alex Gleason
ad521e528e
ChatListItem: prevent links from being clicked 2022-09-19 14:33:22 -05:00
Alex Gleason
e42f0bc9b0
ChatPageMain: allow switching chats before onboarding 2022-09-19 14:19:46 -05:00
Alex Gleason
6ce7c0a8cb
Chats: clean up some eslint errors 2022-09-19 14:14:39 -05:00
Alex Gleason
39f682a472
Self status typofix 2022-09-19 14:04:51 -05:00
Alex Gleason
6b57b62b38
ComposeForm: don't focus the input constantly, add usePrevious hook 2022-09-19 13:55:08 -05:00
Alex Gleason
23bbaf329b
UI: remove QueryClient (it's already in containers/soapbox, how did that happen?) 2022-09-19 13:04:51 -05:00
Alex Gleason
d7243c0e91
Merge remote-tracking branch 'origin/develop' into chats 2022-09-19 13:01:40 -05:00
Alex Gleason
1e6993975c Merge branch 'delete-modal-fix' into 'develop'
Fix account deletion modal

See merge request soapbox-pub/soapbox!1794
2022-09-17 21:33:37 +00:00
marcin mikołajczak
4d74158eb7 Merge branch 'compose' into 'develop'
Allow multiple compose forms

See merge request soapbox-pub/soapbox!1786
2022-09-17 21:00:29 +00:00
5e7b78bbac Fix media upload with uninitialized compose forms
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-09-17 21:13:02 +02:00
42d68bddf9 handleDrop changes
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-09-17 09:29:36 +02:00
Alex Gleason
ca4a5370c1
OutlineBox: allow passing div props through 2022-09-16 13:34:53 -05:00
Justin
88d848ee17 Add welcome screen to Chats main page 2022-09-16 14:33:31 -04:00
Alex Gleason
5297227501
My god is the everlasting sky! Your god lives beneath him. 2022-09-16 13:30:55 -05:00
d3693fe89a Don't accept 'default' as id for ComposeForm
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-09-16 20:18:12 +02:00
Alex Gleason
7fe97e8075
QuotedStatus: move testId to highest component 2022-09-16 12:44:11 -05:00
Alex Gleason
06a0ca704c
Improve styles of ConfirmationModal, fix account deletion modal 2022-09-16 12:37:28 -05:00
Alex Gleason
2eb08aced9
Create OutlineBox component
Visual container for QuotedStatus and Accounts in some scenarios
2022-09-16 12:24:33 -05:00
Alex Gleason
c19fe9f167
Strip leading @ from password reset input 2022-09-16 10:42:05 -05:00
9b51b16e78 update test
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-09-16 16:25:01 +02:00
Justin
9cb34dc45c Refactor ChatPage into multiple components 2022-09-16 10:22:43 -04:00
Justin
acdb89e698 Move ChatPage into subfolder 2022-09-16 10:13:45 -04:00
c31e13b0a5 default cleanup
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-09-16 15:53:20 +02:00