Audric Ackermann
032e7640e2
chore: address pr reviews
1 year ago
Audric Ackermann
037d87349f
fix: close messageInfo when message not in redux store
1 year ago
Audric Ackermann
24887dd05b
Merge branch 'feature/ses-145/leave-conversation-update' into userconfig_disappearingmessage
1 year ago
William Grant
aea4fd7ad9
Merge branch 'userconfig_disappearingmessage' into feature/ses-558/more-message-information
1 year ago
Audric Ackermann
5b704ebdc7
fix: bug with updatelastmessage not resetting when no msgs
...
also make fix the DaS expires_at so destroyExpiredMessages finds it
1 year ago
Audric Ackermann
543c80bbe3
fix: add most of new designs (own setting) for disappear v2 messages
1 year ago
Audric Ackermann
ad9fa6dbee
chore: remove lastChangetimestmap and add explciit expiretype and type
...
on the messages creation
1 year ago
Audric Ackermann
6e4052c4ab
fix: fix typo pushing new messages to redux store
1 year ago
Audric Ackermann
c7838952d7
fix: update redux mostRecentMessageid anytime a message changes/added
2 years ago
William Grant
55337ebd4d
feat: improved dotmenu
2 years ago
William Grant
c9a8ea2b81
feat: removed MessageDetails and added MessageInfo
...
added other components
2 years ago
William Grant
1d7380a254
refactor: rename expirationLength
...
to expirationDurationMs
2 years ago
William Grant
0212166fcc
feat: moved disappearing logic to a feature folder
...
only moved types and timerOptions so far
2 years ago
William Grant
250e3d0238
refactor: rename expirationType on convo to expirationMode
...
this means convo has expirationMode and messages have expirationType
2 years ago
William Grant
cd2f51684d
refactor: disappearingmessageconversationtype to disappearingmessageconversationmodetype
2 years ago
William Grant
43276b069e
Merge branch 'unstable' into userconfig_disappearingmessage
2 years ago
Audric Ackermann
84deed19f9
feat: add block msg requests from sogs
2 years ago
William Grant
41af1e7865
Merge branch 'unstable' into userconfig_disappearingmessage
2 years ago
Audric Ackermann
d43d6abbae
chore: replace tslint with eslint and fix linting issues
2 years ago
William Grant
ed2a372ca3
Merge branch 'unstable' into feature/ses-145/leave-conversation-update
2 years ago
William Grant
905fe5aab9
Merge branch 'unstable' into userconfig_disappearingmessage
2 years ago
William Grant
c08dcc7ec6
fix: when we receive and make a quote message do an in-memory lookup before looking in the db
...
this can fix original message not found errors when there are lot of unread messages and one of them is quoted
2 years ago
Audric Ackermann
9a7ef4d373
Merge branch 'unstable' into userconfig_disappearingmessage
2 years ago
Audric Ackermann
594eee698b
Merge remote-tracking branch 'upstream/clearnet' into unstable
2 years ago
William Grant
d37aa42084
Merge branch 'unstable' into feature/ses-145/leave-conversation-update
2 years ago
Audric Ackermann
5d2d901aa0
Merge remote-tracking branch 'upstream/unstable' into userconfig_disappearingmessage
2 years ago
Audric Ackermann
3eb629e33e
fix: cleanup convo selectors to hope to improve performances
2 years ago
Audric Ackermann
f2cddb83c8
chore: broke apart big Message selectors into smaller ones
2 years ago
William Grant
e7f3bb5abf
fix: if there is no last message, we still want to display the interaction status
...
loading state shows correctly in all cases, cleanup as well
2 years ago
William Grant
24776c0d5c
feat: moved convo model interaction props into the lastMessage logic
...
this makes it easier to interact with since if an interaction fails we save it to the db as a message
2 years ago
William Grant
027b412fb2
feat: save conversation interaction errors to a message history
2 years ago
William Grant
de614109d0
feat: added lastMessageId to convo model to uniquely identify a lastMessage
2 years ago
William Grant
454e382ce4
feat: moved interaction logic to use conversation model
...
added fail text color to interaction item
2 years ago
William Grant
8a7007e7c3
feat: added interaction properties to conversation modal and started UI changes in ConversationListItem based on confirming an interaction
...
still to to port the original modal checks to use thd convo props
2 years ago
Audric Ackermann
461b192f37
fix: mod and admin actions on message context menu for communities
2 years ago
Audric Ackermann
4637f4609a
Merge remote-tracking branch 'yougotwill/disappearing_messages' into userconfig_disappearingmessage
2 years ago
William Grant
f87995a375
fix: replaced Number() casting to toNumber
...
fixed edge case of local db search for quotes lookup
2 years ago
William Grant
321ce003f6
fix: updated quotes lookup explanation comment
2 years ago
William Grant
b91388a672
fix: SES-585 when the app is not focused message quotes now load correectly
...
we now look up the existing messages in memory if not found in the quote lookup map, we also allow jumping to messages quoted but not yet stored in memory
2 years ago
William Grant
3dc809783c
feat: added quotesProps to fetchmessage results types
2 years ago
William Grant
db5f2d8534
feat: created util funciton lookupQuote to read from the quote lookup map
...
this consolidates the key lookup logic to one place for future proofing
2 years ago
William Grant
fb51b20096
fix: cleanup TODOS
2 years ago
William Grant
d60d2c8c75
feat: quotes will show the authors name where possible
...
cleaned up extra author props on quote and created a hook instead
2 years ago
William Grant
e1a6f8e3fc
feat: cleaned up getPropsForQuote and rely on getMessageQuoteProps selector for creating quote object
...
authorName is broken for some reason and we will need to fix it
2 years ago
William Grant
92ed15c6c4
feat: pass yarn ready
2 years ago
William Grant
e90e548715
feat: improved quoted message not found
...
consolidated quote props lookup into getMessageQuoteProps, only use the db message in the quote components
2 years ago
William Grant
3bc187fa5e
feat: performance improvements to quote lookup
...
getMessagesByConversation optionally returns quotes from messages in view, quoted messages that are deleted are removed from the lookup map. getMessageBySenderAndSentAt supports an array of messages and renamed to getMessagesBySenderAndSentAt
2 years ago
William Grant
1ff2969750
refactor: rename getMessageBySenderAndTimestamp to getMessageBySenderAndSentAt
...
its more clear what parameters are needed
2 years ago
William Grant
1da8fd9f96
feat: load quote images correctly on first render
2 years ago
William Grant
acdeabf306
feat: fixed click on a quote to go to the original message
...
added animation support to attachments when opening it via a quote
2 years ago