PostHog / PostHog/posthog

Concept: Universal search for people / recordings / cohorts / events / groups

Open
#7,963 5 comments 3 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

concept enhancement feature/activity feature/cohorts feature/group-analytics feature/persons feature/replay
Dominant language
Python
Stars
39.9k
Forks
3.4k
Avg merge
7h 27m
Merged PRs (30d)
222

Description

Is your feature request related to a problem?

This issue tries to outline a solution to many disparate issues with the meta problem being:

  • search capabilities outside of insights are lacking
  • cohorts feature especially is very isolated from the rest of the app
  • improving each search feature leads only to improvements in one product area.

Describe the solution you'd like

A insights-like search functionality for everything qualitative: people / recordings / cohorts / events / groups.

Similar to insights, this would take the form of a sentence (containing various dropdowns), like:

Show me [People | Group Type G | Cohorts | Recordings | Events from people | Recordings from people] who [Have property | Belong to COHORT | Have done Y]

Where user can easily switch between what's being shown via dropdown or via selecting a new tab from side navigation.

There are also context-specific actions, for example:

  • When searching for people / specific group types, you can also save the results as a cohort
  • In recordings, Have done Y would only show recordings which match the filter

Viewing a cohort then becomes an action of selecting the appropriate filter and showing the same results as elsewhere. Note that with this approach, creating cohorts of groups would also become possible.

We could link to this view from any person modal with a static filter being set (e.g. has completed funnel step Y).

There could also be a time filter for various views.

This view could also power additional analytics - e.g. show correlated properties for people/cohort/group that was selected, show who might be slipping away, etc.

Describe alternatives you've considered

Universal search experience like one outlined in https://www.figma.com/file/NHPA2hVWwaKp4eTGWdigs9/?node-id=128%3A437. However this is too 'hard' to solve as an initial step.

Additional context

Grab bag of related issues:

cc @clarkus @EDsCODE @paolodamico @mariusandra @rcmarron

Thank you for your feature request – we love each and every one!

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

No implementation files, tests, or entry points are named. Start by reviewing the linked issues and the referenced Figma concept to understand existing search and cohort behavior; the issue does not define a bounded scope or concrete done condition.

Written by the indexing model from the issue text.

Assessment

Domain
analytics, full-stack, search
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
20/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.