Skip to content

Commit

Permalink
chore: instrument alt click (#21567)
Browse files Browse the repository at this point in the history
  • Loading branch information
daibhin authored Apr 16, 2024
1 parent 0e034ef commit 76df829
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ import { Spinner } from 'lib/lemon-ui/Spinner'
import { Tooltip } from 'lib/lemon-ui/Tooltip'
import { featureFlagLogic } from 'lib/logic/featureFlagLogic'
import { colonDelimitedDuration } from 'lib/utils'
import posthog from 'posthog-js'
import { Fragment, useState } from 'react'
import { DraggableToNotebook } from 'scenes/notebooks/AddToNotebook/DraggableToNotebook'
import { asDisplay } from 'scenes/persons/person-utils'
Expand Down Expand Up @@ -153,6 +154,7 @@ export function PropertyIcons({
onClick={(e) => {
if (e.altKey) {
e.stopPropagation()
posthog.capture('alt click property filter added', { property })
onPropertyClick?.(property, value)
}
}}
Expand Down

0 comments on commit 76df829

Please sign in to comment.