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

1519 Commits

Author SHA1 Message Date
Yakko Majuri
d27f02f4b5
Round funnel steps (#5175)
Co-authored-by: Paolo D'Amico <paolodamico@users.noreply.github.com>
2021-07-17 11:59:49 -05:00
Sam Winslow
10a04fc521
Breakdown UI for Funnels (#5077)
Co-authored-by: Marius Andra <marius.andra@gmail.com>
Co-authored-by: Paolo D'Amico <paolodamico@users.noreply.github.com>
2021-07-16 18:50:33 -05:00
Michael Matloka
cfd436a293
Fix capitalization of "UTM Content" (#5185) 2021-07-16 23:54:34 +02:00
Yakko Majuri
0250c645cc
Plugins UI revamp (#5137)
* Plugins UI revamp

* remove unnecessary fragment

* address comments

* update capabilities info wording

* Reword capabilities a bit, fix a typo

Co-authored-by: Michael Matloka <dev@twixes.com>
2021-07-16 12:41:13 -03:00
Li Yi Yu
68030cfa53
Person modal cohort bug updates (#5152)
* update personsModalNew cohort id

* reuse selector
2021-07-16 11:11:24 +02:00
Sam Winslow
1167d68058
coercion to avoid spreading non-iterable instance (#5160) 2021-07-16 10:06:36 +02:00
Paolo D'Amico
1b190e89cf
SSO domain whitelist (#5111) 2021-07-15 18:20:43 -05:00
Alex Gyujin Kim
7a73a0ac77
pluralize and singularize matching session events (#5159) 2021-07-15 14:03:00 -07:00
Alex Gyujin Kim
d98b8afdbc
some kea generated typing (#5158) 2021-07-15 13:42:33 -07:00
Eric Duong
4a4c82415a
better null check for annotations field (#5157) 2021-07-15 16:23:55 -04:00
Sam Winslow
e132d11663
move and rename ANTD_TOOLTIP_PLACEMENTS, set z-index on overlay (#4864)
Co-authored-by: Alex Gyujin Kim <alexgkim205@gmail.com>
2021-07-15 15:17:06 -04:00
Li Yi Yu
cf605deb5e
Fix squished height funnel trends graph (#5155)
* fix squished height funnel trends graph

* remove unused import
2021-07-15 19:04:48 +00:00
Michael Matloka
dc75327140
Move old funnel people to TS and fix look (#5153)
* Move old funnel people to TS and fix look

* Restore `EntityFilterProps`

* Improve `People` return code readability

* Include People component deprecation notice
2021-07-15 18:59:59 +00:00
Paolo D'Amico
75f3682eab
Improve funnels stylings III (#5047) 2021-07-15 13:20:00 -05:00
Paolo D'Amico
dae1d86edb
Explicit org creation in self-hosted (#5108)
Co-authored-by: Michael Matloka <dev@twixes.com>
2021-07-15 12:43:34 -05:00
Yakko Majuri
9b997f7215
Plugin metrics tooltip fixes (#5099) 2021-07-15 12:25:47 -05:00
Marius Andra
25c00acfdc
Abort trends requests & fix few bugs (#5136)
* don't end query if failed if new one came in already

* adjust breakpoints and end the query in the end

* abort trends fetch queries

* smaller delay

* fix entityFilter blinking bug and improve types

* new typegen

* remove second source of truth, change value to 300

* improve type accuracy

* log aborted queries

* report aborts in trendsLogic

* consolidate ViewType into types.ts

* one more

* and one more
2021-07-15 13:14:14 +02:00
Tim Glaser
ec759c8238
Fix funnel visualisation (#5147) 2021-07-15 12:17:20 +02:00
Alex Gyujin Kim
a5215f76db
make non time conversion graph types visible in self hosted (#5140) 2021-07-15 00:14:43 +00:00
Alex Gyujin Kim
824635b9a1
Funnel Empty States (and other minor empty state touchups) (#5138)
* add d3 histogram

* different layouts and fine tuning d3 histogram

* spacing math and comments

* row-align steps action dropdown and refactor

* cleanup

* hide time conversion behind ch flag and remove layout toggle

* remove animation and layout toggle

* better app-wide empty states and funnels histogram empty state

* revert fat finger

* erroneous type

* empty state comments
2021-07-14 16:17:34 -07:00
Alex Gyujin Kim
44e6a74092
Add D3 Histogram for Time Conversion Histogram (#5094)
* add d3 histogram

* different layouts and fine tuning d3 histogram

* spacing math and comments

* row-align steps action dropdown and refactor

* cleanup

* hide time conversion behind ch flag and remove layout toggle

* remove animation and layout toggle

* revert fat finger

* erroneous type
2021-07-14 14:52:26 -07:00
Li Yi Yu
0721f96352
do not request time to convert funnel if there are less than 2 steps (#5129) 2021-07-14 13:08:37 -04:00
Li Yi Yu
2a15a964e0
Move persons modal logic out of trends (#5092)
* move persons modal logic out of trends

* refactor long action params

* pass filters through actions to decouple trendsLogic from personsModalLogic

* no longer need to preload trendsLogic

* move people loading to persons modal logic

* potential cohort logic id error fix
2021-07-14 09:36:30 -04:00
Yakko Majuri
b1f03b2fd7
update tooltip and metrics drawer z-indexes (#5097)
* update tooltip and metrics drawer z-indexes

* order z-indexes list
2021-07-14 10:21:51 -03:00
Paolo D'Amico
d9cf8b948e
Nuke order column from SessionDetails (#5115) 2021-07-14 10:32:44 +02:00
Li Yi Yu
a5842dca36
Add loading spinner for persons modal (#5105)
Co-authored-by: Paolo D'Amico <paolodamico@users.noreply.github.com>
2021-07-13 22:44:58 +00:00
Michael Matloka
c140a388bd
Disable Logs button for never enabled plugins (#5100) 2021-07-13 14:25:29 +02:00
Lleo Harress
3b21790027
Automatically add polyfills based on browser requirements (#5086)
* Latest browser’s versions and statistics

* Browserlists - Use "defaults" browser support

* Enable Babel polyfills based on usage

* Revert "Polyfill Object.fromEntries (for Safari <= 12) (#4999)"

This reverts commit ad63386a69.

* Different browser support for dev/prod for build performance
2021-07-13 10:01:04 +02:00
Paolo D'Amico
ca21d6a32d
Clarify math property aggregator descriptions (#5068)
* Clarify total event count

* extra improvements
2021-07-13 09:53:38 +02:00
Yakko Majuri
c01dc0ccca
Add plugin config required_if and visibile_if (#4998)
* wip

* Add support for plugin config required_if and visibile_if

* update form rules

* update key check

* move from OR to AND operation on deps array

* update scaffold
2021-07-12 15:01:53 -03:00
Eric Duong
e70389fa50
Add null param to funnel breakdown (#5080)
* add null param

* put behind featureflag

* flip
2021-07-12 12:04:53 -04:00
Li Yi Yu
49768d1419
Time conversion histogram (#5050)
* set up funnel histogram option

* connect time conversion bins backend with frontend logic

* typing

* add histogram step change functionality

* clean up a little

* header style updates

* add new color

* update step dropdown select

* move component variables to kea and funnel utility methods into separate file

* adjust graph type selector

* fix colors

* missing commit

* update naming

* remove dupe option

Co-authored-by: Paolo D'Amico <paolodamico@users.noreply.github.com>
2021-07-12 11:29:42 -04:00
Karl-Aksel Puulmann
ac0ef1b30e
Load session events async on clickhouse (#5056)
* Load session events asynchronously from a separate endpoint

This mirrors the behavior of postgres query

* Simplify backend & query

event_count is unused
don't select unused columns in list query

* Rename filter_by_session_recordings to filter_by_session_recordings

This is more in-line with what the function actually does

* Update types, handle start/end url properly

* start_url / end_url to session result

* Update sessions list builder tests

* Remove some `session.events` references

* Remove unneeded code

* Simplify filteredSessions

* Fix type issue

* Add test for session properties

* Test and fix start_url/end_url

* Add test for the new sessions API endpoint

* Improve types

* Update py types again

* Fix bug
2021-07-12 10:43:40 +03:00
Li Yi Yu
f71b58fca0
fix load more people button color (#5059) 2021-07-09 10:29:54 -04:00
Li Yi Yu
04f74e4a5c
Persons modal style updates (#5040)
* updated styling

* update persons modal styling

* prettier

* expand property details button

* style fixes

* minor fixes
2021-07-09 09:57:21 -04:00
alx-a
db976aa354
Fix inappropriate install instructions for Snippet (#5054)
The current instructions contradict the docs. Instead of "<head>" it should be </head>
2021-07-09 15:26:19 +02:00
Li Yi Yu
ea4f272cee
fix conditional (#5036) 2021-07-08 11:17:12 -05:00
Sam Winslow
e7c669692d
Fixes / improvements to funnel step UI (#5018)
Co-authored-by: Paolo D'Amico <paolodamico@users.noreply.github.com>
2021-07-08 10:43:42 -05:00
Karl-Aksel Puulmann
714697467c
Load action matching event count async (#5027)
* Load action event count asynchronously

This speeds up loading/editing events quite a bit on clickhouse.

Issue: https://github.com/PostHog/posthog/issues/4802

* Add test for /api/action/{id}/count endpoint

* Update code
2021-07-08 15:14:14 +03:00
Alex Gyujin Kim
b24b29d060
Bringing back dashboard item refreshes (#4786)
Co-authored-by: Paolo D'Amico <paolodamico@users.noreply.github.com>
2021-07-07 17:45:15 -05:00
Li Yi Yu
b7c257b434
always show funnel persons table (#5032) 2021-07-07 17:16:54 -04:00
Li Yi Yu
cd696369c4
case switch display fix (#5029) 2021-07-07 11:33:32 -04:00
Tim Glaser
83c48b2f84
Fix direct navigation to graph (#5022) 2021-07-07 10:53:08 +00:00
Kunal
8fc9c90245
Change home default behavior, don't route by default (#5000) 2021-07-07 03:13:47 +02:00
Sam Winslow
ad63386a69
Polyfill Object.fromEntries (for Safari <= 12) (#4999) 2021-07-06 19:47:51 -04:00
Li Yi Yu
90042024a7
Connect funnel persons (#5013)
* connect funnel persons to the frontend

* fixes

* simplify feature flag call and open persons modal on bar click

* persons dropoff call

* move methods to kea and clean up code

* remove unused imports

* round the percentage down

* pass in correct step number

* type fix

* small fixes

* prettier

* clickhouse enabled check

* fix clickhouse enabled check

Co-authored-by: Li Y Yu <liyi@Lis-MacBook-Pro.local>
2021-07-06 13:56:26 -04:00
Tim Glaser
52994907a2
Revert "Connect funnel persons to the frontend (#4953)" (#5012)
This reverts commit 05418cdd89.
2021-07-06 19:24:36 +02:00
Li Yi Yu
05418cdd89
Connect funnel persons to the frontend (#4953)
* connect funnel persons to the frontend

* fixes

* simplify feature flag call and open persons modal on bar click

* persons dropoff call

* move methods to kea and clean up code

* remove unused imports

* round the percentage down

* pass in correct step number

* type fix

* small fixes

* prettier

* clickhouse enabled check

Co-authored-by: Li Y Yu <liyi@Lis-MacBook-Pro.local>
2021-07-06 12:51:36 -04:00
Alex Gyujin Kim
b9c8cf142a
Sessions table bug fixes (#4964)
* sessions table bug fixes

* match event icon tweak

* code quality

* feature flag that expand

* single expand/collapse button

* update UI of matching events

Co-authored-by: Paolo D'Amico <paolodamico@users.noreply.github.com>
2021-07-06 16:51:22 +02:00
Tim Glaser
2f88176c46
Display empty values correctly (#4913)
* Display empty values correctly

* fix broken test and I

* handle more cases of empty strings / objects

Co-authored-by: Paolo D'Amico <paolodamico@users.noreply.github.com>
2021-07-06 16:28:07 +02:00