feature request(insights): surface events drill-down directly from data point tooltip without going through persons modal
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 39.9k
- Forks
- 3.4k
- Avg merge
- 6h 51m
- Merged PRs (30d)
- 232
Description
Is your feature request related to a problem?
When clicking a trend data point, the persons modal opens with a list of users contributing to that count, and a "View events" button drills further into the events. For users on single-user or low-volume setups (e.g. personal projects) where every data point is essentially one user, the persons modal adds an unhelpful layer between the chart and the underlying events. The same applies to use cases where the interest is purely in the events, not in which person triggered them.
Describe the solution you'd like
Either:
- Add a direct "View events" affordance on the insight tooltip or data-point click, so the user can drill into the event list without first going through the persons modal, or
- Provide a setting (or contextual heuristic when distinct user count is very low) that defaults the drill-down to events rather than persons.
Describe alternatives you've considered
Switching insight math types changes what's counted but not how the drill-down is structured. The "View events" button in the persons modal already exists; this request is purely about exposing it more directly.
Additional context
Relevant code today:
- Tooltip "click to inspect actors" hint: https://github.com/PostHog/posthog/blob/master/frontend/src/scenes/insights/InsightTooltip/InsightTooltip.tsx
- Persons modal "View events" button: https://github.com/PostHog/posthog/blob/master/frontend/src/scenes/trends/persons-modal/PersonsModal.tsx
Reported by a customer using PostHog for a single-user personal project, where the persons modal is always a list of one and the actual interest is the events themselves.
Debug info
- PostHog Cloud, Debug information: [please copy/paste from https://us.posthog.com/settings/project-details#variables]
- PostHog Hobby self-hosted with
docker compose, version/commit: [please provide] - PostHog self-hosted with Kubernetes (deprecated, see
Sunsetting Kubernetes support), version/commit: [please provide]
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with frontend/src/scenes/insights/InsightTooltip/InsightTooltip.tsx and trace the existing drill-down flow to frontend/src/scenes/trends/persons-modal/PersonsModal.tsx. Review how the existing “View events” action is exposed, then clarify whether the intended behavior is a direct tooltip action, a setting, or a low-user heuristic. Done means the chosen flow reaches the event list without the unnecessary persons step and preserves existing drill-down behavior.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- react, typescript
- Domain
- analytics, frontend
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 48/100