Page MenuHomePhabricator

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

Authored by atul on Mon, Apr 22, 10:13 AM.
Tags
None
Referenced Files
Unknown Object (File)
Thu, May 2, 5:01 AM
Unknown Object (File)
Wed, May 1, 4:44 PM
F1689509: 870d7f.png
Wed, May 1, 4:30 PM
F1689507: c27e4f.png
Wed, May 1, 4:30 PM
Unknown Object (File)
Mon, Apr 29, 7:05 AM
Unknown Object (File)
Sun, Apr 28, 6:01 PM
Unknown Object (File)
Fri, Apr 26, 12:51 PM
Unknown Object (File)
Mon, Apr 22, 5:21 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
Lint
Lint Not Applicable
Unit
Tests Not Applicable

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)