Commit Graph

51 Commits (73cceab31f5c365b8bd176e518ccd2ba1b30dfd2)

Author SHA1 Message Date
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 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 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 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 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 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