0
0
mirror of https://github.com/PostHog/posthog.git synced 2024-12-01 04:12:23 +01:00
posthog/ee
Eric Duong 562e3bacfc
Funnel persons per step and dropoff (#4883)
* wip: pagination for persons on clickhouse funnels

* wip: added offset support for getting a list of persons; added support for conversion window;

* fixed mypy exception

* helper function to insert data for local testing

* moved generate code into separate class for more functionality later

* corrected person_distinct_id to use the person id from postgres

* minor corrections to generate local class along with addition of data cleanup via destroy() method

* reduce the number of persons who make it to each step

* moved funnel queries to a new folder for better organization; separated funnel_persons and funnel_trends_persons into individual classes;

* funnel persons and tests

* initial implementation

* invoke the funnel or funnel trends class respectively

* add a test

* add breakdown handling and first test

* add test stubs

* remove repeats

* mypy corrections and PR feedback

* run funnel test suite on new query implementation

* remove imports

* corrected tests

* minor test updates

* correct func name

* fix types

* func name change

* move builder functions to funnel base

* add test classe for new funnel

* Handle multiple same events in the funnel (#4863)

* dedup + tests

* deep equality. Tests to come

* write test for entity equality

* finish testing funnels

* clean up comments

* add ability to specify per step or dropoff persons

* remove defaults

* remove funnel_window parameter unless it's needed

* add param to filters

* test api

* remove print

* fix tests

* change distribution

* add none condition for funnel step

* add order by

* remove funnel window days

Co-authored-by: Buddy Williams <buddy@posthog.com>
Co-authored-by: Neil Kakkar <neilkakkar@gmail.com>
2021-06-29 12:22:42 -04:00
..
api Event definition drawer properties (#4722) 2021-06-24 09:00:59 +02:00
bin Add frontend local dev script for Clickhouse development (#4891) 2021-06-28 23:02:13 -07:00
certs
clickhouse Funnel persons per step and dropoff (#4883) 2021-06-29 12:22:42 -04:00
idl
kafka_client Plugin log entries (#3482) 2021-05-06 10:54:32 +03:00
management/commands Rename is_ee_enabled to is_clickhouse_enabled (#4216) 2021-05-13 16:56:54 +02:00
migrations Event properties taxonomy (#4486) 2021-06-03 09:22:16 -04:00
models Remove free clickhouse license (#4788) 2021-06-17 16:47:04 +03:00
tasks Funnel persons per step and dropoff (#4883) 2021-06-29 12:22:42 -04:00
__init__.py
apps.py
conftest.py Plugin log entries (#3482) 2021-05-06 10:54:32 +03:00
docker-compose.ch.test.yml Fix docker dev environment (#3861) 2021-04-03 20:41:47 +02:00
docker-compose.ch.yml Add frontend local dev script for Clickhouse development (#4891) 2021-06-28 23:02:13 -07:00
LICENSE
settings.py
urls.py