Page MenuHomePhabricator

[lib] refactor processing updates and setting `urlPrefix` in `keyserver-reducer` to ops
ClosedPublic

Authored by kamil on Jan 22 2024, 3:28 AM.
Tags
None
Referenced Files
F6174969: D10766.id36395.diff
Wed, Apr 23, 3:36 AM
F6174967: D10766.id35925.diff
Wed, Apr 23, 3:35 AM
F6174963: D10766.id.diff
Wed, Apr 23, 3:35 AM
Unknown Object (File)
Sun, Apr 20, 10:18 PM
Unknown Object (File)
Fri, Apr 18, 9:54 PM
Unknown Object (File)
Fri, Apr 18, 6:43 AM
Unknown Object (File)
Fri, Apr 18, 4:50 AM
Unknown Object (File)
Thu, Apr 17, 4:39 PM
Subscribers

Details

Summary

Convert logic to ops approach.

Depends on D10763

Test Plan

Test for processUpdatesActionType:

  1. Open native app
  2. Open web app with the same account
  3. Make some actions on web account
  4. Make sure updatesCurrentAsOf is properly set on native

Test for setURLPrefix:

  1. On native in dev-tools select different url

Test for updateLastCommunicatedPlatformDetailsActionType

  1. Make shouldSendPlatformDetails: true
  2. Verify is state is properly set

Diff Detail

Repository
rCOMM Comm
Lint
No Lint Coverage
Unit
No Test Coverage