stream-chat-react
stream-chat-react copied to clipboard
Option to provide full list of users who have read a message in the MessageStatus component
Motivation
Currently the message status read by count getReadByTooltipText()
link only lists the first three users by name, if there is more than three users in the "read by" array the function truncates this list to "and N more". This is frustrating for admin users in our application as they view this as very important information for user accountability. As far as I am aware there is no other way to view the read by information for a particular message. This is frustrating from a developer view point since the MessageStatus
link and the getReadByTooltipText()
function appear to have all the required information in order to be able to display this information.
Proposed solution
If possible the MessageStatus
component or top level message component should give some sort of option to either display the full list of read by users using the existing tooltip functionality, or an onclick event (with the list of read by users) which we could then extend to implement our own read by list.
Acceptance Criteria Chat users should be able to view the full list of user names who have read a message.