0
0
mirror of https://github.com/PostHog/posthog.git synced 2024-11-24 09:14:46 +01:00
posthog/bin
Tim Glaser 92e8bbd283
[Clickhouse] Event list (#1787)
* 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

* WIP event list

* Events progress

* Finish off event listing, skip live actions for now

* Fix mypy

* Fix mypy again

* Try fixing mypy

* Fix assertnumqueries

* Fix tests

* Fix tests

* fix test

* Fix tests

* Fix tests

* Fix tests again

Co-authored-by: Marius Andra <marius.andra@gmail.com>
Co-authored-by: Eric <eeoneric@gmail.com>
2020-10-01 15:47:35 +02:00
..
docker
docker-dev Webpack HMR, Add hashes to chunk filenames. (#878) 2020-06-02 10:39:53 +01:00
docker-dev-web [Clickhouse] Event list (#1787) 2020-10-01 15:47:35 +02:00
docker-migrate
docker-preview
docker-server
docker-worker Remove celerybeat.pid before starting docker worker (#1608) 2020-09-08 10:32:41 -07:00
docker-worker-beat Helm redis (#558) 2020-04-13 16:22:06 +01:00
docker-worker-celery Use celery defaults, bumping workers only increased latency of event processing (#1584) 2020-09-04 16:21:55 -07:00
frontend-test-runner Cypress tests (#789) 2020-05-19 14:48:10 -04:00
pull_production_db
start
start-backend
start-frontend Webpack HMR, Add hashes to chunk filenames. (#878) 2020-06-02 10:39:53 +01:00
start-frontend-https Https locally (#910) 2020-06-04 10:14:54 +01:00
start-https New toolbar cookie + Secure session/csrf cookies (#1387) 2020-08-11 10:52:43 +02:00
start-worker Closes #169 break down by cohort (#690) 2020-05-11 22:06:35 +01:00
tests "Clickhouse Features V2 (#1565)" (#1750) 2020-09-29 15:17:26 +01:00