Page MenuHomePhabricator

[lib] Introduce MessageSpec.showInMessagePreview
ClosedPublic

Authored by ashoat on Wed, Oct 30, 11:46 AM.
Tags
None
Referenced Files
Unknown Object (File)
Tue, Nov 26, 5:28 AM
Unknown Object (File)
Sat, Nov 23, 4:40 AM
Unknown Object (File)
Thu, Nov 21, 3:09 PM
Unknown Object (File)
Thu, Nov 21, 2:04 PM
Unknown Object (File)
Thu, Nov 21, 1:37 PM
Unknown Object (File)
Thu, Nov 21, 8:38 AM
Unknown Object (File)
Thu, Nov 14, 7:20 AM
Unknown Object (File)
Wed, Nov 13, 3:13 AM
Subscribers
None

Details

Summary

This diff introduces a generic way to support ENG-9556.

Depends on D13826

Test Plan

Tested in combination with the rest of the stack:

  1. Make sure membership operations (user joining / leaving) don't appear in MessagePreview
  2. Make sure reactions to the viewer's messages still appear in MessagePreview
  3. Make sure reactions to other user's messages don't appear in MessagePreview
  4. Test fresh login to thread with only one message in the last 14 days, which is a reaction to a non-viewer message. Make sure the reaction initially appears in MessagePreview, but then is replaced after more messages are fetched by the client

Diff Detail

Repository
rCOMM Comm
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

lib/shared/messages/multimedia-message-spec.js
373–374 ↗(On Diff #45477)

See here for an explanation on this change

Harbormaster returned this revision to the author for changes because remote builds failed.Wed, Oct 30, 12:45 PM
Harbormaster failed remote builds in B32444: Diff 45477!
This revision is now accepted and ready to land.Thu, Oct 31, 5:56 AM