Page MenuHomePhabricator

[lib] Introduce MessageSpec.showInMessagePreview
ClosedPublic

Authored by ashoat on Wed, Oct 30, 11:46 AM.
Tags
None
Referenced Files
F3335233: D13827.diff
Thu, Nov 21, 8:38 AM
Unknown Object (File)
Thu, Nov 14, 7:20 AM
Unknown Object (File)
Wed, Nov 13, 3:13 AM
Unknown Object (File)
Mon, Nov 11, 1:54 PM
Unknown Object (File)
Sun, Nov 10, 11:00 PM
Unknown Object (File)
Sun, Nov 10, 10:27 AM
Unknown Object (File)
Fri, Nov 8, 4:42 AM
Unknown Object (File)
Thu, Nov 7, 12:05 PM
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
No Lint Coverage
Unit
No Test Coverage

Event Timeline

lib/shared/messages/multimedia-message-spec.js
373–374

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