Based on that PRD I would like to create a frontend component to review my conversation, a quind of mix between project managemnt like todo and checkboxe to tel the conversation was reviewed. We have sendbird but we will store the information in a database with a json format. that is the type of information we will have: Interaction
interactionId Unique id for the interaction categories String, list of categories separated by ; accountId Unique id for the user involved in the interaction messages Array of messages (strings) timestamp Time at which the feedback for this interaction was created vote String (up, down, neutral) asanaLink Link to the Asana task create for this review reviewerId Id (or more if possible) of the person who reviewed the interaction, see Get reviewer infos from Okta lastMessageTimestamp Timestamp of the last message captured in the interaction (will define if a conversation has new interactions needing review) channelId Sendbird unique Id for the channel
I'll help you create a frontend component for reviewing conversations based on your PRD. This will be a mix of project management features like todos and checkboxes to track conversation reviews.
Let's create a conversation review component that allows you to track and manage reviews of bot conversations.
This conversation review component includes:
Dashboard Overview:
Filtering and Search:
Interaction Cards:
Review Functionality:
Responsive Design:
Status Tracking:
Data Storage:
Viewing Conversations:
Reviewing a Conversation:
Editing Reviews:
To fully implement this in your environment, you would need to:
Would you like me to explain any specific part of the implementation in more detail?
I'll add a comment section to the review form so reviewers can add notes about the conversation.
I've added a comment section to the review form. Now reviewers can add detailed notes about each conversation they review. Here's what I've implemented:
Updated Data Model:
comment
field to the Interaction
interfaceComment Input in Review Form:
Comment Display:
This feature allows reviewers to:
The comment field is optional, so reviewers can choose whether to add detailed notes or just provide a basic review with categories and a vote.
Would you like me to make any adjustments to the comment section, such as changing the placement, adding character limits, or including any specific guidance text?