mirror of
https://github.com/PostHog/posthog.git
synced 2024-12-01 04:12:23 +01:00
7bca1b78c1
* 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 |
||
---|---|---|
.. | ||
api | ||
benchmarks | ||
bin | ||
certs | ||
clickhouse | ||
idl | ||
kafka_client | ||
management/commands | ||
migrations | ||
models | ||
tasks | ||
__init__.py | ||
apps.py | ||
conftest.py | ||
docker-compose.ch.arm64.yml | ||
docker-compose.ch.test.yml | ||
docker-compose.ch.yml | ||
LICENSE | ||
settings.py | ||
urls.py |