Commit Graph

62 Commits (3bf3bf73b1e4df13ae574739dd9ef5ab9a509df6)

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