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(replay-vision): label tag cohort buttons "Save as cohort" (#75690)

coryslater50959e3074f1
diff --git a/products/replay_vision/frontend/replay_scanners/components/ScannerOverview.tsx b/products/replay_vision/frontend/replay_scanners/components/ScannerOverview.tsx
index ef111c7a15a9..0fe1f5831cf3 100644
--- a/products/replay_vision/frontend/replay_scanners/components/ScannerOverview.tsx
+++ b/products/replay_vision/frontend/replay_scanners/components/ScannerOverview.tsx
@@ -264,6 +264,7 @@ function ClassifierOverview({ scannerId }: { scannerId: string }): JSX.Element |
const cohortAction = (tag: string): JSX.Element => (
<LemonButton
+ type="secondary"
size="xsmall"
icon={<IconPeople />}
tooltip={`Save users tagged "${tag}" in the last 30 days as a cohort`}
@@ -273,7 +274,9 @@ function ClassifierOverview({ scannerId }: { scannerId: string }): JSX.Element |
affectedCohortLoading && savingCohortTag !== tag ? 'Another cohort is being created' : undefined
}
data-attr="vision-save-tag-cohort"
- />
+ >
+ Save as cohort
+ </LemonButton>
)
return (