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.

feat(insights): add tooltip to the performed behavioral filter button (#99948)

Sam Penningtonf3e09928d86a
diff --git a/frontend/src/lib/components/PropertyFilters/components/AddBehavioralFilterButton.tsx b/frontend/src/lib/components/PropertyFilters/components/AddBehavioralFilterButton.tsx
index f04b3f04de76..6a517de8c685 100644
--- a/frontend/src/lib/components/PropertyFilters/components/AddBehavioralFilterButton.tsx
+++ b/frontend/src/lib/components/PropertyFilters/components/AddBehavioralFilterButton.tsx
@@ -29,6 +29,7 @@ export function AddBehavioralFilterButton({
)
}
placeholder="Performed"
+ tooltip="Filter for users who performed an event or action"
placeholderClass=""
icon={<IconPlusSmall />}
sideIcon={null}
diff --git a/frontend/src/queries/nodes/InsightViz/InsightViz.scss b/frontend/src/queries/nodes/InsightViz/InsightViz.scss
index f5b1fd1b8167..218a03fa4ebb 100644
--- a/frontend/src/queries/nodes/InsightViz/InsightViz.scss
+++ b/frontend/src/queries/nodes/InsightViz/InsightViz.scss
@@ -66,6 +66,17 @@
.ActionFilterGroup--events-list .TaxonomicPropertyFilter__row-items {
flex-basis: 100%;
}
+
+ // The empty row keeps "where + Filter" as one unit so the suffix button wraps below it
+ .ActionFilterGroup--events-list .property-filter-row--with-suffix .TaxonomicPropertyFilter__row {
+ flex-wrap: nowrap;
+ }
+
+ .ActionFilterGroup--events-list
+ .property-filter-row--with-suffix
+ .TaxonomicPropertyFilter__row-items {
+ flex-basis: auto;
+ }
}
@container editor-panel (max-width: 400px) {
@@ -86,6 +97,14 @@
.ActionFilterRow-filters .TaxonomicPropertyFilter__row-operator--empty {
display: none;
}
+
+ .ActionFilterRow-filters .property-filter-row--with-suffix .TaxonomicPropertyFilter__row {
+ flex-wrap: nowrap;
+ }
+
+ .ActionFilterRow-filters .property-filter-row--with-suffix .TaxonomicPropertyFilter__row-items {
+ flex-basis: auto;
+ }
}
}