Page MenuHomePhabricator

[lib] Introduce MessageSpec.showInMessagePreview
ClosedPublic

Authored by ashoat on Oct 30 2024, 11:46 AM.
Tags
None
Referenced Files
Unknown Object (File)
Thu, Dec 26, 7:11 PM
Unknown Object (File)
Thu, Dec 26, 7:11 PM
Unknown Object (File)
Thu, Dec 26, 7:11 PM
Unknown Object (File)
Thu, Dec 26, 11:37 AM
Unknown Object (File)
Thu, Dec 26, 5:50 AM
Unknown Object (File)
Nov 28 2024, 6:04 AM
Unknown Object (File)
Nov 26 2024, 5:28 AM
Unknown Object (File)
Nov 23 2024, 4:40 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
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.Oct 30 2024, 12:45 PM
Harbormaster failed remote builds in B32444: Diff 45477!
This revision is now accepted and ready to land.Oct 31 2024, 5:56 AM