Commit graph

445 commits

Author SHA1 Message Date
Alex Gleason
d273947f70
Fix chatEmojiReactions feature gating 2023-02-14 11:41:27 -06:00
Alex Gleason
14efff51ff
Merge remote-tracking branch 'origin/develop' into multiple-attachments 2023-02-14 09:24:12 -06:00
Alex Gleason
04ae0f2ee4
ChatMessage: remove testid from emoji button resulting in failing test 2023-02-13 14:46:15 -06:00
Alex Gleason
45657c7a2a
EmojiSelector: pass offset as a prop 2023-02-13 13:17:05 -06:00
Chewbacca
0b9fe2cfca Merge branch 'hoverable-menu' into 'develop'
Add new hoverable menu for Chat Messages (and rebuild DropdownMenu component with Popper)

See merge request soapbox-pub/soapbox!2274
2023-02-13 17:32:02 +00:00
Alex Gleason
cc2eafdfac
Merge remote-tracking branch 'origin/develop' into react-any-emoji 2023-02-12 20:30:33 -06:00
7759f64fed Chats: reset chat message field height after sending a message
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2023-02-12 22:23:44 +01:00
Chewbacca
60d7ff8395 Re-build dropdown-menu using FloatingUI 2023-02-10 13:17:39 -05:00
Chewbacca
17684571af Update hoverable menu on Chat Messages 2023-02-09 12:42:00 -05:00
Alex Gleason
e2e3af4a8b
Don't allow reacting with any emoji to a chat for now 2023-02-08 20:28:44 -06:00
Alex Gleason
50457d3b8d
Chats: disable adding media (and submitting) while media is uploading 2023-02-08 13:07:54 -06:00
Chewbacca
3ca491c03f classNames -> clsx 2023-02-08 14:06:41 -05:00
Alex Gleason
6eadaf2942
CHats: fix deleting a specific attachment 2023-02-08 13:02:48 -06:00
Alex Gleason
64f17ef013
ChatTextarea: add gaps between uploads, put pending upload at end of list 2023-02-08 12:53:07 -06:00
Alex Gleason
072e058764
ChatUploadPreview: support gif attachments 2023-02-08 12:50:18 -06:00
Alex Gleason
ef5001d38b
Chats: support multiple attachments 2023-02-08 12:30:20 -06:00
Chewbacca
e255bfac3d Improve Emoji Reactions and add support for Chat Reactions 2023-02-08 12:58:01 -05:00
Alex Gleason
e3f168f050
Merge remote-tracking branch 'origin/develop' into chat-composer 2023-02-06 14:25:37 -06:00
Alex Gleason
785612691a
yarn lint:js --fix 2023-02-06 12:06:44 -06:00
Alex Gleason
701215d7bc
classNames() --> clsx() 2023-02-06 12:05:19 -06:00
Alex Gleason
89d55b1b70
ChatComposer: shrink "x" icon, fix pending upload jump 2023-02-06 11:30:36 -06:00
Alex Gleason
25277b0b73
Merge remote-tracking branch 'origin/develop' into chat-composer 2023-02-03 12:03:45 -06:00
Alex Gleason
4c025bb2bc
Refactor ProgressBar 2023-02-02 18:03:22 -06:00
Alex Gleason
e203e0d0d2
Chats: move uploading progress into the composer text box 2023-02-02 17:37:37 -06:00
Alex Gleason
1b8d118217
Chats: support displaying multiple attachments 2023-02-02 14:43:47 -06:00
Alex Gleason
7fe4b34e6f
Add type-aware UploadPreview component, fix ChatComposer bg on dark mode 2023-02-02 14:20:40 -06:00
Alex Gleason
ec634f4fa1
ChatUpload: allow clicking upload to view in modal 2023-02-02 13:54:36 -06:00
Alex Gleason
cb715f4f05
ChatUpload: ensure X icon is always white 2023-02-02 13:33:18 -06:00
Alex Gleason
747868edb3
ChatTextarea: fix focus border and ring styles 2023-02-02 13:27:38 -06:00
Alex Gleason
ea8561ca19
ChatUpload: add blurhash 2023-02-02 13:06:27 -06:00
Alex Gleason
0d99ae5daa
yarn lint:js --fix 2023-02-01 16:13:42 -06:00
Alex Gleason
382bc6732d
Merge remote-tracking branch 'origin/develop' into chat-composer 2023-02-01 15:28:33 -06:00
1f39ddf0ec Merge remote-tracking branch 'soapbox/develop' into mastodon-groups
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2023-01-27 23:07:26 +01:00
Alex Gleason
7b32373694
Move chat attachments into composer 2023-01-26 12:30:26 -06:00
Alex Gleason
382e464390
Move chat attachments into the chat composer 2023-01-25 15:45:33 -06:00
88e2c011a1 i18n: handle plurals
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2023-01-24 00:08:51 +01:00
Alex Gleason
e2a4bfc632
Chats: fix bubble corner for other person's message 2023-01-20 13:08:10 -06:00
Alex Gleason
58cf71ceda
ChatMessageList: fix regression with links not wrapping 2023-01-20 11:56:50 -06:00
Alex Gleason
ec0a3d6eea
Chats: actually, do use a paperclip 2023-01-20 11:53:10 -06:00
Alex Gleason
af1ad92432
Chats: use plus icon to upload attachment 2023-01-20 11:29:40 -06:00
Alex Gleason
f222491b3e
ChatMessageList: sharpen top-right corner of bubble when there's an attachment 2023-01-20 11:13:54 -06:00
Alex Gleason
f823690b7e
Chats: don't display "copy" button if there's no text to copy 2023-01-17 14:34:31 -06:00
Alex Gleason
687fcdc294
Chats: improve design of attachments, fix sizing bug 2023-01-17 14:33:04 -06:00
Alex Gleason
edfece4ac0
Merge remote-tracking branch 'origin/develop' into types-react 2023-01-13 09:56:20 -06:00
Chewbacca
c3595ea15b Chats: fix jumpy scrollbar
Fixes: https://gitlab.com/soapbox-pub/soapbox/-/issues/1315

Co-authored-by: Alex Gleason <alex@alexgleason.me>
2023-01-11 11:13:56 -05:00
Alex Gleason
5e22d1169f
Upgrade @types/react to v18 2023-01-10 17:03:15 -06:00
Alex Gleason
5083096d1f
ChatPage: useLayoutEffect 2023-01-06 11:51:47 -06:00
Alex Gleason
bd9bad9a4c
Fix ChatPage tests 2023-01-05 17:22:59 -06:00
03349abc37 Merge remote-tracking branch 'soapbox/develop' into cleanup 2022-12-31 19:52:03 +01:00
e167ec8b6e Mark some strings as translatable
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-12-30 22:49:29 +01:00