Commit graph

132 commits

Author SHA1 Message Date
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
1fd15ac977
Make SettingsView refresh on conversation change 2020-11-19 14:57:26 +11:00
Audric Ackermann
a695528d09
focus composition box on attachment added 2020-11-19 14:31:34 +11:00
Audric Ackermann
7a81c78382
focus composition box on conversation change 2020-11-19 14:26:36 +11:00
Audric Ackermann
f8f15cb9f7
fix remove message for public groups 2020-11-19 13:26:59 +11:00
Audric Ackermann
1503d83f3a
add ourPrimary convo to redux and update the actionPanel with it 2020-11-18 18:48:20 +11:00
Audric Ackermann
c203303c71
rename SessionConversationMessagesList to SessionMessagesList 2020-11-18 16:33:33 +11:00
Audric Ackermann
935f00934b
add a key to all messages printed in SessionMessagesList 2020-11-18 16:32:08 +11:00
Audric Ackermann
c9e81454fb
make mentions work in react when emoji inserted inside at a rand pos 2020-11-18 16:26:41 +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
6e14718a32
reactity the expired Session version warning 2020-11-16 17:33:09 +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
2ae7a6dfe5
cleanup message.js and conversation_view.js 2020-11-12 15:40:07 +11:00
Audric Ackermann
d94d2819ce
use placeholder when convo blocked in composition box 2020-11-12 15:10:37 +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
5122433eb4
remove message_list_view.js and replace saveMessage with a commit() 2020-11-12 09:10:51 +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
72b6538679
render unreadBanner at top of the message list if unread is not found 2020-11-06 15:17:52 +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
07c384aa0d
render GroupNotification messages 2020-10-30 10:24:53 +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
ef3f3d0af5
enable back link previews in sent message 2020-10-28 14:11:57 +11:00