ChatbotX icon indicating copy to clipboard operation
ChatbotX copied to clipboard

[inbox] add convertion's actions

Open realcodesiman opened this issue 1 year ago • 0 comments

DoD

Add the below actions to the inbox screen

Make the conversation main / Enable live chat: conversations.liveChatEnabled: boolean = true

Make the conversation done / Disable live chat: conversations.liveChatEnabled: boolean = false

Assign the conversation to an administrator: conversations.assignedType = User && conversations.assignedId = xxx allow change to null

Assign the conversation to a team: conversations.assignedType = InboxTeam && conversations.assignedId = xxx allow change to null

Remove task: change conversations.assignedType and conversations.assignedId to null

Mark the conversation as follow-up (Flow Up): conversations.followed = true

Remove conversation from Flow Up conversations.followed = false

Archive conversations.archivedAt: Datetime

Unarchive conversations.archivedAt: null

Block Contact conversations.blockedAt: Datetime

Unblock Contact conversations.blockedAt: null

Important

Those BE logic must reuse in Contact page and Flow page

  • https://github.com/AhaChatAI/ahachat/issues/73
  • contact page

realcodesiman avatar Jan 13 '25 08:01 realcodesiman