Paolo D'Amico
505507b040
Release onboarding #2822 & final tweaks ( #3174 )
2021-02-09 14:28:51 +01:00
Paolo D'Amico
ba7866a8c0
Billing page improvements ( #3192 )
...
Co-authored-by: Michael Matloka <dev@twixes.com>
2021-02-09 14:02:31 +01:00
Karl-Aksel Puulmann
259a2290b4
Serialize/deserialize elements_chain on webhooks_ee ( #3262 )
...
Solves https://sentry.io/organizations/posthog/issues/2207757069/?project=1899813&query=is%3Aunassigned+is%3Aunresolved
2021-02-09 13:54:02 +01:00
Gustav Westling
afefa3eb43
Updated Go Instructions ( #3256 )
...
posthog.NewWithConfig returns two values [1], updated the code to use (but ignore) the error.
os.GetEnv does not work this way, use the API key directly in a string.
1: https://pkg.go.dev/github.com/posthog/posthog-go#NewWithConfig
2021-02-09 13:21:15 +02:00
Paolo D'Amico
8926864949
Fix update indicator on top navigation ( #3258 )
2021-02-09 12:19:21 +01:00
Michael Matloka
62846fd565
Capture EE webhook task sending error ( #3254 )
2021-02-09 11:25:52 +01:00
Marius Andra
b7133c47b3
plugin server 0.7.5 ( #3250 )
2021-02-09 11:23:07 +01:00
Tim Glaser
0470f8d8fa
Always show non-anonymous distinct id first ( #3251 )
2021-02-09 11:16:46 +01:00
Michael Matloka
973769340a
Revert "Revamp and optimize hooks on EE ( #3119 )" ( #3249 )
...
This reverts commit 5485fb058d
.
2021-02-09 10:16:38 +01:00
Michael Matloka
5485fb058d
Revamp and optimize hooks on EE ( #3119 )
...
* Revamp and optimize hooks on EE
* Improve retry strategy
* Improve some minor things
* Cache available_features in memory
* Address feedback
2021-02-09 09:52:19 +01:00
Tim Glaser
57d0280bac
Add capture exception cohorts ( #3245 )
...
* Add capture exception cohorts
* do both
2021-02-08 20:28:55 -05:00
Tim Glaser
b804ba9619
Refreshing insights ( #3144 )
...
* Refreshing insights
* Fix dashboarditem
* put exceptionhog back
* Fix ts issues
* fix tests
* Fix tests
* Remove printers
* fix type errors
* fix test
* Fix flickering
* Fix issues switching between views
* Use result for backwards compatability
* Fix tests
2021-02-08 20:26:36 +01:00
Michael Matloka
6e8e729a68
Separate Jest from frontend code quality job ( #3241 )
2021-02-08 18:36:56 +01:00
Tim Glaser
2297b0f1cf
Grab all events and properties even if job hasn't run yet ( #3200 )
...
* Grab all events and properties even if job hasn't run yet
* Use next on generator instead of list comprehension
* Replace IndexError with StopIteration
* Don't raise StopIteration at all
* try delay
Co-authored-by: Michael Matloka <dev@twixes.com>
2021-02-08 18:34:27 +01:00
Karl-Aksel Puulmann
3608e3bdf7
Ellipsis for long action names ( #3239 )
...
Solves https://github.com/PostHog/posthog/issues/3163
2021-02-08 18:24:13 +02:00
Eric Duong
1dbd3df937
2794 retention people ( #3108 )
...
* frontend changes
* backend changes
* remove print
* fix query
* remove print
* fix date
* fix tests
* fix trend query
* type
* adjust again
* another adjustment
* run again
* remove any
* fix array iteration
2021-02-08 10:28:38 -05:00
Paolo D'Amico
c1518e8b97
Fix more z-index wonkiness ( #3210 )
2021-02-08 16:23:44 +01:00
Karl-Aksel Puulmann
02f611b698
Fix stickiness comparison ( #3195 )
...
* Make stickiness comparison work
This blew up because comparison code was not initializing the right
subclass of filter.
https://sentry.io/organizations/posthog/issues/2137356539/?project=1899813&query=is%3Aunassigned+is%3Aunresolved&statsPeriod=14d
* Use new method in retention
* Include data in repr for filter
This should make debugging via sentry easier
2021-02-08 17:03:37 +02:00
Karl-Aksel Puulmann
ac4180e551
Fix Cannot read property 'sessionsPlayLogic' of undefined
( #3235 )
...
Sentry error: https://sentry.io/organizations/posthog/issues/2205276842/?project=1899813&query=is%3Aunassigned+is%3Aunresolved
2021-02-08 17:03:28 +02:00
Michael Matloka
5e61bd7f80
Improve invites ( #3232 )
...
* Clean up Invites component
* Don't overwrite user's clipboard with invite URL unexpectedly
2021-02-08 15:18:06 +01:00
Tim Glaser
c9d607e816
Remove any loaders errors ( #3220 )
...
* Remove any loaders errors
* fix typing
* Fix line errors
* Fix formatting
2021-02-08 13:48:16 +01:00
Karl-Aksel Puulmann
159cfc97dd
Improve project deletion ( #3234 )
...
* Improve project deletion
I noticed that we immediately reload after project gets deleted - before
the actual request completes and any data is deleted, making it seem it
did not work.
This fixes that, showing a toast while the request is outgoing.
* Fix margin from CreateProjectModal error
Co-authored-by: Michael Matloka <dev@twixes.com>
2021-02-08 13:14:07 +01:00
James Hawkins
a997f3aa4e
Added new functionality to readme ( #2963 )
...
* Added new functionality to readme
More to do, but this is a quick improvement
* tweaked wording
* Update README.md
Co-authored-by: Yakko Majuri <38760734+yakkomajuri@users.noreply.github.com>
2021-02-07 11:30:58 +00:00
Marius Andra
dfcc9f7fb4
upgrade plugin server to 0.7.4 ( #3226 )
2021-02-06 10:44:34 +01:00
Marius Andra
eed06ffd59
Upgrade plugin server to 0.7.3 ( #3225 )
2021-02-06 10:22:11 +01:00
James Greenhill
e8dcf13ad0
Emit timing gauge to statsd for sync_execute on clickhouse ( #3209 )
...
* Emit timing gauge to statsd for sync_execute on clickhouse
* take out of block for SHELL_PLUS_PRINT_SQL
* add docker testing for ease
* comment out cypress projectid
2021-02-05 14:13:38 -08:00
Eric Duong
7455b8d2a8
add type and null check before reporting ( #3224 )
...
* add type and null check before reporting
* add more types
* make type consistent
2021-02-05 15:56:27 -05:00
Eric Duong
811f96586d
Make action null safe ( #3223 )
...
* make action null safe
* add team id to filter
* change to proper exception
2021-02-05 15:38:15 -05:00
Karl-Aksel Puulmann
090bc73c0c
Don't blow up if funnel has no steps ( #3222 )
...
If funnel has no steps, we still send query from frontend despite
showing no results. While we could change frontend, we can also make the
query more robust.
Sentry: https://sentry.io/organizations/posthog/issues/2201253144/?project=1899813&query=is%3Aunassigned+is%3Aunresolved&statsPeriod=14d
2021-02-05 22:24:47 +02:00
Karl-Aksel Puulmann
93e8e3e73d
Fix SelectBox keyboard navigation ( #3211 )
...
This was broken since I added support for it in sessions. Typescript
errors were leading to real bugs.
Sentry error: https://sentry.io/organizations/posthog/issues/2161288131/?project=1899813&query=is%3Aunassigned+is%3Aunresolved&sort=freq&statsPeriod=14d
2021-02-05 21:38:31 +02:00
Karl-Aksel Puulmann
5fda581cbd
Add breakpoint() calls to cohortLogic ( #3217 )
...
This avoids issues if logic is unmounted before network request
finishes. https://kea.js.org/docs/guide/additional/#breakpoints
Sentry issue: https://sentry.io/organizations/posthog/issues/2072913139/?project=1899813&query=is%3Aunassigned+is%3Aunresolved&statsPeriod=14d
2021-02-05 21:27:50 +02:00
Eric Duong
f78805debd
Try catch property ( #3221 )
...
* remove faulty save and make property creation fault tolerant
* bring back save
* use local var
* add test
2021-02-05 14:26:53 -05:00
Karl-Aksel Puulmann
4ca5964347
Return 1 week of data when choosing 'all time' with no event data ( #3212 )
...
Fixes sentry error: https://sentry.io/organizations/posthog/issues/2140049760/?project=1899813&query=is%3Aunassigned+is%3Aunresolved&sort=freq&statsPeriod=14d
2021-02-05 14:19:41 -05:00
Karl-Aksel Puulmann
a57342e447
Avoid erroring when loading dashboards with no active project ( #3214 )
...
Related sentry error: https://sentry.io/organizations/posthog/issues/2070730230/?project=1899813&query=is%3Aunassigned+is%3Aunresolved&statsPeriod=14d
2021-02-05 14:18:35 -05:00
Karl-Aksel Puulmann
d0fef1b520
Remove broken copy-pasted code ( #3184 )
...
This code was introduced in commit #1dd7f7342b3cf43f3af96e9efa0f085e7694bc8d
from frontend/src/lib/components/PropertyFilters/PropertyValue.js
This fix seems to work properly, though not 100% sure if we should be
loading properties in this component or not.
Sentry error: https://sentry.io/organizations/posthog/issues/2068768985/?project=1899813&query=is%3Aunassigned+is%3Aunresolved&statsPeriod=14d
2021-02-05 14:18:05 -05:00
Tim Glaser
0cfdb05ab9
Update posthog-js 1.8.6 ( #3219 )
2021-02-05 16:35:52 +02:00
Tim Glaser
728410c87b
1269 funnel trends 2 ( #3079 )
...
* WIP
* Closes #1269 funnel trends
* Fix tests
* fix
* fix tests
* Hide interval and featureflag display switcher
* fix one step issue
* fix insights
* Fix tests
* undo todo
* Fix label issues, add warning
* fix frontend issue
* fix
2021-02-05 14:32:28 +01:00
Karl-Aksel Puulmann
e0b011c943
Add missing await
s to breakpoint(X) calls ( #3216 )
...
Sentry error: https://sentry.io/organizations/posthog/issues/2185594460/?project=1899813&query=is%3Aunresolved+is%3Aunassigned+kea&statsPeriod=14d
According to marius, breakpoint() can be called without await, but when
passing milliseconds await is always needed.
2021-02-05 13:39:23 +01:00
Karl-Aksel Puulmann
fd93fd405d
Return a 400 when /decide called with invalid token ( #3197 )
...
* Return a 400 when /decide called with invalid token
Sentry: https://sentry.io/organizations/posthog/issues/2133194501/?project=1899813&query=is%3Aunassigned+is%3Aunresolved&statsPeriod=14d
The error messages are now in sync with /capture endpoints as well.
* 401 > 400
2021-02-05 09:05:10 +00:00
Yakko Majuri
bc625ea18d
Fix numerical person properties turning to strings on save ( #3202 )
...
* update props
* fix props number update on PersonV2
* avoid overwriting function argument
Co-authored-by: Paolo D'Amico <paolodamico@users.noreply.github.com>
2021-02-05 09:01:54 +00:00
Eric Duong
62ded053e4
Type path logic ( #3170 )
...
* initial types
* state adjustment
* more type fixes
2021-02-04 20:43:17 -05:00
Karl-Aksel Puulmann
2a7fa2d15b
Update @sentry/browser ( #3199 )
...
I believe this will fix this sentry error: https://sentry.io/organizations/posthog/issues/2017505969/?project=1899813&statsPeriod=14d
From
https://github.com/getsentry/sentry-javascript/blob/master/CHANGELOG.md :
```
5.29.1
[tracing] fix(web-vitals): Fix TTFB capture in Safari (#3106 )
```
2021-02-04 23:30:39 +02:00
Eric Duong
2a28955df3
move logic to comparefilter ( #3203 )
2021-02-04 16:28:51 -05:00
Michael Matloka
840c36727a
str(team.organization_id) in PLUGINS_CLOUD_WHITELISTED_ORG_IDS check ( #3208 )
2021-02-04 21:54:41 +01:00
Karl-Aksel Puulmann
daed88dc49
Handle navigation race in insights logic ( #3207 )
...
If user navigates away from the page before timeout occurs, the logic
gets unmounted and we would currently get an error:
```
TypeError
Cannot read property 'activeView' of undefined
```
Sentry error: https://sentry.io/organizations/posthog/issues/2181870161/?project=1899813&query=is%3Aunassigned+is%3Aunresolved&statsPeriod=14d
2021-02-04 22:40:12 +02:00
Karl-Aksel Puulmann
9f4dd622e3
Fix recursion problems caused by sessionsTableLogic ( #3183 )
...
Related sentry error: https://sentry.io/organizations/posthog/issues/2171433703/?project=1899813&query=is%3Aunresolved+is%3Aunassigned+maximum&statsPeriod=14d
2021-02-04 22:38:45 +02:00
Marius Andra
429f3e50dc
filp PLUGIN_SERVER_INGESTION on ( #3206 )
2021-02-04 20:25:59 +01:00
Michael Matloka
e636cbbc49
Bump plugin server to 0.7.2 ( #3205 )
2021-02-04 17:52:48 +01:00
Marius Andra
d064f8b036
update plugin server to 0.7.1 ( #3204 )
2021-02-04 17:01:26 +01:00
Marius Andra
d7e29c3c86
add clickhouse connection envs for plugin server ( #3201 )
2021-02-04 16:34:52 +01:00