For some reason, this test has been failing reliably the past day,
returning 2 people instead of 1.
The culprit should be https://github.com/PostHog/posthog/pull/5572 but
not sure why tests passed on that branch?
* WIP: Migration to migrate person_distinct_id to CollapsingMergeTree
* Improve migrations
* Another attempt at migration
Using nullable otherwise it defaults without the default 😅
* Linter approved
* Update test code
* Fix testing issues
* Fix dev.Dockerfile
See https://github.com/PostHog/posthog/pull/5609 for why this broke
Bullseye has libpq-dev version 13 and apt doesn't support version ranges
so removing the package version seems all we can do 😅
* Pin version to bypass linter
* load the funnel after the logic mounts, not after the component
* move logicFromInsight to another file to avoid recursive imports of funnelLogic and insightLogic
* take last applied filters directly from results
* fix type
* more meaningful default key
* add some props (WIP)
* only run insight query start/end tracking if on insights
* fix some types
* load the funnel only if valid to do so; prevents initial "loaded, but error" state
* remove debug
* still call startQuery/endQuery on insightLogic
* convert dashboardLogic to TS
* fix more ts errors
* fix more TS errors
* save last used filters with results
* fix type import path for typegen
* Extract method from funnels code
* Add failing test case for using denormalized property in a funnel breakdown
* Handle materialized event properties in funnel breakdown
* Refactor property lookups
* Use denormalized properties in paths
* Update validation tests
* Update validation tests
* Fix a broken test
* Move test around
* Type python Property.type
* Type Filter.breakdown_type in python
* Fix typing issue in actions view
* Type python Filter.insight
* Type python Filter.display
* Type python Filter.interval, fix resulting typing errors
* Type python funnel Filter.layout
* Type python funnel Filter.funnel_window_interval_unit
* Type python Filter.retention_type
* Type python funnel Filter.funnel_window_interval_unit_ch
* Type python path Filter.path_type
* Type python path Filter.target_event
* Type Entity.type
* Type python Property.operator
* custom tooltip component and typing for actions
* change delay to 500ms
* cautionary comment
* debouncing visible
* dont introduce new html element into tooltip, use cloneElement instead
* add prop types and default override prop to tooltip
* Improve insight refreshing UX
* Clean up
* Make sure `ComputationTimeAndRefresh` is on the right in Trends too
* Fix typing and some inconsistencies
* Remove unused const
* Update test_clickhouse_insights.py
* Update decorators.py
* Refactor `ComputationTimeWithRefresh` into own file
* pull description into its own reuseable component
* working object tags for insights
* refactor editing toast and add insight description editing
* insight name editing and split up huge insights component
* fix toast bug
* typing
* test fixes and clean up
* test something
* add cypress tests
* bug fixes
* test with user logic dashboard collab instead
* history is now a link button
* hide under saved insights feature flag
* skip tests for now
* prettier
Co-authored-by: Paolo D'Amico <paolodamico@users.noreply.github.com>
* allow cohort breakdown to show
* Sanitize `order` in `Entity.__init__`
* Remove kludge from #5485 by making `entity.order` useful in practice
* Use synthetic `index` instead of user-provided `order`
* Fix `processed_entities` sorting
* Update frontend/src/scenes/funnels/funnelLogic.ts
Co-authored-by: Karl-Aksel Puulmann <macobo@users.noreply.github.com>
* change type guard and add number back
* remove typeguard and add correct types for cohorts
* remove type change
* working cohort breakdowns ui
* one more type fix
* adjust tests
* adjust tests
* more test adjustmenet
* minor syntax change
* use breakdown type
* add comment
* remove leakover
Co-authored-by: Michael Matloka <dev@twixes.com>
Co-authored-by: Karl-Aksel Puulmann <macobo@users.noreply.github.com>
Co-authored-by: Sam Winslow <sammywinslow@gmail.com>
* Use official rrweb version again and update
* Bump rrweb to 1.0.2 (from 1.0.1)
* Use updated `@posthog/react-rrweb-player`
Co-authored-by: Michael Matloka <dev@twixes.com>