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
Unknown Object (File)
Mon, Dec 23, 8:55 PM
Unknown Object (File)
Mon, Dec 23, 8:55 PM
Unknown Object (File)
Mon, Dec 23, 8:54 PM
Unknown Object (File)
Mon, Dec 23, 8:54 PM
Unknown Object (File)
Wed, Nov 27, 8:12 AM
Unknown Object (File)
Wed, Nov 27, 5:29 AM
Unknown Object (File)
Nov 23 2024, 5:20 PM
Unknown Object (File)
Oct 28 2024, 12:03 AM
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
Lint Not Applicable
Unit
Tests Not Applicable