Feature Request: Pick multiple values in filter component
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 39.9k
- Forks
- 3.4k
- Avg merge
- 7h 27m
- Merged PRs (30d)
- 222
Description
Feature request
Is your feature request related to a problem?
When picking a value in a filter component, say a cohort, you can only pick one, then have to open a new one for every other value you want to pick.
Describe the solution you'd like
Support picking multiple values in the same filter dropdown, so it doesn't close until I pick as many as I need then save it, then have it add as many filters/breakdowns as I pick within the supported limits.
Describe alternatives you've considered
- Use it as usual one at a time
Additional context
From: https://posthoghelp.zendesk.com/agent/tickets/35592 (moved to PostHog: https://us.posthog.com/project/2/support/tickets/37700)
Debug info
Kind: support
Target area: analytics
Report event: http://go/ticketByUUID/2946a9b0-8369-4994-8b33-abc4a8eb3b4c
Session: https://us.posthog.com/project/sTMFPsFhdP1Ssg/replay/01987b27-85c9-7c08-93ae-aa8389d79a77?t=1355
Exceptions: https://us.posthog.com/project/2/error_tracking?filterGroup=%7B%22type%22%3A%22AND%22%2C%22values%22%3A%5B%7B%22type%22%3A%22AND%22%2C%22values%22%3A%5B%7B%22key%22%3A%22%24session_id%22%2C%22value%22%3A%5B%2201987b27-85c9-7c08-93ae-aa8389d79a77%22%5D%2C%22operator%22%3A%22exact%22%2C%22type%22%3A%22event%22%7D%5D%7D%5D%7D
Location: https://us.posthog.com/project/123996/insights/new#q=%7B%22kind%22%3A%22InsightVizNode%22%2C%22source%22%3A%7B%22kind%22%3A%22TrendsQuery%22%2C%22series%22%3A%5B%7B%22kind%22%3A%22EventsNode%22%2C%22event%22%3A%22shape%3Aversions_view%22%2C%22name%22%3A%22shape%3Aversions_view%22%2C%22math%22%3A%22dau%22%7D%2C%7B%22kind%22%3A%22EventsNode%22%2C%22event%22%3A%22shape%3Aversion_preview%22%2C%22name%22%3A%22shape%3Aversion_preview%22%2C%22math%22%3A%22dau%22%7D%2C%7B%22kind%22%3A%22EventsNode%22...&
Persons-on-events mode for project: person_id_override_properties_on_events
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 by locating the analytics filter component described in the request and trace how a selected value is saved and rendered as a filter or breakdown. Implement multi-selection that keeps the dropdown open until saving, respects supported limits, and adds each selected value; verify the resulting filters in the analytics interface.
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
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100