Commit Graph

343 Commits

Author SHA1 Message Date
8bfa77ddca Chats: link avatar to account #359 2020-08-30 19:50:39 -05:00
445bb30ac0 Chats: display the last message in chats list, fixes #361 2020-08-30 19:31:09 -05:00
e3e57f8dc7 Chats: don't crash when there's an image post, fixes #369 2020-08-29 22:57:26 -05:00
a419c5da34 Merge branch 'chats' into 'develop'
ChatMessages MVP

See merge request soapbox-pub/soapbox-fe!185
2020-08-28 22:03:34 +00:00
399c2874bb Chats: display recipient name in ChatRoom 2020-08-28 16:26:42 -05:00
229d5c3f90 Chats: add mobile chat notification counter 2020-08-28 15:22:33 -05:00
2f2c849dfa Chats: remove DM links from menus 2020-08-28 15:09:17 -05:00
7d0bd47ac1 Chats: update "Message" button with conditional logic for mobile 2020-08-28 15:06:55 -05:00
572a1db9f7 Chats: mobile styling 2020-08-28 14:42:58 -05:00
46323e088a Chats: rename ChatListAccount to just Chat 2020-08-28 13:28:11 -05:00
b1ccec1cf5 Chats: hide FAB on chat pages 2020-08-28 13:27:54 -05:00
e7c6862fd0 Chats: refactor ChatBox into its own component 2020-08-28 13:17:19 -05:00
d67d76bf3a Chats: only mark read on hover when the chat is open 2020-08-28 10:45:03 -05:00
942b3fdebe Chats: add individual chat page for mobile 2020-08-27 22:46:48 -05:00
cd30d79b5b Chats: render independent ChatIndex for mobile 2020-08-27 22:11:15 -05:00
e682c3db28 Chats: use textarea instead of input 2020-08-27 19:25:16 -05:00
3fbdce6901 Chats: mark as read when the input is focused 2020-08-27 18:06:25 -05:00
a349bce10f Chats: show message date on hover 2020-08-27 17:27:37 -05:00
abd6c419f1 Chats: hide for mobile (for now) 2020-08-27 16:54:07 -05:00
22063ae3c8 Chats: replace avatar with unread counter 2020-08-27 16:41:24 -05:00
f80f18d376 Chats: mark chats as read 2020-08-27 16:09:03 -05:00
ac028ed584 Chats: add unread counters to chats 2020-08-27 15:43:19 -05:00
020e21adcd Oh right, maps can't be sorted... 2020-08-27 15:07:15 -05:00
859f340716 Chats: rudimentary display of chat message notifications 2020-08-27 14:33:03 -05:00
14eec701cb Chats: add empty chats message 2020-08-27 14:02:52 -05:00
44f7ad5e1c Chats: sort chats in reducer instead of component 2020-08-27 13:45:37 -05:00
9493b261ef Chats: only show message button if the user supports chats 2020-08-27 13:32:52 -05:00
59c2029535 Chats: style pending messages 2020-08-27 12:51:35 -05:00
29f415d786 Chats: sort most recently updated chats to the top 2020-08-26 23:20:16 -05:00
c4aae14148 Chats: handle null last_message 2020-08-26 20:20:14 -05:00
9a3aab27c9 Chats: clicking the profile message button calls onMessage 2020-08-26 19:46:23 -05:00
efa6f94cdd Fix onEndorseToggle props warning 2020-08-26 19:20:18 -05:00
4b173f0580 Chats: sort messages properly 2020-08-26 17:02:25 -05:00
759c4ae4d0 Fix chat submission 2020-08-26 16:54:44 -05:00
ecefab9956 Chats: get messages showing up again 2020-08-26 16:12:42 -05:00
96ccf02ab8 Merge branch '340-load-more-community-fix' into 'develop'
Pass last statusID into status list before filtering, fixes #340

Closes #340

See merge request soapbox-pub/soapbox-fe!188
2020-08-26 19:43:32 +00:00
5c03f855f6 lastStatusId: move assignment out of selector 2020-08-26 14:31:22 -05:00
5fc8b3ff3d Chats: improve display of links and emoji 2020-08-26 00:33:26 -05:00
a296e6fcd1 Differentiate chat bubbles 2020-08-26 00:21:54 -05:00
c94258dfb9 Chats: improve scroll behavior 2020-08-25 22:12:08 -05:00
205078c865 Chats: focus input under some circumstances 2020-08-25 22:03:53 -05:00
dcaadb2153 Chats: autoscroll
https://stackoverflow.com/a/41700815
2020-08-25 21:45:05 -05:00
5a7cc14812 Chats: rudimentary sending a message 2020-08-25 21:31:34 -05:00
5373c5b1c4 Chats: start styling ChatWindow 2020-08-25 21:03:10 -05:00
cab490e1d3 Chats: display chat message content 2020-08-25 20:33:49 -05:00
a2cd0b7630 Chats: improve toggle surface area 2020-08-25 19:13:54 -05:00
0736e6d46c Chats: Let main window be minimized 2020-08-25 18:53:36 -05:00
1c6c9f0f5d Chats: Toggle pane open and minimized 2020-08-25 18:45:05 -05:00
072aed02da Chats: Allow closing a chat 2020-08-25 18:11:48 -05:00
f87f33fb94 Chats: Click chat to open pane 2020-08-25 17:54:10 -05:00