0
0
mirror of https://github.com/PostHog/posthog.git synced 2024-12-01 12:21:02 +01:00
Commit Graph

6895 Commits

Author SHA1 Message Date
Li Yi Yu
08801456c1
Fix experiments misc bugs (#8151)
* fix editing existing insight type bug

* update experiments table properly

* fix conversion/trend goals display

* fix progress bar bug

* type fix

* more fixes

Co-authored-by: Neil Kakkar <neilkakkar@gmail.com>
2022-01-21 11:01:59 +00:00
Neil Kakkar
49e4c9eef8
Experiments Significance calculations cleanup on frontend (#8167)
* clean up frontend for significance

* rm tests
2022-01-21 10:27:18 +00:00
Neil Kakkar
a65e1116e0
Better experiment Significance calculations for Funnels (#8166)
* compute exposure independently for trend experiments

* use feature_flag_called instead

* make snapshot deterministic

* update funnel significance calculations
2022-01-21 10:22:07 +00:00
Michael Matloka
50e9334269
Make bin/start docker compose instructions accurate (#8168) 2022-01-21 10:23:00 +01:00
Tiina Turban
515787f6c6
Enable new person props update/merge on cloud all teams (#8126) 2022-01-20 19:41:25 +01:00
Neil Kakkar
01d1a4aab3
Compute exposure independently for trend experiments (#8114)
* compute exposure independently for trend experiments

* use feature_flag_called instead

* make snapshot deterministic
2022-01-20 16:46:00 +00:00
Tim Glaser
041402e394
Update mypy and typed_ast (#8160)
* Update black to 21.12b0

* Don't update black, update mypy instead

* fix mypy issue
2022-01-20 14:19:43 +00:00
Marius Andra
461ee84a0a
Refactor logic test types (housekeeping) (#8161)
* use ReturnType<typeof logic.build> instead of the more complicated type that needs a lot of imports

* revert side-effect

* revert another oops

* revert yet another oops

* add .build
2022-01-20 13:43:13 +00:00
Neil Kakkar
dea99cc256
Show Significance banner in either case for experiments (#8138)
* update banner for both cases

* resolve some subtle bugs

* adjust

* address comment
2022-01-20 13:32:01 +00:00
Paul D'Ambra
c38d2c343c
Add linter rule to guide people to the right dayjs import (#8156)
* add linter rule to guide people to the right dayjs import

* resolves dayjs linting errors
2022-01-20 13:13:29 +01:00
PostHog bot
258cc6552c
Update posthog-js to 1.17.3 (#8157) 2022-01-20 10:31:42 +00:00
Karl-Aksel Puulmann
153b58d9f9
Use structlog over logging (#8155) 2022-01-20 10:48:06 +02:00
Alex Gyujin Kim
f6c2e84dab
remove chartLabel (#8140) 2022-01-20 09:34:52 +01:00
Alex Gyujin Kim
27bd02ba60
Find aggregation group index properly (#8095) 2022-01-19 22:08:46 +00:00
James Greenhill
f1964d4ad9
telemetry: send clickhouse version with instance status reports (#8131)
* telemetry: send clickhouse version with instance status reports

* fix imports

* string serialize version
2022-01-19 12:09:31 -08:00
Rick Marron
24b7e7afe4
only get recordings for paths + trends (#8127) 2022-01-19 10:49:12 -08:00
Michael Matloka
d9ec447233
Rearrange insight card and add menu options (#8137)
* Rearrange insight card and add menu options

* Update InsightCard.stories.tsx

* Make function names so clear that comments are completely redundant
2022-01-19 16:45:31 +00:00
Eric Duong
2ea18b382b
Encode prepared urls (#8103)
* encode

* don't use named

* fix typing

* add test

* add more comment

* remove lamdbas

* restore original
2022-01-19 09:29:00 -05:00
Eric Duong
6b6de16826
fix(cohorts): don't substitute params (#8124)
* don't substitute

* add test
2022-01-19 09:28:44 -05:00
Neil Kakkar
4c2ba73934
Bring back experiment conversion rate details (#8135) 2022-01-19 11:49:51 +00:00
Michael Matloka
8affcad34c
Support all insights in InsightCard (#7904) 2022-01-19 12:03:54 +01:00
Li Yi Yu
576cd6e82c
Experiment conversion goal and update preview card (#8016)
* add progress probability bar for trends

* update preview card

* move things

* make experiment preview/implementation details a collapsible row

* order conversion probabilities

* clean up views

Co-authored-by: Neil Kakkar <neilkakkar@gmail.com>
2022-01-19 10:57:46 +00:00
Paul D'Ambra
6f2334b5db
Rename APM to Web Peformance (#8120)
* rename APM to Web Peformance and marks it as beta in the sidebar

* remove all other references to APM (apart from feature flag)

* remove highlight, update label from beta -> preview

Co-authored-by: Marius Andra <marius.andra@gmail.com>
2022-01-19 10:15:30 +01:00
Eric Duong
5a4c0bac53
prettier workflow file (#8125) 2022-01-19 04:52:38 +00:00
Alex Gyujin Kim
0ba385277b
Add new definition panel (#8104) 2022-01-18 20:11:40 -06:00
Rick Marron
2b9917a915
Recordings in paths (#8015)
* add recordings to path query

* uncomment cache

* add clarifying comment

* works for start/end paths

* move to extra fields/properties

* add tests

* cleanup

* update ff name

* fix flaky test

* test and handle path_dropoff_key case
2022-01-18 15:29:52 -08:00
James Greenhill
5072c97e4f
Disable colors in logging ease of reading in places like CloudWatch (#7869)
* Disable colors in logging ease of reading in places like CloudWatch

* format files
2022-01-18 14:04:40 -08:00
James Greenhill
6a5b076f9b
Notify slack at start of deploy with Github Actions (#8123) 2022-01-18 13:46:01 -08:00
James Greenhill
63b4ae812f
Github action notify slack channel on deploy (#8122)
* Add Slack notification for deploys

* update message
2022-01-18 13:37:21 -08:00
Alex Gyujin Kim
22ea1cf682
Tooltips: sort by count and fix render issue (#8046) 2022-01-18 20:34:46 +00:00
Michael Matloka
b1f304754f
Redesigned person & group pages (#7988)
* Implement new person page layout

* Simplify default 404 page similar to person 404

* Set page headings to weight 600 instead of 700 to align with design

* Fix style of person loading state and page title

* Don't use deprecated `substr`

* Rework `LemonRow` compact mode

* Rework group page too

* Update group 404 message

* Fix `personsLogic`

* Add comment

* Fix type name conflict

* Update Person.cy-spec.js

* Update person.js

* Update Person.cy-spec.js

* Fix display of extra person IDs

* Update Person.cy-spec.js

* Improve property key/value sizing

* Update person.js

* Optimize personsLogic's urlToAction

* Put property deletion button in its own rightmost column

* Add `SessionRecordingsTable` empty state

* Use `IconDeleteForever` instead of `IconClose` for deletion

* Update person.js

* Fix sync of person and cohorts

* Fix "Should merge person"
2022-01-18 21:24:19 +01:00
Alex Gyujin Kim
4fcd71c95f
Fix (empty string) showing for valid (#8117) 2022-01-18 11:56:53 -08:00
Yakko Majuri
d25fc565f6
Stateless plugins (#8112)
* WIP stateless plugins

* add test

* fix tests

Co-authored-by: James Greenhill <fuziontech@gmail.com>
2022-01-18 19:42:09 +00:00
Eric Duong
a71e899605
Yeetcode (#7830)
* remove django query tests

* remove funnel and caching check

* remove ee available var

* remove is_clickhouse_enabled

* remove abstract tests

* change primary db

* missing func

* unnecessary test

* try new e2e ci

* func arg

* remove param

* ci

* remove plugins in docker

* background

* change ur;

* add kafka url

* add step

* update docker

* primary docker file

* mount volumes correctly

* one more

* remove postgres tests

* remove foss

* remove all  is_clickhouse_neabled

* remove irrelelvant test

* remove extra arg

* remove var

* arg

* add foss comment

* add foss comment

* plugin server config

* Update posthog/utils.py

Co-authored-by: Karl-Aksel Puulmann <macobo@users.noreply.github.com>

* migrate commands

* comment

* add clickhouse to pg tests

* change script

* change ordering

* deepsource

* restore foss tests

* test remove KAFKA_ENABLED from CI

* always wait

* up proper resources

* use one conftest

* restore

* remove unnecessary tests

* remove more pg

* log event tests

* fix more tests

* more tests

* type

* fix more tests

* last test

* typing

* account for shared class setup

* temp test cloud

* restore cloud master checkout

* adjust contexts

* backwards

Co-authored-by: Karl-Aksel Puulmann <macobo@users.noreply.github.com>
Co-authored-by: yakkomajuri <yakko.majuri@gmail.com>
2022-01-18 14:32:28 -05:00
Yakko Majuri
cbb9b22d0b
handleAlert API for plugins (#8116)
* wip handleAlert

* handleAlert scaffolding

* add test

* fix tests

* fix test
2022-01-18 16:02:24 -03:00
Tiina Turban
cd94c8dc26
Alternative side-effects solution for async migrations (#7711)
* Alternative side-effects solution for async migrations

* Add a classmethod for simple op creation

* Other files

* remove rollback timeout where it shouldnt be

* nits

* nits

* fix 0002 migration side-effect ordering

* missing self

* fix tests

* fix migration

* fix types
2022-01-18 15:07:41 -03:00
Eric Duong
dc0fa2dc6d
fix(retention): actor bug (#8079)
* add team param

* move test

* restore
2022-01-18 12:05:47 -05:00
Neil Kakkar
7bf0cbbf4f
Secondary experiment metrics backend (#8065)
* wip secondary experiments

* clean up

* tweak initialiser
2022-01-18 16:42:48 +00:00
Tim Glaser
da63a728c5
E2E don't login before each test (#8111)
* E2E don't login before each test

* fix
2022-01-18 16:16:44 +01:00
Alex Gyujin Kim
204ca1bc92
Add verified properties to event definitions (#8081)
Co-authored-by: Paolo D'Amico <paolodamico@users.noreply.github.com>
2022-01-18 08:38:55 -06:00
Tim Glaser
0bd224df07 Add skip_service_version_requirements to bin/start 2022-01-18 14:05:22 +00:00
Tim Glaser
c25e1cc6fc
Fix e2e command (#8106) 2022-01-18 11:25:56 +00:00
Karl-Aksel Puulmann
cae9b59779
Fix lifecycle rounding logic (#8057) 2022-01-18 09:52:49 +02:00
Paolo D'Amico
eafa0225ce
More pre-instrumentation for collaboration (#8049) 2022-01-17 13:23:45 -08:00
Alex Gyujin Kim
394e7757a7
Add FF for collaborations taxonomy (#8102) 2022-01-17 20:44:19 +00:00
Eric Duong
8d5a2e77c4
Flag insight cohorts (#8099)
* flag insights

* make truthy
2022-01-17 14:31:15 -05:00
Tiina Turban
e869a01e34
Fix async migrations instance settings page (#8098) 2022-01-17 19:41:35 +01:00
Yakko Majuri
b5f088d7a9
fix runEveryMinute not being called on plugins using exportEvents (#8097) 2022-01-17 16:46:17 +00:00
Paul D'Ambra
a6559a0824
Adds a better regex for detecting ISO8601 date format strings (#8093)
* widen the ISO8601 regex for autodetection

* even wider ISO 8601 timezone detection
2022-01-17 15:56:16 +00:00
Tiina Turban
243d786423
Add stop without rollback api (#8048) 2022-01-17 15:35:15 +01:00