mirror of
https://github.com/PostHog/posthog.git
synced 2024-11-30 19:41:46 +01:00
80a699ef4e
* convert sessions table logic to TS * convert rest of sessions to TS * sessions table logic refactor, store date in the url * add back/forward buttons * load sessions based on the URL, not after mount --> avoids duplicate query if opening an url with a filter * prevent multiple queries * throw error if failed instead of returning an empty list * date from filters * rename offset to nextOffset * initial limit/offset block * indent sql * support limit + offset * load LIMIT+1 sessions in postgres, pop last and show load more sign. (was: show sign if exactly LIMIT fetched) * based offset is always 0 * default limit to 50 * events in clickhouse sessions * add elements to query results * add person properties to sessions query response * show seconds with two digits * fix pagination, timestamp calculation and ordering on pages 2 and beyond * mypy * fix test * add default time to fix test, fix some any(*) filter issues * remove reverse * fix mypy error, indent SQL * add pagination test for postgres * Run insight API tests in Clickhouse Co-authored-by: Eric <eeoneric@gmail.com> |
||
---|---|---|
.. | ||
api | ||
certs | ||
clickhouse | ||
idl | ||
kafka | ||
management/commands | ||
migrations | ||
models | ||
tasks | ||
__init__.py | ||
apps.py | ||
docker-compose.ch.yml | ||
LICENSE | ||
settings.py | ||
urls.py |