0
0
mirror of https://github.com/PostHog/posthog.git synced 2024-12-01 04:12:23 +01:00
posthog/ee
Harry Waye 7bca1b78c1
feat(correlation): use people_url to load people modal (#6992)
* feat(correlation): use people_url to load people modal

This change adds a new method to the `personsModelLogic` to allow for
specifying a url to be used to retrieve people from. I've avoided
overloading the existing `loadPeople` and rather added a new one,
`lostPeopleFromUrl`.

Currenlty this is only being used by correlations, but the intention is
to extend it's usage to anywhere else that is performing drilldowns to
people from, for instance, the trends aggregation.

* add paycard back

* make labels look right

* remove unused code

* fix typing in test

* fix typing in personsModelLogic

* refactor to make eventUsageLogic work

* fix typing

* fix typing again

* remove some funnel stories

* get storybook working with paycard

* cleaned up the interface a little

* chore(correlation): use `api.get` for fetching people

This updates to use api.get, and also converts the returned uri from the
correlation endpoint to an absolut uri, instead of just an absolute
path.

The `api.get` method expects either an abolute uri, or a relative path.
I'd rather not use an relative path as it's not obvious what it should
be relative to.

* fix tests

* make storybook uris absolute
2021-11-10 12:54:48 +00:00
..
api feat(correlation): load exclude properties from team settings (#6715) 2021-11-02 11:12:13 +00:00
benchmarks Modify query to not use properties for autocapture (#6711) 2021-10-28 13:12:26 +01:00
bin
certs
clickhouse feat(correlation): use people_url to load people modal (#6992) 2021-11-10 12:54:48 +00:00
idl
kafka_client Proposal: Use unique topic names for kafka in test (#6746) 2021-11-01 11:42:56 +02:00
management/commands
migrations Project-based permissioning framework (#5976) 2021-09-22 18:29:59 +02:00
models Introduce pay gate for correlation analysis (#6720) 2021-11-03 11:41:16 -06:00
tasks BE (Groups/Trends): Make breakdowns work with groups (#6899) 2021-11-05 13:47:41 +02:00
__init__.py
apps.py
conftest.py [local testing] Track executed migrations when locally testing (#6915) 2021-11-08 10:40:05 -05:00
docker-compose.ch.arm64.yml dev(arm): use x86 kafka image even on arm (#6357) 2021-10-11 15:01:48 +00:00
docker-compose.ch.test.yml
docker-compose.ch.yml Revert "Update the docker-compose dev environment to reflect prod better (include pgbouncer) (#6558)" (#6692) 2021-10-27 05:54:48 -07:00
LICENSE
settings.py Fix EnvVar for MATERIALIZED_COLUMNS_ENABLED (#6503) 2021-10-17 16:42:37 +00:00
urls.py Project-based permissioning framework (#5976) 2021-09-22 18:29:59 +02:00