Commit Graph

90 Commits

Author SHA1 Message Date
Audric Ackermann 291d4682e4
fix some tests 2020-11-25 09:14:22 +11:00
Audric Ackermann 9f14924e65
push toast if gif size is too big 2020-11-23 17:05:41 +11:00
Audric Ackermann f2074f502a
Uniformize size of accepted attachment to 10MB
Some image files can be scaled automatically, so this size is not the
same for them, they will just be scaled down
2020-11-23 16:25:20 +11:00
Audric Ackermann 97ff60f3bb
reset input for selecting file on file choosen on CompositionBox 2020-11-23 15:01:28 +11:00
Audric Ackermann a1d4dea845
fix scrolling to unread and marking message as read on scrolling
we need to hit the bottom for the convo to update currently

add smooth scrolling on click on quoted message
2020-11-23 10:48:36 +11:00
Audric Ackermann d533a3aca5
fix unread message banner for MessagesList 2020-11-20 12:17:42 +11:00
Audric Ackermann f8f15cb9f7
fix remove message for public groups 2020-11-19 13:26:59 +11:00
Audric Ackermann c203303c71
rename SessionConversationMessagesList to SessionMessagesList 2020-11-18 16:33:33 +11:00
Audric Ackermann b5af8eb215
Add Mentions with react-mentions 2020-11-18 15:27:13 +11:00
Audric Ackermann 0beb47e597
add messageDeleted redux action 2020-11-17 13:30:24 +11:00
Audric Ackermann e1548b66e4
enable back drag events as now the SessionConversation updates only 2020-11-17 11:55:01 +11:00
Audric Ackermann f9ab90fb71
link backbone message added to redux 2020-11-16 14:45:13 +11:00
Audric Ackermann 2f2eb2ad53
link back backbone conversation events to redux store 2020-11-13 17:17:48 +11:00
Audric Ackermann 918eeae275
move InboxView to react 2020-11-13 14:29:59 +11:00
Audric Ackermann f3430bdcb5
add toast on isBlocked, isKicked, ... for sending of messages 2020-11-12 14:39:37 +11:00
Audric Ackermann e45ce43e01
store messages currently loaded in convo on redux 2020-11-12 12:18:50 +11:00
Audric Ackermann 221f264de6
rename all saveMessage to message.commit() 2020-11-12 09:21:19 +11:00
Audric Ackermann 30f93b2ad3
remove conversation stack 2020-11-11 10:01:17 +11:00
Audric Ackermann b9c4394b27
SessionConversation, render MessageView if no conversationModel found 2020-11-11 09:44:04 +11:00
Audric Ackermann c039c89a26
remove resetMessageSelection() as unused and cleanup toast 2020-11-10 16:15:27 +11:00
Audric Ackermann 21a97ba0ec
fix deleteMessages from headermenu and load unread_count message on show 2020-11-09 11:58:51 +11:00
Audric Ackermann e613613416
show toast with react-toastify and make them a styled-component 2020-11-09 11:25:57 +11:00
Audric Ackermann 6fd8ea20c7
fix restoring of session after restore from seed 2020-11-06 14:44:04 +11:00
Audric Ackermann 3d11271471
fix position of unread banner on conversation (search for first read) 2020-11-05 12:11:03 +11:00
Audric Ackermann c0cf53cdfa
enable back the logic of displaying avatar for first message in serie 2020-11-04 17:43:45 +11:00
Audric Ackermann 0b4400837b
fix scroll to quoted message and contact display name of group updates 2020-11-04 16:55:52 +11:00
Audric Ackermann dfbcf3ac9b
do not remove convo when removing only message
use the user pubkey if group update notification with an unknown user
make GroupNotification a function component
2020-11-04 13:06:00 +11:00
Audric Ackermann aad2d3232a
be able to show right panel for users too (and display convo medias) 2020-11-04 09:44:06 +11:00
Audric Ackermann 3f538b9be1
render Session Verification Messages 2020-11-04 09:17:02 +11:00
Audric Ackermann dad9e5297c
make the last seen indicator work as expected 2020-11-02 14:03:11 +11:00
Audric Ackermann 35ad4cba24
add a react component to display last read message 2020-11-02 10:57:19 +11:00
Audric Ackermann 940ad57f83
rework the way unread count works
we no longer refresh on each message read, only once the whole
conversation is read.
2020-10-30 16:02:18 +11:00
Audric Ackermann 5a5d1d60c6
fix scroll hanging when scroll all the way up 2020-10-30 11:03:21 +11:00
Audric Ackermann dd93a849d7
cleanup duplicated code between Conversation and ConversationList 2020-10-30 10:59:24 +11:00
Audric Ackermann 96263b4d25
WIP 2020-10-30 08:27:35 +11:00
Audric Ackermann 387f8ff391
Update props of SessionConversation to only get the currently selected convo 2020-10-29 16:23:25 +11:00
Audric Ackermann 857bea50ea
enable back keyboard navigation on message list 2020-10-28 15:16:10 +11:00
Audric Ackermann 6edadaf3e9
message container use column reverse to order messages from bottom to
top
2020-10-28 14:28:10 +11:00
Audric Ackermann 12bf46e09e
use pushToast through ToastUtils when it's a static toast content 2020-10-27 12:56:32 +11:00
Audric Ackermann a0e5c7386f
delete messages needs to be called once the message is selected 2020-10-27 12:38:48 +11:00
Audric Ackermann a7c4ce77a1
enable back attachments download on context menu 2020-10-26 16:38:06 +11:00
Audric Ackermann f166ec814e
pass selectiomMode without selectedMessage props to ConversationHEader 2020-10-26 09:59:56 +11:00
Audric Ackermann 700a93362e
move drop file logic to SessionConversation component
Having it in another component was causing issues like not being able to
scroll on the conversation list even if the component was not shown
2020-10-21 15:51:13 +11:00
Audric Ackermann a7bdc93ca8
working drag and drop, but no scrolling on the conversation messages 2020-10-21 10:35:21 +11:00
Audric Ackermann 2a155a0f43
fix lightbox for single attachment display and download 2020-10-20 08:48:15 +11:00
Audric Ackermann fcf13c7467
relink lightbox from signal to our app 2020-10-19 15:23:35 +11:00
Audric Ackermann ddf41de3fb
add csp for image load from blob so attachments are loaded correctly 2020-10-19 09:35:16 +11:00
Audric Ackermann b1cac5f01b
fix ordering of message with more recent at bottom of the view 2020-10-16 15:12:41 +11:00
Audric Ackermann c41eaada25
move display of message list to a subcomponent 2020-10-16 14:54:31 +11:00
Audric Ackermann 026a1930ed
add a getOrThrow to ConversationController when we expect this convo 2020-10-15 17:19:49 +11:00