Commit Graph

461 Commits (03df7bad5b81c37d280cea4e45b94d4656cb0a1c)

Author SHA1 Message Date
William Grant cd2f51684d refactor: disappearingmessageconversationtype to disappearingmessageconversationmodetype 2 years ago
William Grant ad21d198cf feat: outdated banner now shows specific messaging for synced messages 2 years ago
William Grant 85f270b67a Merge branch 'unstable' into userconfig_disappearingmessage 3 years ago
Audric Ackermann bc081df17d Merge branch 'unstable' into feature/ses-476/remove-profile-picture 3 years ago
William Grant 43276b069e Merge branch 'unstable' into userconfig_disappearingmessage 3 years ago
Audric Ackermann 84deed19f9 feat: add block msg requests from sogs 3 years ago
William Grant 41af1e7865 Merge branch 'unstable' into userconfig_disappearingmessage 3 years ago
Audric Ackermann 41ca0666ce chore: remove () => void for misused promises 3 years ago
Audric Ackermann d43d6abbae chore: replace tslint with eslint and fix linting issues 3 years ago
William Grant ed2a372ca3 Merge branch 'unstable' into feature/ses-145/leave-conversation-update 3 years ago
William Grant 178ea03af7 fix: cleanup 3 years ago
William Grant 977dbea9dc refactor: rename DisplayPictureModal to EditProfilePictureModal 3 years ago
William Grant 88587a203d feat: added button state logic and migrated avatar upload logic from EditProfileDialog
show loading spinner while avatar is loading
3 years ago
William Grant ebeaec2080 feat: initial work for set display picture modal done
still need to do logic and handle multiple modals on screen
3 years ago
William Grant 905fe5aab9 Merge branch 'unstable' into userconfig_disappearingmessage 3 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
3 years ago
Audric Ackermann 9a7ef4d373 Merge branch 'unstable' into userconfig_disappearingmessage 3 years ago
Audric Ackermann 594eee698b Merge remote-tracking branch 'upstream/clearnet' into unstable 3 years ago
William Grant d37aa42084 Merge branch 'unstable' into feature/ses-145/leave-conversation-update 3 years ago
Audric Ackermann 5d2d901aa0 Merge remote-tracking branch 'upstream/unstable' into userconfig_disappearingmessage 3 years ago
Audric Ackermann 3eb629e33e fix: cleanup convo selectors to hope to improve performances 3 years ago
Audric Ackermann f2cddb83c8 chore: broke apart big Message selectors into smaller ones 3 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
3 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
3 years ago
William Grant 027b412fb2 feat: save conversation interaction errors to a message history 3 years ago
William Grant 9cd95bbcf1 fix: remove AdminLeaveClosedGroupDialog
added new leave group dialog strings
3 years ago
William Grant de614109d0 feat: added lastMessageId to convo model to uniquely identify a lastMessage 3 years ago
William Grant 454e382ce4 feat: moved interaction logic to use conversation model
added fail text color to interaction item
3 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
3 years ago
Audric Ackermann 461b192f37 fix: mod and admin actions on message context menu for communities 3 years ago
Audric Ackermann 4637f4609a Merge remote-tracking branch 'yougotwill/disappearing_messages' into userconfig_disappearingmessage 3 years ago
William Grant f87995a375 fix: replaced Number() casting to toNumber
fixed edge case of local db search for quotes lookup
3 years ago
William Grant 321ce003f6 fix: updated quotes lookup explanation comment 3 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
3 years ago
William Grant 3dc809783c feat: added quotesProps to fetchmessage results types 3 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
3 years ago
William Grant fb51b20096 fix: cleanup TODOS 3 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
3 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
3 years ago
William Grant 92ed15c6c4 feat: pass yarn ready 3 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
3 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
3 years ago
William Grant 1ff2969750 refactor: rename getMessageBySenderAndTimestamp to getMessageBySenderAndSentAt
its more clear what parameters are needed
3 years ago
William Grant 1da8fd9f96 feat: load quote images correctly on first render 3 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
3 years ago
William Grant 1609ebfe32 feat: separated quote components
removed reference warning component since it is no longer needed
3 years ago
William Grant ab1cf7a658 feat: added propsForQuote to message model props 3 years 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
3 years 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
3 years ago
William Grant 0d5c72555b feat: started updating reply to ui
finished text reply
3 years ago
William Grant 5d4238a3d8 feat: created getMessageExpirationProps selector and used in ExpirableReadableMessage
this stops us passing props down from the child components of ExpirableReadableMessage
3 years ago
William Grant dd40fba132 fix: remove panel-settings panel mode since it is not needed 3 years ago
Audric Ackermann 6f6620f622 fix: skip new group messages when receved after group was removed 3 years ago
Audric Ackermann ce186517a3 chore: lint code 3 years 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
3 years 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
3 years 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
3 years ago
William Grant 97ecc9e521 feat: fixed double expiration update message issue
started creating an inheritable expiration message class, improved start triggering logic
3 years 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
3 years ago
William Grant 4ef3537a53 feat: timer notifications expire correctly when disappearing after sending 3 years ago
William Grant 2d6d6b4134 feat: moved PropsForExpiringMessage to state ducks 3 years ago
William Grant 13f091eff3 feat: added function for calculating the expire start time
updated copy for setting change messages
3 years ago
William Grant 0700ac4813 fix: moved disappearing message types to utils 3 years ago
William Grant b12d086b22 feat: DisappearingMessageType -> DisappearingMessageConversationType
this is more explicit and allows use to use DisappearingMessageType in the message model
3 years ago
William Grant 30196a131a feat: added basic support for different disappearing message modes
added expirationType and lastDisappearingMessageChangeTimestamp to conversations table, left a few comments for future work
3 years ago
William Grant 8abd624c47 feat: updated right panel in a conversation to use overlay logic in preparation for disappearing messages
added panel buttons specific to this UI
3 years ago
Audric Ackermann 0e286142f1 chore: add a redux settings slice, currently outdated banner inc 3 years ago
Audric Ackermann 3ecc89fab3 Merge remote-tracking branch 'upstream/master' into onboarding 3 years ago
Audric Ackermann 55a2767fce feat: do not approve a convo before sending the first message
but still sync it's state through the createdAt with libsession util
3 years ago
Audric Ackermann faeb95fefd feat: add block/decline logic to msg request & wrapper 3 years ago
Audric Ackermann ef6d9f1d51 feat: add empty states for each types of convo 3 years ago
Audric Ackermann 3ff7281b6a chore: remove isGroup from the redux stored entry
as it is always = !isPrivate
3 years ago
Audric Ackermann f3975b545a feat: use priority for hidden and pinned conversation 3 years ago
Audric Ackermann c3e9d503e4 fix: unread count and forced unread is synced 3 years ago
Audric Ackermann 1c50aacc34 chore: remove groupModerators sogs from the db, store in redux only 3 years ago
Audric Ackermann bf2456df8e chore: do not store mentionedUs and unreadCount as attribute in convo 3 years ago
Audric Ackermann f5efb52fea feat: remove closedgroupv3 uneeded stuff for now
also move the room stuff which can be kept in memory into another redux
slice
3 years ago
Audric Ackermann 3c58f9c1e4 feat: add a hidden flag for convos and use it with the contactswrapper 3 years ago
mdPlusPlus 1d6ed17ac7 Fix typos via codespell 3 years ago
Audric Ackermann 22329bc745 chore: cleanup FIXMEs and remove sig_timestamp as we cannot rely on it
we use timestamp instead of sig_timestamp for store requests
3 years ago
Audric Ackermann 2a8d764bfb fix tests 3 years ago
Audric Ackermann 32e00227a4
Merge pull request #2532 from Bilb/fix-deleted-messages-all-at-once
To merge once theming is done: handle deleted messages & deleted reacts all at once
3 years ago
Audric Ackermann e3006ae157 fix: do not return updated messages from markAllRead if not needed 3 years ago
William Grant 557c2b8d28 feat: classic-dark is now the default theme 3 years ago
William Grant 2f0e993af3 feat: moved constants into a constants folder 3 years ago
Audric Ackermann 0cc7994c12 fix: speed up expiration/deletion of messages by batching updates in UI 3 years ago
Audric Ackermann f4c91d0c91 fix: link preview rendering 3 years ago
Audric Ackermann e62c1599a5 Merge branch 'clearnet' into feat-move-attachments-outside-messagebox 3 years ago
William Grant e14f4832aa feat: added primaryColor to the redux store 3 years ago
William Grant e575bed6ea feat: added sun icon for light color mode
renamed SectionType Moon to ColorMode
3 years ago
William Grant edefa21a2b feat: we can now toggle to the classic dark theme
fixed ocean dark colors and updating theme setting logic
3 years ago
William Grant a54fb65d0b Merge branch 'theming' into theming_left_pane 3 years ago
William Grant 3c4fc8d919 Merge branch 'clearnet' into theming 3 years ago
Audric Ackermann 17742539af fix: disable typing and message request on sogs without `write` 3 years ago
William Grant 9ee89fd099 feat: made more progress with left pane and left more comments 3 years ago
William Grant 6cd81e06f2 Merge branch 'ui-redesigns' into theming 3 years ago
Audric Ackermann 3ffc470c40 fix: address reviews comment 3 years ago
Audric Ackermann 1d45aa6f45 fix: show loading spinner while sogs is fetching initial messages 4 years ago
Audric Ackermann e464d6c573 Merge branch 'settings-redesign' into feature-menu-redesign 4 years ago
Audric Ackermann ffc4ca9f81 fix: do not autofocus settings section by default but Message 4 years ago