Skip to content

:hedgehog: PostHog is the leading platform for building self-driving products. Our developer tools – AI observability, analytics, session replay, flags, experiments, error tracking, logs, and more – capture all the context agents need to diagnose problems, uncover opportunities, and ship fixes. Steer it all from Slack, web, desktop, or the MCP.

fix(ai-observability): tint user bubbles in the session transcript (#79027)

Radu Raiceaaee895f735fa
diff --git a/products/ai_observability/frontend/ConversationDisplay/TranscriptBubbleStream.tsx b/products/ai_observability/frontend/ConversationDisplay/TranscriptBubbleStream.tsx
index f768351310a3..91089ab200bd 100644
--- a/products/ai_observability/frontend/ConversationDisplay/TranscriptBubbleStream.tsx
+++ b/products/ai_observability/frontend/ConversationDisplay/TranscriptBubbleStream.tsx
@@ -255,6 +255,8 @@ export function TranscriptBubbleStream({
key={i}
type={item.message.role === 'user' ? 'human' : 'ai'}
wrapperClassName="max-w-[75%]"
+ // Same user-message fill the Trace page uses, so the two sides don't blend together
+ boxClassName={item.message.role === 'user' ? 'bg-fill-tertiary' : undefined}
>
{item.text && (
<LemonMarkdown className="whitespace-pre-wrap break-words">{item.text}</LemonMarkdown>