Page MenuHomePhabricator

[keyserver][lib][native][web] Remove lastCommunicatedPlatformDetails form redux top level
ClosedPublic

Authored by inka on Sep 5 2023, 3:02 AM.
Tags
None
Referenced Files
Unknown Object (File)
Tue, Oct 1, 11:41 PM
Unknown Object (File)
Thu, Sep 26, 7:35 PM
Unknown Object (File)
Mon, Sep 9, 6:58 PM
Unknown Object (File)
Mon, Sep 9, 4:23 PM
Unknown Object (File)
Mon, Sep 9, 1:29 PM
Unknown Object (File)
Sun, Sep 8, 8:29 PM
Unknown Object (File)
Sun, Sep 8, 6:13 PM
Unknown Object (File)
Sun, Sep 8, 4:24 PM
Subscribers

Details

Summary

issue: https://linear.app/comm/issue/ENG-4462/refactor-lastcommunicatedplatformdetails-field
The last step is to remove lastCommunicatedPlatformDetails from top level of redux store

Test Plan

ran yarn flow-all. Checked that both migrations work.

Diff Detail

Repository
rCOMM Comm
Branch
inka/redux4
Lint
No Lint Coverage
Unit
No Test Coverage

Event Timeline

inka edited the test plan for this revision. (Show Details)
inka requested review of this revision.Sep 5 2023, 3:19 AM
inka planned changes to this revision.Sep 5 2023, 3:39 AM

Need to add migrations

inka edited the test plan for this revision. (Show Details)

Add migrations

LGTM, could you check that it still works with something like this:

  1. Disable the websocket
  2. Bump the webAndKeyserverCodeVersion version
  3. Send a message or do something else that will call an endpoint
  4. Check that redux has updated
This revision is now accepted and ready to land.Sep 5 2023, 5:56 AM

LGTM, could you check that it still works with something like this:

  1. Disable the websocket
  2. Bump the webAndKeyserverCodeVersion version
  3. Send a message or do something else that will call an endpoint
  4. Check that redux has updated

I removed Socket from root, bumped the version and redux got updated