Message

A message is a chat bubble with an author and a time. The variant sets the side and the colours, so a customer, KiBee, you, a system line and an internal note never look alike.

Previewapps/web/components/ui/KbMessage.tsx

Variants

Customer and AI sit at the start. You sit at the end. A system line is centred and quiet. An internal note is dashed and warm, so it can't be mistaken for a reply.

My export keeps failing. Can you look?
I can see the failure. Clearing the export cache usually fixes it.
Thanks, I'm taking over from here.
Handed off to a teammate
Customer is on the Team plan. Check the export queue.
Show code
<KbMessage variant="customer" author="Visitor" time={t}>…</KbMessage>
<KbMessage variant="ai" author="AI" time={t}>…</KbMessage>
<KbMessage variant="agent" author="You" time={t}>…</KbMessage>
<KbMessage variant="system">Handed off to a teammate</KbMessage>
<KbMessage variant="note" author="Internal note" time={t}>…</KbMessage>