twenty
twenty copied to clipboard
All active participants should be displayed within the same thread
Scope & Context
The frontend should only display the recipients that have "from" as a role meaning they've sent at least 1 message in the thread.
Current behaviour
Currently we only display 1 "participant".
Desired behaviour
We want to display at least 2 "participants" in the UI
Technical inputs
getTimelineThreadsFromPersonId(personId: "") {
body
numberOfMessagesInThread
read
receivedAt
senderPictureUrl
senderName
subject
}
getTimelineThreadsFromPersonId(personId: "") {
body
numberOfMessagesInThread
read
receivedAt
recipients {
displayName
pictureUrl
}
subject
}
@bosiraphael to update BE with the new recipients list
@bosiraphael actually, before doing that, the BE should probably adapt the structure of TimelineThread so it contains all the messages as well; In preparation for the ticket that will add the opened thread component.
@Weiko Good point
Blocked by #3450