Unified · Split
| @@ -49,6 +49,12 @@ if (typeof window !== "undefined" && import.meta.env.VITE_PUBLIC_POSTHOG_KEY) { · 48 unmodified lines | |||
| 49 | ui_host: "https://us.posthog.com", | 49 | ui_host: "https://us.posthog.com", |
| 50 | defaults: "2025-05-24", | 50 | defaults: "2025-05-24", |
| 51 | person_profiles: "identified_only", | 51 | person_profiles: "identified_only", |
| 52 | disable_session_recording: false, | ||
| 53 | session_recording: { | ||
| 54 | maskAllInputs: true, | ||
| 55 | maskTextSelector: "[data-ph-mask]", | ||
| 56 | blockSelector: "[data-ph-block]", | ||
| 57 | }, | ||
| 52 | }); | 58 | }); |
| 53 | } | 59 | } |
| 54 | 60 | ||
| @@ -226,7 +226,7 @@ function ValueField(props: { revealable?: boolean; placeholder?: string; autoFoc · 225 unmodified lines | |||
| 226 | return ( | 226 | return ( |
| 227 | <Field> | 227 | <Field> |
| 228 | <FieldLabel htmlFor={inputId}>Value</FieldLabel> | 228 | <FieldLabel htmlFor={inputId}>Value</FieldLabel> |
| 229 | <div className="relative"> | 229 | <div className="relative" data-ph-block> |
| 230 | <Input | 230 | <Input |
| 231 | id={inputId} | 231 | id={inputId} |
| 232 | type={secretValueInputType({ revealable, revealed })} | 232 | type={secretValueInputType({ revealable, revealed })} |
| @@ -239,6 +239,7 @@ function ValueField(props: { revealable?: boolean; placeholder?: string; autoFoc · 6 unmodified lines | |||
| 239 | style={ | 239 | style={ |
| 240 | revealable && !revealed ? ({ WebkitTextSecurity: "disc" } as CSSProperties) : undefined | 240 | revealable && !revealed ? ({ WebkitTextSecurity: "disc" } as CSSProperties) : undefined |
| 241 | } | 241 | } |
| 242 | data-ph-block | ||
| 242 | /> | 243 | /> |
| 243 | {revealable && ( | 244 | {revealable && ( |
| 244 | <Button | 245 | <Button |