Page MenuHomePhabricator

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

Authored by atul on Apr 22 2024, 10:13 AM.
Tags
None
Referenced Files
Unknown Object (File)
Fri, Nov 29, 1:25 PM
Unknown Object (File)
Fri, Nov 29, 12:13 PM
Unknown Object (File)
Tue, Nov 26, 3:33 AM
Unknown Object (File)
Fri, Nov 8, 10:35 PM
Unknown Object (File)
Fri, Nov 8, 1:40 PM
Unknown Object (File)
Oct 29 2024, 12:07 AM
Unknown Object (File)
Oct 25 2024, 1:18 AM
Unknown Object (File)
Oct 25 2024, 1:18 AM
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
master
Lint
No Lint Coverage
Unit
No Test Coverage

Event Timeline

atul requested review of this revision.Apr 22 2024, 10:31 AM
This revision is now accepted and ready to land.Apr 22 2024, 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)