diff --git a/frontend/src/pages/SimulationPlayerPage.js b/frontend/src/pages/SimulationPlayerPage.js index 199e4e6..975cd01 100644 --- a/frontend/src/pages/SimulationPlayerPage.js +++ b/frontend/src/pages/SimulationPlayerPage.js @@ -213,9 +213,17 @@ Format your response as JSON: const getChannelIcon = (channel) => { switch (channel) { case 'email_inbox': return ; - case 'chat_ui': return ; - case 'phone_sim': return ; - case 'web_sim': return ; + case 'chat_ui': + case 'sms': + case 'social_media': + case 'linkedin': + return ; + case 'phone_sim': + case 'phone_call': + return ; + case 'web_sim': + case 'browser': + return ; default: return ; } }; @@ -311,8 +319,36 @@ Format your response as JSON: )} + {getContent(currentNode, 'caller') && ( +
+
Caller ID
+
{getContent(currentNode, 'caller')}
+
+ )} + + {getContent(currentNode, 'sender') && ( +
+
Sender
+
{getContent(currentNode, 'sender')}
+
+ )} + + {getContent(currentNode, 'url') && ( +
+
URL
+
{getContent(currentNode, 'url')}
+
+ )} + + {getContent(currentNode, 'attachment') && ( +
+ Attachment: + {getContent(currentNode, 'attachment')} +
+ )} +
-

{getContent(currentNode, 'body') || getContent(currentNode, 'text')}

+

{getContent(currentNode, 'body') || getContent(currentNode, 'text') || getContent(currentNode, 'transcript') || getContent(currentNode, 'message') || getContent(currentNode, 'info')}

{currentNode.tactics_used && (