HomePhabricator
Diffusion Comm 201b3ef4ff3a

[lib] Simplify useMessageListData interface

Description

[lib] Simplify useMessageListData interface

Summary:
boundMessageListData can be computed inside the hook, so putting it there will simplify the interface.
This is a prerequisite for determining clustering properties of pending sidebar message: we need to have all the message infos instead of ChatMessageItems provided to the hook.

Test Plan:
Send a message to an existing thread. Send a message to pending sidebar. Search for a thread and send a message.
Do the same for both native and web.

Reviewers: ashoat

Reviewed By: ashoat

Subscribers: KatPo, zrebcu411, Adrian, atul, subnub

Differential Revision: https://phabricator.ashoat.com/D874

Details

Provenance
tomekAuthored on Mar 9 2021, 1:31 AM
Reviewer
ashoat
Differential Revision
Restricted Differential Revision
Parents
rCOMMe71777a701b0: [native] Do not hide log out button when username is long
Branches
Unknown
Tags
Unknown

Event Timeline