Commit Graph

665 Commits (208d9cc0eb411cacf20a53a8d8dc0e58982883a9)

Author SHA1 Message Date
Audric Ackermann f65895f013
Merge pull request #2955 from KeeJef/settings-update
feat: Allow enter to break line in settings
1 year ago
Audric Ackermann 4cbc452f26 fix: avatar style for incoming messages in groups
had to refactor a fair bit, but well...
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 1 year ago
Kee Jefferys 5571471bbe fix: update selector usage and theme checking code 1 year ago
Kee Jefferys 2fe29ca30e feat: implement setting to follow system theme
feat: check theme congruence on startup and on native theme update

fix: make toggle and startup following work

fix: should return here, but this breaks things
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 3bf3bf73b1 feat: updated MessageContent with nested components 2 years ago
William Grant 22b0ab5f2f feat: updated panel buttons
add params to panel state to be used in future, not tested yet
2 years ago
Kee Jefferys 143753566d feat: alias saved messages with note to self 2 years ago
William Grant 9fb67f20c2 refactor: moved getMessageExpirationProps
into useParamSelector since it is only called there
2 years ago
William Grant 730641a14d feat: added todo to section duck
we want to move it into a redux slice in future
2 years ago
William Grant 1d7380a254 refactor: rename expirationLength
to expirationDurationMs
2 years ago
Kee Jefferys 6b78cc1d4b fix: ensure default value is provided 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 b471900a18 feat: move timer options out of redux 2 years ago
William Grant 851eca36e3 feat: use custom hook useRightOverlayMode 2 years ago
William Grant d6cc4f9c75 feat: use custom hook useIsRightPanelShowing
in functional components
2 years ago
Keejef 95117afeea fix: Refactor settings to use Redux
Refactor setting to use boolean which is stored in redux
2 years ago
William Grant ca7983caac fix: align expire timers with the member avatars
in groups
2 years ago
William Grant fd73787192 feat: anyone in a group can change the setting
before the v2 release
2 years ago
William Grant 029db2d73f refactor: useselectedconversationexpirationtype to useselectedconversationdisappearingmode 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 ad21d198cf feat: outdated banner now shows specific messaging for synced messages 2 years ago
William Grant f2a3f51250 fix: cleanup 2 years ago
William Grant 85f270b67a Merge branch 'unstable' into userconfig_disappearingmessage 2 years ago
William Grant 9d8cca1970 feat: convert between conversation and message model disappearing modes in key locations
remove disappearing messages from convo header context menu
2 years ago
Audric Ackermann 70b220400c
Merge pull request #2869 from Bilb/feature/ses-476/remove-profile-picture
Feature/ses 476/remove profile picture
2 years ago
William Grant ff19c95a92 fix: remove using legacy as a string for disappearing messages except in the UI
created new isLegacyDisappearingModeEnabled check, default use UNKNOWN expiration type in message classes if not defined
2 years ago
Audric Ackermann bc081df17d Merge branch 'unstable' into feature/ses-476/remove-profile-picture 2 years ago
Audric Ackermann bee00157ef Merge remote-tracking branch 'yougotwill/feature/ses-379/composition-rtl-support' into feature/ses-379/composition-rtl-support 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 20e1895a50 fix: restored getMessageExpirationProps 2 years ago
William Grant 5285d4240a fix: resolved missing selected conversation hooks imports 2 years ago
William Grant 41af1e7865 Merge branch 'unstable' into userconfig_disappearingmessage 2 years ago
Audric Ackermann 41ca0666ce chore: remove () => void for misused promises 2 years ago
William Grant aad3a3aba2 fix: resolved missing selected conversation hooks
still need to fix more issues
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 178ea03af7 fix: cleanup 2 years ago
William Grant b00eb52d35 fix: pass yarn ready 2 years ago
William Grant 977dbea9dc refactor: rename DisplayPictureModal to EditProfilePictureModal 2 years ago
William Grant 88587a203d feat: added button state logic and migrated avatar upload logic from EditProfileDialog
show loading spinner while avatar is loading
2 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
2 years ago
William Grant 905fe5aab9 Merge branch 'unstable' into userconfig_disappearingmessage 2 years ago
Audric Ackermann 77acd1396b feat: add support for blinded25 receipt of messages for later impl 2 years ago
Audric Ackermann 97647d4dc7 fix: padding for messagebox + onclick drop while selecting msgs 2 years ago
Audric Ackermann 959c494cfb 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 c6d86d25d8 fix: cleanup closed group avatar logic 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 1d9279c79c chore: merge conversation selectors into a single file
as the circular dependency was causing a createSelector called with
undefined issue on startup without user loggedin
2 years ago
Audric Ackermann 5d2d901aa0 Merge remote-tracking branch 'upstream/unstable' into userconfig_disappearingmessage 2 years ago
Audric Ackermann 43badfa134 fix: virtualize list of search result so input typing is fast 2 years ago
William Grant 83f84c26e7 feat: changed getHTMLDirection into a util hook useHTMLDirection 2 years ago
William Grant 61149a5ca3 feat: use a selector for htmlDirection and pass it down as props instead of using state
this is more inline with class component conventions
2 years ago
Audric Ackermann dc3e8450e9 fix: memoize selected conversation props to avoid unneeded rerenders 2 years ago
William Grant ac4a00d415 fix: remove unused selector 2 years ago
William Grant 7be11cd973 feat: moved html direction logic into i18n util
updated Flex component with RTL support, create getWritingDirection selector
2 years ago
William Grant 7542a42fa6 feat: started adding rtl support to composition input
updated buttons, emoji panel, @mentions
2 years ago
Audric Ackermann fed58161a0 fix: address PR reviews and optimize search results 2 years ago
Audric Ackermann bec667ebee fix: remove row_number ordering when looking up message 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 45b904ce8c feat: if we fail to leave a conversation then change to delete conversation and remove the group from the db 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 9cd95bbcf1 fix: remove AdminLeaveClosedGroupDialog
added new leave group dialog strings
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 0fa58a5654 chore: fix compilation issues after conflicts resolution 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 16b394dbee fix: SES-597 quoting your own message now works correctly in communities 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 70156c33b3 fix: simplify checking isFromMe for communities in getMessageQuoteProps selector 2 years ago
William Grant 391db5590e fix: replace controller lookup with redux conversation lookup in getMessageQuoteProps
this is more performance and relies on the latest redux state
2 years ago
William Grant a204464723 fix: move quote not found comment for better context 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 aa3855e49f feat: getConversationQuotes selector for memoising quotes lookup state 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 d706ecdead fix: show authorName in reply ui 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