Commit graph

114 commits

Author SHA1 Message Date
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
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
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
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
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