Page MenuHomePhabricator

[lib] Shim unsupported messages for `web`/`desktop`
ClosedPublic

Authored by atul on Mon, Apr 22, 10:13 AM.
Tags
None
Referenced Files
F1780170: D11712.diff
Sat, May 18, 2:24 AM
Unknown Object (File)
Wed, May 8, 2:15 PM
Unknown Object (File)
Wed, May 8, 9:10 AM
Unknown Object (File)
Tue, May 7, 8:09 AM
Unknown Object (File)
Mon, May 6, 1:12 AM
Unknown Object (File)
Mon, May 6, 1:12 AM
Unknown Object (File)
Thu, May 2, 5:01 AM
Unknown Object (File)
Wed, May 1, 4:44 PM
Subscribers

Details

Summary

We currently aren't shimming messages for web/desktop, probably because we weren't previously persisting things on those platforms?

However, now that we are persisting messages we'll want to shim/unshim messages. Specically we want to shim/unshim the new UPDATE_RELATIONSHIP message type.

Test Plan
WARNING: I'm still reading through codebase to make sure that this change is safe and can be made as-is. I also haven't yet tested this function with UPDATE_RELATIONSHIP messages to make sure it behaves as expected. Just putting this up to reference in comment on D11707

Diff Detail

Repository
rCOMM Comm
Branch
arcpatch-D11712 (branched from master)
Lint
No Lint Coverage
Unit
No Test Coverage

Event Timeline

atul requested review of this revision.Mon, Apr 22, 10:31 AM
This revision is now accepted and ready to land.Mon, Apr 22, 11:01 AM

Did testing to ensure UNSUPPORTED messages appear as expected on web client:

  1. Rewrote the request in updateRelationships so that I could avoid making client changes:

c27e4f.png (740×1 px, 112 KB)

  1. Ensured that UNSUPPORTED message appeared in web Redux store:

870d7f.png (304×972 px, 51 KB)