Commit graph

460 commits

Author SHA1 Message Date
Alex Gleason
78543292f1
Merge branch 'chats' of gitlab.com:soapbox-pub/soapbox into chats 2022-09-29 11:24:11 -05:00
Alex Gleason
40b8bab7ab
Chats: strip HTML when copying message text to clipboard 2022-09-29 11:23:49 -05:00
Justin
b0ea57b9b9 Merge remote-tracking branch 'origin/chats' into chats 2022-09-29 09:46:39 -04:00
Justin
0a8fa3e635 Add ability to report a Chat Message 2022-09-29 09:45:57 -04:00
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
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
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
17c2958df1 Use query key system 2022-09-27 15:42:24 -04:00
Justin
1a124c2eab Fix fade when scrolling on ChatList 2022-09-27 10:50:01 -04:00
Justin
90c122bf3f Update leave chat summary 2022-09-27 10:18:12 -04: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
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
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
15a5c01cef
Chats: ['chats'] --> ['chats', 'search'] 2022-09-21 13:47:46 -05:00
Alex Gleason
bf590d26c4
ChatPageMain: add back button for mobile 2022-09-19 16:28:32 -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
Justin
88d848ee17 Add welcome screen to Chats main page 2022-09-16 14:33:31 -04: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
Justin
4352d17217 Add snooze icon to ChatList 2022-09-16 08:57:09 -04:00
Justin
6240ea5a23 Finish i18n for DMs 2022-09-14 10:35:32 -04:00
Justin
a60d6770af Remove temp verification 2022-09-13 16:38:28 -04:00
Justin
5eab883fd1 Chats -> i18n 2022-09-13 16:33:34 -04:00
Justin
45afb665b9 Add chat settings to chat main page 2022-09-13 14:11:22 -04:00
Justin
0ae515ef18 Refactor ChatSearch and add various states 2022-09-13 11:55:13 -04:00
Justin
0952fe6dae Add Chat context api to main page 2022-09-13 11:18:46 -04:00
9822266561 do i really understand this?
Signed-off-by: marcin mikolajczak <git@mkljczk.pl>
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
Signed-off-by: marcin mikolajczak <git@mkljczk.pl>
2022-09-13 13:49:50 +02:00
Justin
09d73b1c45 Refactor chat component naming 2022-09-12 16:46:19 -04:00
Justin
8e1aa9f9e8 Add dark mode support to main page 2022-09-12 15:33:08 -04:00
Justin
5b73afbc4e Remove unused prop 2022-09-12 15:05:19 -04:00
Justin
56c617bd32 Merge branch 'alex-chats' into chats 2022-09-12 14:50:02 -04:00
Justin
81bfc06990 Add tests 2022-09-12 14:42:15 -04:00
Justin
a68aeb8464 Start changing the way search works 2022-09-12 14:42:06 -04:00
Justin
1c179cd4a0 Add error states 2022-09-08 12:47:19 -04:00
Justin
c48b4adc81 Error handling for bad sends 2022-09-08 10:24:20 -04:00
Alex Gleason
0ac3b0824b
Add header to desktop chats 2022-09-01 13:17:31 -05:00
Alex Gleason
624720a7bc
ChatIndex: clamp to screen height-ish 2022-09-01 13:17:31 -05:00
Alex Gleason
90ece157e6
ChatIndex: improve the desktop layout 2022-09-01 13:17:31 -05:00
Alex Gleason
7fc732d0d0
Chat: fix various overflow issues 2022-09-01 13:17:31 -05:00
Alex Gleason
2a5a43d914
ChatIndex: break layout into columns 2022-09-01 13:17:30 -05:00
Alex Gleason
471ee4d179
Rename chats to messages 2022-09-01 13:17:30 -05:00
Alex Gleason
2f0a41cc36
ChatMessageList: fix horizontal overflow for long messages in UI 2022-09-01 13:17:30 -05:00
Justin
fc81cda6bb Fix classnames import 2022-08-31 13:24:01 -04:00
Justin
c63fdec916 Reset state on failure 2022-08-31 13:22:43 -04:00
Justin
7535862a40 Autogrow the textarea 2022-08-31 13:22:41 -04:00
Justin
3939e27827 Add ability to copy the message 2022-08-31 13:22:18 -04:00
Justin
5dd44d3094 Add last_message_id param to API 2022-08-31 13:22:18 -04:00
Justin
2a02f6dcc7 Rename snooze endpoint 2022-08-31 13:22:18 -04:00
Justin
cfa183531e Fix text alignment 2022-08-31 13:22:18 -04:00
Justin
b04bc6a7ae Add shadow when scrolling 2022-08-31 13:22:18 -04:00
Justin
01167af69e Add infinite scroll to ChatList 2022-08-31 13:22:16 -04:00
Justin
e384d1f40d Setup websockets 2022-08-31 13:21:43 -04:00
Justin
0f7cfada50 Improve dark mode of chats 2022-08-31 13:21:43 -04:00
Justin
ba2ffd1501 Snooze 2022-08-31 13:21:43 -04:00
Justin
e7bd56f959 Refactor 2022-08-31 13:21:43 -04:00
Justin
a2e2d60fc7 Add Message List Intro component 2022-08-31 13:21:43 -04:00
Justin
396a1f1f46 Add Chat Settings 2022-08-31 13:21:43 -04:00
Justin
d2d64e4ec4 Refactor and auto-accept chats 2022-08-31 13:21:43 -04:00
Justin
ea5525d02c Refactor leave/report chat 2022-08-31 13:21:43 -04:00
Justin
0cb0e8af9e Add ability to leave chat 2022-08-31 13:21:43 -04:00
Justin
8492cc59e2 Add ability to accept chat 2022-08-31 13:21:43 -04:00
Justin
1ed1f3fd2e Add ability to delete message 2022-08-31 13:21:42 -04:00
Justin
7557445a3e Disable submit button 2022-08-31 13:20:54 -04:00
Justin
751c031420 Disable submit button 2022-08-31 13:20:54 -04:00
Justin
84dc06db42 d 2022-08-31 13:20:54 -04:00
Alex Gleason
58322862e4 Make chat panes REALLY BIG 2022-08-31 13:20:53 -04:00
Alex Gleason
0b4fc43172 Chats: break out Pane into a UI component 2022-08-31 13:20:53 -04:00
03d6211e1c Replace classnames with clsx
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-08-31 11:35:06 +02:00
d7967882a0 Allow to paste attachments in chat box
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-07-29 22:03:45 +02:00
2f5ca7c740 Display 'No chats found' in a card
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-07-18 23:01:09 +02:00
Alex Gleason
b7b0ad06dc
Merge remote-tracking branch 'origin/develop' into update-emoji-mart 2022-07-09 15:21:17 -05:00
Alex Gleason
6ddb44f626
Upgrade Tabler to v1.73.0, use new import paths, remove Webpack hack 2022-07-09 11:20:02 -05:00
ewwwwwwww
d98371bf6a migrate emoji types 2022-07-09 08:31:27 -07:00
Alex Gleason
d371ec506d
Chat: fix unread counter 2022-06-24 12:39:37 -05:00
Alex Gleason
c42f60bc77
ChatRoom: autosize height on desktop 2022-06-21 15:58:03 -05:00
Alex Gleason
9365aa2cee
ChatWindow: don't focus on setting ref 2022-06-18 16:25:02 -05:00
Alex Gleason
9f0b7db8d8
ChatWindow: fix spacing between elements 2022-06-18 15:50:46 -05:00
Alex Gleason
d2cfe93b6a
Chats: rename all files with dashes instead of underscores 2022-06-17 17:40:43 -05:00
Alex Gleason
5dc4980875
ChatMessageList: cleanup 2022-06-17 17:37:09 -05:00
Alex Gleason
a632bb99f9
ChatMessageList: fix pagination 2022-06-17 17:33:25 -05:00
Alex Gleason
bf01c42397
ChatMessageList: fix initial scroll position 2022-06-17 16:50:18 -05:00
Alex Gleason
a7e5281098
ChatMessageList: convert to TSX (sorta) 2022-06-17 15:37:54 -05:00
Alex Gleason
6459096b58
ChatWindow: convert to TSX 2022-06-17 14:39:53 -05:00
Alex Gleason
c35564c62b
ChatBox: convert to TSX 2022-06-17 13:45:52 -05:00
Alex Gleason
fe9984dd9c
ChatRoom: convert to TSX 2022-06-17 13:05:37 -05:00
Justin
de7fa347df Specifically import the single lodash function 2022-06-17 07:37:53 -04:00
708c3a9e64 TypeScript: actions
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-06-10 19:56:22 +02:00
58539146a4 TypeScript: ChatPanes, CryptoDonate, utils/ethereum
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-06-10 19:34:17 +02:00
5fe442b684 ESLint: add no-duplicate-imports rule
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-06-07 22:21:18 +02:00
Alex Gleason
a261e02329
Chats: fix search results position on main pane 2022-06-04 17:23:25 -05:00
Alex Gleason
c1227079ac
Chats: fix unread counter 2022-05-27 20:14:41 -04:00
Justin
25f865272f Merge branch 'convert-display-name' into 'develop'
Convert display-name to TS

See merge request soapbox-pub/soapbox-fe!1375
2022-05-17 15:23:24 +00:00
Justin
4c5bff2fb5 Remove unused ColumnBackButton component 2022-05-17 09:46:55 -04:00
Kevin Brown
6bf0d5847b
Convert display-name to TS 2022-05-16 10:52:39 -04:00
Alex Gleason
b64be353cc
eslint: indent switch statements 2022-05-11 16:06:35 -05:00
Alex Gleason
ae01b845de
eslint: enforce spacing of imports (and infix ops) 2022-05-11 12:40:34 -05:00
Alex Gleason
ba5fd4aa2a
Chats propTypes fixes 2022-04-21 18:27:36 -05:00
Alex Gleason
000121d74f
Notifications: use Virtuoso 2022-04-18 19:00:19 -05:00
Alex Gleason
05068460e0
ChatList: use Virtuoso 2022-04-15 15:19:34 -05:00
b5ae9adf63 Chats: typescript
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-04-12 18:52:56 +02:00
2943b91034 Typescript, convert some components to functional
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-04-11 21:58:48 +02:00
0661ca25be styles
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-04-02 16:10:16 +02:00
Justin
a15697faef Convert UploadProgress to TSX 2022-03-30 10:51:07 -04:00
dbeb292009 wip dark mode
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-03-29 15:40:02 +02:00
Alex Gleason
2c0ce084c3
Chats: remove duplicate navigation 2022-03-28 11:07:26 -05:00
Alex Gleason
228f16f930
Merge remote-tracking branch 'origin/develop' into next-react-router-5 2022-03-21 16:05:25 -05:00
Alex Gleason
5cd894ab02
Truth Social 2022-03-21 13:14:26 -05:00
Alex Gleason
1f0341aa2b
Upgrade react-router-dom to v5.3 2022-03-17 20:17:28 -05:00
a041a4452b Rename modal -> modals
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-02-02 16:36:20 +01:00
050ee1a5f0 Do not let users report their own chat messages
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-01-19 09:03:04 +01:00
Alex Gleason
6323c7d70e
eslint: enforce gaps between groups with import/order 2022-01-10 16:25:06 -06:00
Alex Gleason
966ca91e1a
eslint: alphabetize imports with import/order 2022-01-10 16:17:52 -06:00
Alex Gleason
2a0e2001d6
eslint: enforce import/order 2022-01-10 16:01:24 -06:00
Alex Gleason
1b7c0adc58 Merge branch 'replace-icons' into 'develop'
Replace LineAwesome with Tabler icons in some places

See merge request soapbox-pub/soapbox-fe!915
2021-12-14 19:04:24 +00:00
68e05c803b Replace LineAwesome with Tabler Icons in some places
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2021-12-14 19:48:18 +01:00
12e4c6c083 wip chat pagination
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2021-12-13 18:06:47 +01:00
Alex Gleason
09f941a79c Merge branch 'chats-attachments-icon' into 'develop'
Add icons for chat previews with attachments

See merge request soapbox-pub/soapbox-fe!884
2021-11-21 18:44:53 +00:00
f4dc4181ad Add icons for chat previews with attachments
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2021-11-21 19:29:16 +01:00
d25354013a Use .destructive
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2021-11-08 17:21:33 +01:00
287bd6c7f5 Use warning color for delete actions
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2021-11-07 10:24:09 +01:00
Alex Gleason
0b21092281 Merge branch 'more-pull-to-refresh' into 'develop'
Add Pull to Refresh to timelines, Notifications, Chats, Bookmarks

See merge request soapbox-pub/soapbox-fe!854
2021-11-04 19:37:47 +00:00
Alex Gleason
65a2a40cb2
Pull to Refresh: Notifications, Chats, Bookmarks 2021-11-04 14:20:11 -05:00
43fe27eecc Add icons to all? dropdown menus
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2021-11-04 20:19:04 +01:00
Alex Gleason
3e3433218c
Column: remove top gap on mobile, implement pulling feedback 2021-11-03 20:35:40 -05:00
Alex Gleason
f70791004b
Chats: add account search 2021-10-14 12:23:51 -05:00
Alex Gleason
78529df4c1
Chats: fix action button icons 2021-10-08 12:13:47 -05:00
Alex Gleason
f23a6b0890
Replace a lot more icons with SVG icons 2021-09-27 20:47:44 -05:00
Alex Gleason
db4a0d33c8
LineAwesome: fix "close" icon 2021-09-27 12:19:39 -05:00
Alex Gleason
5548644bd6
eslint: no-extra-semi 2021-08-03 14:22:51 -05:00
Alex Gleason
011b5dd19b
Big emojis: ignore mentions 2021-07-09 18:39:05 -05:00
Alex Gleason
2082c19c53
Rename justEmojis to onlyEmoji 2021-07-09 16:54:44 -05:00
Alex Gleason
c856e9df55
Big emojis in chats, too 2021-07-09 14:22:01 -05:00
Alex Gleason
569c6e83ab
Normalize chat panes (again), fixes #648 2021-07-06 13:15:19 -05:00
Alex Gleason
67392cbc12
Chats: don't render ChatList unless mainWindow is open for performance 2021-07-01 20:14:39 -05:00
Alex Gleason
1b92ce0d4a
Chats: refactor AudioToggle for performance 2021-07-01 18:50:18 -05:00
Alex Gleason
9cbd7b88c7
Chats: memoize ChatMessageList messages for performance 2021-07-01 18:41:08 -05:00
Alex Gleason
319af71327
Chats: memoize sorted chat IDs list 2021-07-01 18:14:40 -05:00
Alex Gleason
799f19bbc4
Chats: improve performance 2021-07-01 18:01:33 -05:00
Alex Gleason
069f32c602
Chats: fix unnecessary re-rendering 2021-07-01 15:42:10 -05:00
Alex Gleason
e2fdd86a76
Filter out invalid chats, fixes #648 2021-05-31 19:58:19 -05:00
Alex Gleason
e03f551676
acctFull --> getAcct throughout the UI, make it stateful 2021-04-10 14:13:07 -05:00
Alex Gleason
6aaba91379 Update chat_message_list.js 2020-10-09 01:36:42 +00:00
Sean King
211163383e
Don't throttle const isNearBottom 2020-10-08 19:14:39 -06:00
Sean King
3a38eed5ba
Don't do scrollToBottom if we're loading. 2020-10-08 19:13:00 -06:00
Sean King
5deac9f5e0
Use throttle for handleResize instead 2020-10-08 19:02:39 -06:00
Sean King
a1909b72f2
Reduce number of calls to scrollToBottom 2020-10-08 13:46:36 -06:00
Alex Gleason
0bbdaa4191
eslint: trailing comma fixes, unused var 2020-10-07 13:08:36 -05:00
Alex Gleason
17266e172f
Chats: count only unread *chats* not total unread messages for counter 2020-10-02 20:01:09 -05:00
Alex Gleason
c96c537a52
Chats: clean up menu icon 2020-09-22 17:00:01 -05:00
Alex Gleason
41eb69ecd1
Chats: report user from message, fixes #391 2020-09-22 16:34:43 -05:00
Alex Gleason
ed4abfdce3
Chats: allow deleting a message, fixes #358 2020-09-22 16:20:10 -05:00
Alex Gleason
2dd3b39e7e
Chats: add label to send button 2020-09-22 14:21:07 -05:00
Alex Gleason
1080204a97
Chats: add key to dividers in ChatMessageList 2020-09-21 22:15:00 -05:00
Alex Gleason
bf91463284
Chats: add timestamps, fixes #370 2020-09-18 18:55:57 -05:00
Alex Gleason
377506a92f
Chats: allow toggle notification sounds from mobile 2020-09-18 00:28:54 -05:00
Alex Gleason
d77ee9fec2
Chat notifs: refactor actions 2020-09-17 23:06:54 -05:00
Alex Gleason
57b82f7778
Merge remote-tracking branch 'origin/develop' into chat_notifications 2020-09-17 22:41:18 -05:00
Alex Gleason
5682688aed
Chats: fix #418 scrolling resize issue 2020-09-11 22:44:09 -05:00
Alex Gleason
40937b9fdc
Chats: allow clicking recipient in chatroom 2020-09-11 13:09:39 -05:00
Alex Gleason
d6a39b3e09
Hovercard: put hovercard on chat window 2020-09-11 13:04:31 -05:00
Curtis ROck
16eab5c5f1 Added keystroke triggered marking of chats as read in chatbox 2020-09-09 21:37:35 -05:00
crockwave
fa606b8040 Render chat unread count update in tab even when tab doesn't have focus
Render chat unread count update even when chat box has focus
Render chat unread count update on page load
2020-09-09 19:01:25 -05:00
Alex Gleason
255419a6e9
Chats: display attachments in a shitty letterbox to support FireFox 2020-09-07 19:13:59 -05:00
Alex Gleason
fb35417fe2
Chats: prevent repeat API calls 2020-09-07 18:42:59 -05:00
Alex Gleason
9247f37e75
Chats: fix #399 scrolling in FireFox 2020-09-07 16:07:05 -05:00
Alex Gleason
60402a7402
Chats: add submit button, fixes #356 2020-09-06 17:43:16 -05:00
Alex Gleason
a02155846d
Chats: allow files to be removed before sending 2020-09-06 17:09:06 -05:00
Alex Gleason
ed41b13064
Chats: refactor ChatBox state yet again, display unsent attachment 2020-09-06 16:24:34 -05:00
Alex Gleason
cf0baab6de
Chats: add upload progress 2020-09-06 15:39:16 -05:00
Alex Gleason
07f29ebcb9
Chats: put attachment above content 2020-09-06 14:15:06 -05:00
Alex Gleason
afd823fae0
Chats: refactor ChatBox state 2020-09-06 13:55:24 -05:00
Alex Gleason
b7295e238f
Chats: get media uploads working 2020-09-06 12:37:38 -05:00
Alex Gleason
6dc38adeaa
Chats: add upload button to chat input 2020-09-06 11:55:20 -05:00
Curtis ROck
3d282f45fa fixed toggle click state change bug 2020-09-06 05:13:44 -05:00
Curtis ROck
f3b44c5560 Render toggle for chats audio notifications 2020-09-05 21:16:14 -05:00
Alex Gleason
84e5175481
Chats: improve attachments, make modal work 2020-09-05 16:39:57 -05:00
Alex Gleason
d8d5186a01
Chats: basic display of attachments 2020-09-04 20:17:03 -05:00
Alex Gleason
8f1b11a394
Chats: move messages fetch logic into ChatMessageList 2020-09-04 18:10:24 -05:00
Alex Gleason
9da87405f8
Chats: improve the way messageIds are sorted 2020-09-04 18:03:38 -05:00
Alex Gleason
c595e393da
Chats: fix pagination bugs, use flex column-reverse 2020-09-04 17:19:26 -05:00
Alex Gleason
8e6a662fbb
Chats: fix error loading chatroom page 2020-09-04 17:16:23 -05:00
Alex Gleason
0e7132d25e
Chats: add the building blocks for pagination 2020-09-03 19:23:00 -05:00
Alex Gleason
9b55f813bb
Chats: mark read more aggresively on mobile, fixes #367 2020-09-03 14:47:04 -05:00
Alex Gleason
9d7b86935f
Chats: fetch chats in UI instead of chat list, fixes #384 2020-09-03 14:18:11 -05:00
Alex Gleason
57fc08771c
Chats: format content, fixes #382, related #380 2020-09-03 14:11:33 -05:00
Alex Gleason
2db5c67a49
Chats: parse custom emoji, #386 2020-09-03 13:48:15 -05:00
Alex Gleason
ddbe840453
Fix chat close error, fixes #378 2020-09-01 09:18:51 -05:00
Alex Gleason
70bd26526b
Chats: make links open in a new tab, fixes #371 2020-09-01 00:23:40 -05:00
Alex Gleason
8bfa77ddca
Chats: link avatar to account #359 2020-08-30 19:50:39 -05:00
Alex Gleason
445bb30ac0
Chats: display the last message in chats list, fixes #361 2020-08-30 19:31:09 -05:00
Alex Gleason
e3e57f8dc7
Chats: don't crash when there's an image post, fixes #369 2020-08-29 22:57:26 -05:00
Alex Gleason
399c2874bb
Chats: display recipient name in ChatRoom 2020-08-28 16:26:42 -05:00
Alex Gleason
46323e088a
Chats: rename ChatListAccount to just Chat 2020-08-28 13:28:11 -05:00
Alex Gleason
e7c6862fd0
Chats: refactor ChatBox into its own component 2020-08-28 13:17:19 -05:00
Alex Gleason
d67d76bf3a
Chats: only mark read on hover when the chat is open 2020-08-28 10:45:03 -05:00
Alex Gleason
942b3fdebe
Chats: add individual chat page for mobile 2020-08-27 22:46:48 -05:00
Alex Gleason
cd30d79b5b
Chats: render independent ChatIndex for mobile 2020-08-27 22:11:15 -05:00
Alex Gleason
e682c3db28
Chats: use textarea instead of input 2020-08-27 19:25:16 -05:00
Alex Gleason
3fbdce6901
Chats: mark as read when the input is focused 2020-08-27 18:06:25 -05:00
Alex Gleason
a349bce10f
Chats: show message date on hover 2020-08-27 17:27:37 -05:00
Alex Gleason
22063ae3c8
Chats: replace avatar with unread counter 2020-08-27 16:41:24 -05:00
Alex Gleason
f80f18d376
Chats: mark chats as read 2020-08-27 16:09:03 -05:00
Alex Gleason
ac028ed584
Chats: add unread counters to chats 2020-08-27 15:43:19 -05:00
Alex Gleason
020e21adcd
Oh right, maps can't be sorted... 2020-08-27 15:07:15 -05:00
Alex Gleason
14eec701cb
Chats: add empty chats message 2020-08-27 14:02:52 -05:00
Alex Gleason
44f7ad5e1c
Chats: sort chats in reducer instead of component 2020-08-27 13:45:37 -05:00
Alex Gleason
59c2029535
Chats: style pending messages 2020-08-27 12:51:35 -05:00
Alex Gleason
29f415d786
Chats: sort most recently updated chats to the top 2020-08-26 23:20:16 -05:00
Alex Gleason
4b173f0580
Chats: sort messages properly 2020-08-26 17:02:25 -05:00
Alex Gleason
759c4ae4d0
Fix chat submission 2020-08-26 16:54:44 -05:00
Alex Gleason
ecefab9956
Chats: get messages showing up again 2020-08-26 16:12:42 -05:00
Alex Gleason
5fc8b3ff3d
Chats: improve display of links and emoji 2020-08-26 00:33:26 -05:00
Alex Gleason
a296e6fcd1
Differentiate chat bubbles 2020-08-26 00:21:54 -05:00
Alex Gleason
c94258dfb9
Chats: improve scroll behavior 2020-08-25 22:12:08 -05:00
Alex Gleason
205078c865
Chats: focus input under some circumstances 2020-08-25 22:03:53 -05:00
Alex Gleason
dcaadb2153
Chats: autoscroll
https://stackoverflow.com/a/41700815
2020-08-25 21:45:05 -05:00
Alex Gleason
5a7cc14812
Chats: rudimentary sending a message 2020-08-25 21:31:34 -05:00
Alex Gleason
5373c5b1c4
Chats: start styling ChatWindow 2020-08-25 21:03:10 -05:00
Alex Gleason
cab490e1d3
Chats: display chat message content 2020-08-25 20:33:49 -05:00
Alex Gleason
a2cd0b7630
Chats: improve toggle surface area 2020-08-25 19:13:54 -05:00
Alex Gleason
0736e6d46c
Chats: Let main window be minimized 2020-08-25 18:53:36 -05:00
Alex Gleason
1c6c9f0f5d
Chats: Toggle pane open and minimized 2020-08-25 18:45:05 -05:00