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, Nov 28, 6:04 AM
Unknown Object (File)
Tue, Nov 26, 5:28 AM
Unknown Object (File)
Sat, Nov 23, 4:40 AM
Unknown Object (File)
Nov 21 2024, 3:09 PM
Unknown Object (File)
Nov 21 2024, 2:04 PM
Unknown Object (File)
Nov 21 2024, 1:37 PM
Unknown Object (File)
Nov 21 2024, 8:38 AM
Unknown Object (File)
Nov 14 2024, 7:20 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.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