Commit Graph

126 Commits (1b6abb8b59fc60210fc5b6fb3bb2375a6d1ab132)

Author SHA1 Message Date
William Grant aea4fd7ad9 Merge branch 'userconfig_disappearingmessage' into feature/ses-558/more-message-information 1 year ago
Audric Ackermann 744283fc56 fix: changed some message control to not expire
still some to discuss with the team
1 year ago
Audric Ackermann 543c80bbe3 fix: add most of new designs (own setting) for disappear v2 messages 1 year ago
Audric Ackermann e198d7a640 fix: do not auto switch to non-legacy on overlay opening
when v2 is released we don't want to auto switch the overlay right panel
anymore
2 years ago
Audric Ackermann 596d443ae8 chore: datatestid cannot start with a digit (I told you so) 2 years ago
Audric Ackermann 1a53f699b4 Revert "fix: move right panel buttons to a panelbuttongroup"
This reverts commit e6dd6844f9.
2 years ago
Audric Ackermann f796c59cef chore: add missing accessibilityIds for menu buttons/radio 2 years ago
Audric Ackermann e6dd6844f9 fix: move right panel buttons to a panelbuttongroup
also enforce a 300 min width for the right panel, otherwise the bloaded
disappearing message design is not looking good
2 years ago
William Grant 461a23337f fix: alignment message correctly in detail view 2 years ago
William Grant f64f88c013 feat: new useDisappearingMessageSettingText hook
fixed styling on panel components
2 years ago
William Grant 2631b93199 feat: load OverlayMessageInfo 2 years ago
William Grant 55337ebd4d feat: improved dotmenu 2 years ago
William Grant 1f52b9620b feat: wip work 2 years ago
William Grant c9a8ea2b81 feat: removed MessageDetails and added MessageInfo
added other 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
William Grant 058ab3ea7e fix: remove unneeded handleSetTime
in OverlayDisappearingMessages
2 years ago
William Grant 294e38fe57 feat: extra legacy useEffects into custom hooks
for OverlayDisappearingMessages
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 e66e9961e1 fix: use precasted variables for modes
for DisappearingMessageConversationModeType references
2 years ago
William Grant cafa9d80ec fix: remove all unneeded tslint comments
fixed some eslint errors
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
William Grant 9b8bd6fe79 fix: removed noBackgroundColor from panel buttons 2 years ago
William Grant bea539e669 feat: when v2 is released migration legacy convos
use the default mode and timer value for the convo type
2 years ago
William Grant fd73787192 feat: anyone in a group can change the setting
before the v2 release
2 years ago
William Grant 251f2e1d37 fix: single mode is off by default 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 3ba1baaa67 fix: single mode value should be off
if disappearing messages isnt on
2 years ago
William Grant ab13f39a10 fix: newlines for logging 2 years ago
William Grant 3d2c1fbe78 fix: single mode should show the correct timer values
if a mode is invalid we return no timer options
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
William Grant 60b75a8ddf feat: remove unlockNewModes from OverlayDisappearingMessages
use isDisappearMessageV2FeatureReleasedCached to set the mode to legacy strictly in the UI, created resolveLegacyDisappearingMode to change the legacy mode into the default mode for a conversation
2 years ago
William Grant 82e396dca6 feat: remove useEffect on right panel and use hook for checking is v2 is released 2 years ago
William Grant 2a6d8a6544 feat: remove legacy from expirationType during db migration
fix migrations to work with user config changes
2 years ago
William Grant d794b0a0d4 fix: comment out user config disappearing messages stuff for now 2 years ago
William Grant 41af1e7865 Merge branch 'unstable' into userconfig_disappearingmessage 2 years ago
William Grant aad3a3aba2 fix: resolved missing selected conversation hooks
still need to fix more issues
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 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 5cd4bf1b6f fix: changed timer options dataTestId to use seconds and not the name
since we need an id unaffected by localisation
2 years ago
William Grant 996f1d0cb1 fix: disappearing modes loadDataTestId should return in switch cases 2 years ago
William Grant 8fb3f26376 feat: make timer value load an existing one from the conversation or the default
fixed session radio button flickering
2 years ago
William Grant f41c28a873 fix: moved feature release timestamp to constants so it only has to be defined once 2 years ago
William Grant dd40fba132 fix: remove panel-settings panel mode since it is not needed 2 years ago
William Grant a1a3d68e45 feat: added data test ids 2 years ago
William Grant 96ae50869f feat: added PropsForExpirationSettings type 2 years ago
William Grant 42924b0c54 fix: use storage put instead of data methods so that we can track in redux
added a fix in OverlayDisappearingMessages so when v2 turns on an and the app is running a migration occurs
2 years ago
William Grant c1c380ba9d fix: remove unecessary any type from TimerOptions 2 years ago
William Grant dadc93bfda fix: remove unecessary useCallback for feature releaser 2 years ago
William Grant 1d6f200d50 fix: pass yarn ready 2 years ago
William Grant 162e66876e feat: added single mode view for closed groups and note to self 2 years ago
William Grant f3f83505e0 fix: duplicate copy 2 years ago
William Grant a928aeb76c feat: improvements to the disabled state and group non-admins settings
separated components in OverlayDisappearingMessages
2 years ago
William Grant b6c3edbac4 fix: pass yarn ready 2 years ago
William Grant ea0a505dcf fix: fixed state of overlay options depending on release status 2 years ago
William Grant 80f18e9f1c feat: use correct timer options and set the defaults 2 years ago
William Grant 848c97938c feat: disabled new disappearing message modes behind a timed feature release function 2 years ago
William Grant 190c68d759 feat: added disabled state to right panel components 2 years ago
William Grant 7d0673f7f2 wip: added new legacy mode to panel, improved backwards compatibility
legacy mode support in conversation header, added typing for the expireUpdate, next is sending support
2 years ago
William Grant e34e3d4a4b fix: resolved some yarn ready issues 2 years ago
William Grant 8dc7dac55e feat: control available modes depending on the conversation 2 years ago
William Grant 4731139b05 feat: added default timer values for different modes 2 years ago
William Grant 2745571790 fix: correctly write to db when setting changes 2 years ago
William Grant 0700ac4813 fix: moved disappearing message types to utils 2 years ago
William Grant b12d086b22 feat: DisappearingMessageType -> DisappearingMessageConversationType
this is more explicit and allows use to use DisappearingMessageType in the message model
2 years ago
William Grant f4e5d89a15 fix: make sure to update state when the covnersation changes 2 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
2 years ago
William Grant ecfd69f3f0 feat: made right panel scrollable, added subtitle to panelradiobutton and xl margin option 2 years ago
William Grant 6b06e4a70b feat: added panel label for timer options 2 years ago
William Grant 46a8801d8e fix: rebuilt disappearing messages header beause syncthing 2 years ago
William Grant a42aff35fc feat: added panel radio buttons that list timer options 2 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
2 years ago