0
0
mirror of https://github.com/PostHog/posthog.git synced 2024-11-22 08:40:03 +01:00
Commit Graph

6791 Commits

Author SHA1 Message Date
Paul D'Ambra
3b14f7f20a
fix the date formatting typo (#8253) 2022-01-25 13:14:09 +01:00
Neil Kakkar
dab44302bb
Fix experiment creation bugs (#8254) 2022-01-25 11:46:00 +00:00
Michael Matloka
6df66208e3
UI enhancements (around dashboards) (#8227)
* Fix EditableField textarea width

* Make it clearer when a LemonButtonWithPopup is open

* Improve resizing dashboard items in mobile layout

* Add enter/exit animation to `Popup`

* Tune `ShareButton`

* Rotate `Popup` a bit less

* Improve style edge cases

* Use period instead of exclamation mark

* Update InsightsTable.tsx

* Align shadows with design

* Align modal shadow with design

* Update shadow opacity

* Use `perspective-origin: top`

* Rename `held` to `active`

* Update events.js
2022-01-25 11:29:03 +00:00
Paul D'Ambra
490f5742a6
do not call for events on mount (#8249) 2022-01-25 11:16:54 +01:00
Eric Duong
e01249e6bf
remove old people (#8232) 2022-01-25 10:04:38 +01:00
Paul D'Ambra
5d2a041851
Make backend not care about DateTime format (#8230)
* switch backend datetime filtering so it does not need property types and formats

* stop populating and using the property_type_format field (without yet removing it)
2022-01-25 10:01:08 +01:00
James Greenhill
44e9feb04d
Fix docs for hobby and add upgrade instructions (#8233)
* Fix docs for hobby and add upgrade instructions

* swallow errors from stop command (should error normally)

* persist env vars in docker-compose for hobby

* remove .hobby from docker-compose

* make file easier to test

* make env vars easier to template

* use docker-compose from git instead of curl

* test envsubst params

* default for sentry because exceptions

* tweaks to default logic
2022-01-24 22:14:50 -08:00
Li Yi Yu
d9041e94b9
Experiments creation side by side layout update (#8208)
* side by side layout

* prettier

* fix yucky bug

* hide start date on new experiments

* time formatting

* prettier
2022-01-24 18:00:45 -05:00
Rick Marron
2db294e40d
Fix recording filter analytics event (#8246) 2022-01-24 12:42:38 -08:00
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