Commit Graph

238 Commits (ad9fa6dbee2e5eadb741d0df67e5e8a550500038)

Author SHA1 Message Date
Audric Ackermann ad9fa6dbee chore: remove lastChangetimestmap and add explciit expiretype and type
on the messages creation
7 months ago
Audric Ackermann 6e4052c4ab fix: fix typo pushing new messages to redux store 7 months ago
Audric Ackermann c7838952d7 fix: update redux mostRecentMessageid anytime a message changes/added 8 months ago
William Grant 1d7380a254 refactor: rename expirationLength
to expirationDurationMs
8 months ago
William Grant 0212166fcc feat: moved disappearing logic to a feature folder
only moved types and timerOptions so far
8 months ago
William Grant 250e3d0238 refactor: rename expirationType on convo to expirationMode
this means convo has expirationMode and messages have expirationType
9 months ago
William Grant cd2f51684d refactor: disappearingmessageconversationtype to disappearingmessageconversationmodetype 9 months ago
William Grant 43276b069e Merge branch 'unstable' into userconfig_disappearingmessage 10 months ago
Audric Ackermann 84deed19f9 feat: add block msg requests from sogs 10 months ago
William Grant 41af1e7865 Merge branch 'unstable' into userconfig_disappearingmessage 11 months ago
Audric Ackermann d43d6abbae chore: replace tslint with eslint and fix linting issues 11 months ago
William Grant 905fe5aab9 Merge branch 'unstable' into userconfig_disappearingmessage 11 months 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
11 months ago
Audric Ackermann 9a7ef4d373 Merge branch 'unstable' into userconfig_disappearingmessage 12 months ago
Audric Ackermann 594eee698b Merge remote-tracking branch 'upstream/clearnet' into unstable 12 months ago
Audric Ackermann 5d2d901aa0 Merge remote-tracking branch 'upstream/unstable' into userconfig_disappearingmessage 12 months ago
Audric Ackermann 3eb629e33e fix: cleanup convo selectors to hope to improve performances 1 year ago
Audric Ackermann f2cddb83c8 chore: broke apart big Message selectors into smaller ones 1 year ago
Audric Ackermann 461b192f37 fix: mod and admin actions on message context menu for communities 1 year ago
Audric Ackermann 4637f4609a Merge remote-tracking branch 'yougotwill/disappearing_messages' into userconfig_disappearingmessage 1 year ago
William Grant f87995a375 fix: replaced Number() casting to toNumber
fixed edge case of local db search for quotes lookup
1 year ago
William Grant 321ce003f6 fix: updated quotes lookup explanation comment 1 year 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
1 year ago
William Grant 3dc809783c feat: added quotesProps to fetchmessage results types 1 year 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
1 year ago
William Grant fb51b20096 fix: cleanup TODOS 1 year 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
1 year 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
1 year ago
William Grant 92ed15c6c4 feat: pass yarn ready 1 year 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
1 year 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
1 year ago
William Grant 1ff2969750 refactor: rename getMessageBySenderAndTimestamp to getMessageBySenderAndSentAt
its more clear what parameters are needed
1 year ago
William Grant 1da8fd9f96 feat: load quote images correctly on first render 1 year 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
1 year ago
William Grant 1609ebfe32 feat: separated quote components
removed reference warning component since it is no longer needed
1 year ago
William Grant ab1cf7a658 feat: added propsForQuote to message model props 1 year ago
William Grant 331a4e1e12 fix: resolved object is not extensible bug
forEach and async still don't play nice so used a regular for loop, added QuoteLookupType
1 year ago
William Grant a83bc64d0a feat: added quote source data to the conversation state as a separate object
this should help performance when loading quotes in the UI since individual db lookups will no longer be required
1 year ago
William Grant 0d5c72555b feat: started updating reply to ui
finished text reply
1 year ago
William Grant 5d4238a3d8 feat: created getMessageExpirationProps selector and used in ExpirableReadableMessage
this stops us passing props down from the child components of ExpirableReadableMessage
1 year ago
Audric Ackermann 6f6620f622 fix: skip new group messages when receved after group was removed 1 year ago
William Grant ec3f62d12f fix: updated child types from PropsExpiringMessges
use type and the ampersand operator instead of the interface with extends for better consistency with the rest of the code base
1 year ago
William Grant 93cb972514 feat: updated hasOutdatedClient to track last user to send a legacy message
this makes the banner work properlly in closed groups
1 year ago
William Grant bd900128f4 feat: added hasOutdated Client to convo model, use feature release check to process disappearing messages
trigger banner when receiving a legacy disappearing message via hasOutdatedClient
1 year ago
William Grant 97ecc9e521 feat: fixed double expiration update message issue
started creating an inheritable expiration message class, improved start triggering logic
1 year ago
William Grant 5c697572a7 feat: Call Notifications now expire properlly
include the direction in the expiration props, setting the start timer doesnt directly update the model
1 year ago
William Grant 4ef3537a53 feat: timer notifications expire correctly when disappearing after sending 1 year ago
William Grant 2d6d6b4134 feat: moved PropsForExpiringMessage to state ducks 1 year ago
William Grant 13f091eff3 feat: added function for calculating the expire start time
updated copy for setting change messages
1 year ago
William Grant 0700ac4813 fix: moved disappearing message types to utils 1 year ago