twenty icon indicating copy to clipboard operation
twenty copied to clipboard

All active participants should be displayed within the same thread

Open Weiko opened this issue 1 year ago • 4 comments

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

Frame 4097

Technical inputs

  getTimelineThreadsFromPersonId(personId: "") {
    body
    numberOfMessagesInThread
    read
    receivedAt
    senderPictureUrl
    senderName
    subject
  }
  getTimelineThreadsFromPersonId(personId: "") {
    body
    numberOfMessagesInThread
    read
    receivedAt
    recipients {
        displayName
        pictureUrl
    } 
    subject
  }

Weiko avatar Jan 05 '24 14:01 Weiko

@bosiraphael to update BE with the new recipients list

Weiko avatar Jan 05 '24 15:01 Weiko

@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 avatar Jan 05 '24 15:01 Weiko

@Weiko Good point

bosiraphael avatar Jan 05 '24 16:01 bosiraphael

Blocked by #3450

Weiko avatar Jan 15 '24 11:01 Weiko