Skip to content

🪢 Open source agent evals & observability: Trace, evaluate, and improve LLM applications with one open platform.

fix(in-app-agent): block Halo questionnaire content from session replay (#19012)

Tobias Wochingerb8037b8ad4c4
diff --git a/web/src/features/in-app-agent/components/InAppAgentQuestionnaireCard/InAppAgentQuestionnaireCard.tsx b/web/src/features/in-app-agent/components/InAppAgentQuestionnaireCard/InAppAgentQuestionnaireCard.tsx
index e4c98f97ef..5ef1f0f7db 100644
--- a/web/src/features/in-app-agent/components/InAppAgentQuestionnaireCard/InAppAgentQuestionnaireCard.tsx
+++ b/web/src/features/in-app-agent/components/InAppAgentQuestionnaireCard/InAppAgentQuestionnaireCard.tsx
@@ -115,7 +115,7 @@ export function InAppAgentQuestionnaireCard({
return (
<form
aria-labelledby={titleId}
- className="bg-card text-foreground border-border overflow-hidden rounded-md border shadow-xs"
+ className="ph-no-capture bg-card text-foreground border-border overflow-hidden rounded-md border shadow-xs"
onSubmit={handleFormSubmit}
onKeyDown={handleKeyDown}
>
diff --git a/web/src/features/in-app-agent/components/InAppAgentQuestionnaireSummary/InAppAgentQuestionnaireSummary.tsx b/web/src/features/in-app-agent/components/InAppAgentQuestionnaireSummary/InAppAgentQuestionnaireSummary.tsx
index ac0eba0baa..2234957f1f 100644
--- a/web/src/features/in-app-agent/components/InAppAgentQuestionnaireSummary/InAppAgentQuestionnaireSummary.tsx
+++ b/web/src/features/in-app-agent/components/InAppAgentQuestionnaireSummary/InAppAgentQuestionnaireSummary.tsx
@@ -8,7 +8,7 @@ export function InAppAgentQuestionnaireSummary({
answers,
}: InAppAgentQuestionnaireSummaryProps) {
return (
- <dl className="border-border bg-muted flex flex-col gap-2 rounded-md border p-2.5 text-xs">
+ <dl className="ph-no-capture border-border bg-muted flex flex-col gap-2 rounded-md border p-2.5 text-xs">
{answers.map((answer, index) => (
<div key={index} className="flex flex-col gap-0.5">
<dt className="text-foreground font-bold">{answer.question}</dt>