Page MenuHomePhabricator

[web, lib] Extract function for modyfing items to be displayed in MessageResult
ClosedPublic

Authored by inka on Jun 13 2023, 12:48 PM.
Tags
None
Referenced Files
Unknown Object (File)
Thu, Nov 7, 3:16 AM
Unknown Object (File)
Mon, Nov 4, 10:40 AM
Unknown Object (File)
Mon, Nov 4, 10:40 AM
Unknown Object (File)
Mon, Nov 4, 10:40 AM
Unknown Object (File)
Fri, Nov 1, 5:34 AM
Unknown Object (File)
Thu, Oct 17, 6:37 AM
Unknown Object (File)
Thu, Oct 17, 6:37 AM
Unknown Object (File)
Thu, Oct 17, 6:34 AM
Subscribers

Details

Summary

issue: https://linear.app/comm/issue/ENG-3462/add-modal-for-searching-messages and https://linear.app/comm/issue/ENG-4092/pin-message-modal-displaying-the-message-incorrectly
Extracting a function that will be needed in message search. Using it in TogglePinModal to fix avatar not showing because startsCluster and endsCluster were not being set to true.

Test Plan

Checked that avatars show in TogglePinModal for messages in the middle of the cluster, checked that pinned messages modal still works.

Diff Detail

Repository
rCOMM Comm
Lint
Lint Not Applicable
Unit
Tests Not Applicable