PostHog / PostHog/posthog

feature request(insights): surface events drill-down directly from data point tooltip without going through persons modal

Open
#59,448 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement feature/insights team/product-analytics
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:

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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.