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

6982 Commits

Author SHA1 Message Date
Li Yi Yu
bd1f20c30f
Archive and delete experiments (#8129)
* add archive experiment button and table for archived experiments and non-archived

(cherry picked from commit 7323835705)

* return response instead of reloading experiment again

* delete button

* prettier

* python black

* typescript fix

* delete without undo and fix get results

* experiments backend test

* fix backend test

* prettier

* fix get queryset archived experiments request

* fixes

* prettier

* typescript fixes
2022-01-24 14:11:15 -05:00
Yakko Majuri
2814927a14
fix async migrations swttings don't update (#8240) 2022-01-24 17:34:04 +00:00
Yakko Majuri
36cb6a19bc
increase 0002 async migration range (#8235) 2022-01-24 14:23:45 -03:00
Tim Glaser
f47b1308b5
[Proposal] Add automatic swagger doc generation (#8148)
* Add automatic swagger doc generation

* Fix test and mypy

* formatting

* fix formatting

* formatting

* update

* fix mypy
2022-01-24 17:21:56 +00:00
Paul D'Ambra
04001be493
disable FOSS workflows by moving them (#8231) 2022-01-24 16:53:12 +00:00
Neil Kakkar
94871a9004
Bring back add exclusion button for Paths (#8238) 2022-01-24 16:34:55 +00:00
Neil Kakkar
d07f0fd14c
Fix Significance bugs and FF enablement bug (#8218)
* fix significance bugs and FF enablement bug

* reduce flaky test sensitivity
2022-01-24 16:26:21 +00:00
Marius Andra
df48e8c29a
Insight hash url (#8228)
* store insight filters in the #filters=

* test for legacy url redirect, update new paths in urls

* link to short urls from saved insights
2022-01-24 17:12:48 +01:00
Marius Andra
c6de4cd0d5
use dayjs.tz to override timezone in tests (#8229) 2022-01-24 15:51:19 +00:00
Paolo D'Amico
45245d7e43
Update persisted flags for 1.32.0 (#8214) 2022-01-24 15:40:43 +00:00
Neil Kakkar
840781871b
Update experiments model (#8189)
* update experiments model

* fix typings

* fix bugs

* rename latest
2022-01-24 14:59:14 +00:00
Michael Matloka
389313d77a
Remove button logic for newEvents.length (#8225) 2022-01-24 15:53:14 +01:00
Paolo D'Amico
96a64f9fbb
Skip test on multi-tenancy (#8226) 2022-01-24 14:04:56 +00:00
Paul D'Ambra
d6658e354a
Pause polling when there are new events, restart it when they are shown (#8194)
* pause polling when there are new events, restart it when they are shown

* do not pause polling if there are no new events to show

* fix typo

* restart polling on toggle automatic reload
2022-01-24 13:14:24 +00:00
Paul D'Ambra
52351afcc5
Disable foss sync job without erroring (#8222) 2022-01-24 13:03:50 +00:00
Paul D'Ambra
cbcff001f8
Update storybook for the web performance page (#8219)
* update to the latest version

* add working state for the web performance story

* Revert "update to the latest version"

This reverts commit e7dbd4e5da.
2022-01-24 13:48:04 +01:00
Karl-Aksel Puulmann
fda07665e5
Update test snapshots and test code (#8220) 2022-01-24 14:18:34 +02:00
Marius Andra
35fb6018b0
Add "insight loaded" event when taking the turbo highway (#8043) 2022-01-24 12:01:03 +00:00
Li Yi Yu
5bc82ec6cd
Add back experiment MDE slider (#8176)
* add slider and get rid of funnel persons table

* style update

* fix parameters update

* adjustments to make slider work

* fix comments

Co-authored-by: Neil Kakkar <neilkakkar@gmail.com>
2022-01-24 11:16:28 +00:00
Tim Glaser
b2edad7772
Revert "Remove axes (#8206)" (#8212) 2022-01-24 09:15:22 +00:00
Michael Matloka
1bce7effaa
New DashboardHeader and better EditableField (#8146)
* Reimplement `EditableField` to be seamless

* Implement base of `LemonDashboardHeader`

* Get rid of `controlledMode`

* Make in-progress dashboard updates tentatively apply in local state

* Add `sharedDashboard` to `urls`

* Complete new `DashboardHeader`

* Iterate on `EditableField`

* Use simpler terms for editing layout

* Update dashboardPremium.js

* Fix saving tags

* Improve EditableField sizing

* Reposition Popup on size change

* Remove LemonButton-in-Popup magic

* Remove `updateDashboard` pre-saving

* Use muted color only for the placeholder

* Add payment gate to descriptions

* Update LemonDashboardHeader.tsx

* Update dashboard.js

* Revert "Update dashboard.js"

This reverts commit 50cf72d549.
2022-01-22 01:27:30 +01:00
Tim Glaser
f03eec242d
Remove axes (#8206) 2022-01-21 22:53:35 +00:00
Tim Glaser
cf428baec7
Revert "Enable new properties update by default (#8195)" (#8207)
This reverts commit 887c65a78b.
2022-01-21 22:48:30 +00:00
Michael Matloka
cd9b51fdab
Insight card polishes (#8196)
* Use default time range

* Highlight highlighted cards moar

* Make the dashboard item resizing placeholder more obvious

* Adjust resizing handle sizing

* Fix funnel display

* Improve table display

* Fix paths overflow

* Fix viz padding
2022-01-21 20:56:23 +00:00
Tim Glaser
c093b593ac
Revert "Configure email settings via Constance (#8105)" (#8200)
This reverts commit d955f734c3.
2022-01-21 20:00:51 +00:00
Tiina Turban
d5fce14cea
async migrations separate errors table (#8152) 2022-01-21 19:54:47 +01:00
Tiina Turban
887c65a78b
Enable new properties update by default (#8195) 2022-01-21 19:27:05 +01:00
Paolo D'Amico
f85b29cdce
Experimentation call prompt (#8145)
Co-authored-by: Neil Kakkar <neilkakkar@gmail.com>
2022-01-21 11:37:18 -06:00
Paolo D'Amico
d955f734c3
Configure email settings via Constance (#8105) 2022-01-21 11:36:17 -06:00
Paolo D'Amico
7fa779bbc6
Experimentation API pay gate (#8172) 2022-01-21 09:55:22 -06:00
Paolo D'Amico
df49e7ae77
Experimentation pay gate (#8169) 2022-01-21 09:54:48 -06:00
Yakko Majuri
eefc0ba96b
Dynamically generate 0002 events migration ops (#8080)
* Dynamically generate 0002 events migration ops

* fix accidental commit

* fix types

* updates, fix tests
2022-01-21 15:13:20 +00:00
Eric Duong
12da43034f
yeet(actions): Consolidate clickhouse actions to actions (#8150)
* actions working

* tests working

* types

* snapshots

* update snapshots
2022-01-21 09:42:18 -05:00
Yakko Majuri
22b5f7f6b3
Skip service version reqs on DEBUG (#8188) 2022-01-21 10:06:32 -03:00
Yakko Majuri
876deacf41
add async migration update emails (#7929)
* add special migration update emails

* add email templates

* check if email is available before trying to send it

* Update posthog/templates/email/async_migration_error.html

Co-authored-by: Tiina Turban <tiina303@gmail.com>

* Update posthog/templates/email/async_migration_status.html

Co-authored-by: Tiina Turban <tiina303@gmail.com>

* add new func

* fix bug

* fix typo

* Update posthog/settings/dynamic_settings.py

Co-authored-by: Tiina Turban <tiina303@gmail.com>

* Update posthog/settings/dynamic_settings.py

Co-authored-by: Tiina Turban <tiina303@gmail.com>

* Update posthog/async_migrations/utils.py

Co-authored-by: Tiina Turban <tiina303@gmail.com>
2022-01-21 12:35:55 +00:00
Marius Andra
6d9bde80c1
Property filter URL disconnect version 2 (#8162)
* disconnect property filters

* fix two more tabs

* update kea

* pass dependent logic directly

* use the right props for EventsTable

* it's always different...

* modernise path item filters

* avoid an extra action for new filters, sync with props
2022-01-21 13:14:20 +01:00
Michael Matloka
1cba358600
Add resize handles to InsightCard (#8174)
* Add resize handles to `InsightCard`

* Optimize vars mixins that are imported multiple times over

* Update InsightCard.stories.tsx

* Clarify prop
2022-01-21 11:27:11 +00:00
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