This function will allow us to merge RobotextMessageInfos into preceding (older) RobotextChatMessageInfoItems.
The merging is implemented on the spec of the newer RobotextChatMessageInfoItem.
Depends on D13686
Paths
| Differential D13687 Authored by ashoat on Oct 9 2024, 8:33 PM.
Details Summary This function will allow us to merge RobotextMessageInfos into preceding (older) RobotextChatMessageInfoItems. The merging is implemented on the spec of the newer RobotextChatMessageInfoItem. Depends on D13686 Test Plan Tested in combination with the following diffs, where I construct RobotextChatMessageInfoItem with an array of messageInfos to represent combined messages (ENG-9559
Diff Detail
Event Timelineashoat added a child revision: D13688: [lib] Explain auto-created Farcaster mutual friend threads better. Harbormaster completed remote builds in B32171: Diff 45046.Oct 9 2024, 10:08 PM2024-10-09 22:08:49 (UTC-7) Comment Actions Don't merge messages that have reactions or a sidebar
Harbormaster completed remote builds in B32182: Diff 45065.Oct 10 2024, 11:19 AM2024-10-10 11:19:45 (UTC-7) This revision is now accepted and ready to land.Oct 11 2024, 7:45 AM2024-10-11 07:45:55 (UTC-7) Closed by commit rCOMMf0679dd4de0d: [lib] Introduce MessageSpec.mergeIntoPrecedingRobotextMessageItem (authored by ashoat). · Explain WhyOct 13 2024, 6:44 PM2024-10-13 18:44:06 (UTC-7) This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 45065 lib/selectors/chat-selectors.js
lib/shared/messages/message-spec.js
|