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

3758 Commits

Author SHA1 Message Date
Alex Gyujin Kim
7b316c6a6a
Fix various histogram release bugs (#5320)
Co-authored-by: Paolo D'Amico <paolodamico@users.noreply.github.com>
2021-07-23 21:57:53 +00:00
Sam Winslow
9d58499f53
Autofill signup form email address from query params (#5321) 2021-07-23 14:30:12 -07:00
Li Yi Yu
3e17b8a4e3
pie chart total sum (#5318) 2021-07-23 12:35:45 -04:00
Neil Kakkar
259d12d6cf
Ensure time_to_convert bins stay uniform (#5316)
* ensure bins stay uniform

* rm offending line
2021-07-23 10:40:17 -04:00
Neil Kakkar
9630f310d3
Show dropped off users in modal (#5315) 2021-07-23 12:12:29 +00:00
Neil Kakkar
2b3eb62eba
update notification (#5308) 2021-07-23 10:58:22 +00:00
Karl-Aksel Puulmann
0c5852f586
Update comment style to be copyable (#5281) 2021-07-23 13:15:59 +03:00
Eric Duong
f6e5a2b6a8
Make sure values are populated and persons paginate properly (#5305) 2021-07-23 10:47:48 +01:00
Marius Andra
295d033c22
funnels don't automatically recalculate on postgres (#5306) 2021-07-23 09:12:25 +00:00
Marius Andra
f40ac4b75c
All Users cohort in breakdown filter (#5293)
* Initial stashed work

* fix all users cohort

* fix test

* fix typesscript values

* remove .only

* simplify some nulls
2021-07-23 08:54:59 +00:00
Alex Gyujin Kim
30d3ec4067
Fix various funnels empty state UX postgres (#5304)
* add popover to calculate funnels

* wrong prop

* remove local state

* hide people table if not valid filter

* more accurate comparison

* dirty state alert

Co-authored-by: Marius Andra <marius.andra@gmail.com>
2021-07-23 08:43:10 +00:00
Alex Gyujin Kim
7076c4479a
Wrap d3 histogram labels (#5301)
* text label squiggle overlaps begone

* expose formatXTickLabel

* remove console
2021-07-23 09:11:23 +02:00
Li Yi Yu
8fba8cd6f5
Pass in funnel_step_breakdown param for funnels breakdown persons modal (#5289)
* pass in funnel_step_breakdown param for persons modal

* add comment

* allow clicking on drop off part of the funnel bar

* fix funnel persons modal titling

* small fixes

* ellipses man
2021-07-22 22:43:18 +00:00
Sam Winslow
f72b1bc000
Remove funnel step checkboxes, logic, and associated types (#5300)
* Remove checkboxes, logic, and associated types

* array accessing fix
2021-07-23 00:34:29 +02:00
Alex Gyujin Kim
29efee4fe0
Time conversion histogram paint optimization (#5265)
* change color to primary alt

* standardize funnels colors for time conversion

* errant addition
2021-07-22 21:01:40 +00:00
Eric Duong
a9a1e217b3
Only show person modal actions for trends and stickiness (#5297)
* only show actions for trends and stickiness

* combine logic
2021-07-22 19:59:35 +00:00
Sam Winslow
59be866f96
Add FunnelStepTable (#5233)
* add FunnelStepTable with titles

* Finish v1 of table

* hide some info on step 0

* visibility toggles per breakdown in table

* breakdown visibility toggles affect graph

* clean up types and dedupe rowKeys

* clean up styling of leftmost column

* address changes

* use memoized values in bar chart

* fix table overflow styling

* fix persons modal; show only when steps > 1

* show only on Steps view

Co-authored-by: Paolo D'Amico <paolodamico@users.noreply.github.com>
2021-07-22 19:21:49 +00:00
Marius Andra
771b9a74cf
Enable filter and funnel feature flags (#5282) 2021-07-22 13:40:49 -05:00
Alex Gyujin Kim
f74e079611
default to steps funnel type (#5294) 2021-07-22 18:22:54 +00:00
Neil Kakkar
9090918e5c
Resolve caching issues with persons breakdown (#5292) 2021-07-22 17:33:58 +00:00
Eric Duong
8e615e3635
make sure values are properly labeled and table names are accounted for (#5288) 2021-07-22 12:59:20 -04:00
Li Yi Yu
bb1d920c62
show total sum (#5285) 2021-07-22 18:43:20 +02:00
Sam Winslow
eee1ef0230
Use flex-basis instead of percentage for funnel bar sizing (#5269) 2021-07-22 16:10:16 +00:00
Marius Andra
19d9fcc9ed
Funnel default event (#5280)
* get default event name directly from django

* default event name in the backend

* fix "~/" urls in jest tests

Co-authored-by: Paolo D'Amico <paolodamico@users.noreply.github.com>
2021-07-22 17:57:41 +02:00
Li Yi Yu
bfb1a001b1
do not allow persons modal opening on dashboard item view (#5286) 2021-07-22 15:45:07 +00:00
Li Yi Yu
d7e4563065
Show funnel empty state on Steps if less than 2 steps (#5284)
Co-authored-by: Paolo D'Amico <paolodamico@users.noreply.github.com>
2021-07-22 15:17:52 +00:00
Neil Kakkar
ca724e1f81
Resolve errors with time to convert bins (#5283)
* time to convert test

* rworkaround for time to convert bins

* address comment
2021-07-22 14:04:05 +00:00
Marius Andra
9d5dd47ef9
Add PERSISTED_FEATURE_FLAGS env (#5273)
* add PERSIST_FEATURE_FLAGS env

* improve handling of persisted flags

* release three flags

* add missing feature flag constants

* rename to PERSISTED feature flags

* remove flags
2021-07-22 13:12:32 +00:00
Li Yi Yu
9b69a71e6d
Fix persons modal load more people (#5271)
* count display update

* do not reload list of people when loading more people

* Revert "do not reload list of people when loading more people"

This reverts commit eb9ef11690.

* fix flag

* separate initial loading state

* update title with "+", fix person/persons

Co-authored-by: Marius Andra <marius.andra@gmail.com>
2021-07-22 13:49:57 +02:00
Neil Kakkar
b8c946cf99
Fix Funnel Trends Persons with month/week granularity (#5277)
* resolve #5275

* address comment
2021-07-22 11:49:15 +00:00
Karl-Aksel Puulmann
211c6e762f
Add migration for distinct_id column on clickhouse person table (#5276)
* Add migration for `distinct_id` column on clickhouse

Note that code under ee/clickhouse/models/person.py does not work
anymore since it does not populate the column correctly. That is fine -
will be handled when doing the actual migration, rather than for this
experiment.

* Update plugin server to 1.1.8

Co-authored-by: posthog-bot <posthog-bot@users.noreply.github.com>
2021-07-22 14:30:12 +03:00
Alex Gyujin Kim
e1a2420801
Fix funnels time to convert dashboard item height (#5259)
* improve funnel dashboards

* histogram fits dashboard

* cache time conversion results

* fix histograms on dashboard

Co-authored-by: Marius Andra <marius.andra@gmail.com>
2021-07-22 09:47:37 +00:00
Neil Kakkar
a0b99facec
Fix issues with step conversion times (#5174)
* general conversion time cases

* clean cases

* remove ch bug test for now
2021-07-22 09:31:47 +01:00
Marius Andra
4b97398650
Fix Mix - z-index & multiple cohorts in breakdown (#5270)
* improve popup z-index

* fix popup and other antd z-indices

* extract button from component

* can select multiple numbers for breakdown

* taxonomic breakdown supports multiple cohorts
2021-07-22 10:06:11 +02:00
Eric Duong
39416b7e94
Revert "Run broken down analyses with a single SQL query (#5186)" (#5272)
This reverts commit 3e5b073ade.
2021-07-21 19:29:27 -04:00
Paolo D'Amico
75d50e30a3
Release new tooltips #4156 (#5267)
* release InsightsTableV2

* release graphs new UI
2021-07-21 22:48:51 +02:00
Paolo D'Amico
326453975b
Update global button styles (#5266) 2021-07-21 13:36:38 -05:00
Paolo D'Amico
700f5bc0b5
Improvements to Persons Modal (#5264) 2021-07-21 13:08:52 -05:00
Michael Matloka
3e5b073ade
Run broken down analyses with a single SQL query (#5186)
* Remove unused imports

* Rework breakdowns for CTEs instead of separate queries

* Increase happiness of mypy

* Fix formula trends

* remove repeated team_condition

* remove print

Co-authored-by: eric <eeoneric@gmail.com>
2021-07-21 14:00:34 -04:00
Li Yi Yu
d4f965d8cf
Unblock funnel persons table for non clickhouse (#5263) 2021-07-21 12:45:08 -05:00
Marius Andra
61ee7e7bbf
Fix feature flag proxy JSON serialization bug (#5257) 2021-07-21 11:46:48 -05:00
Li Yi Yu
4f30c89293
funnel trends doesn't have average time conversion? (#5256) 2021-07-21 16:32:05 +00:00
Marius Andra
802ccf3e47
fix white screen when directly opening funnels (#5258) 2021-07-21 16:22:35 +00:00
Tim Glaser
c442bf9812
Remove Pie as an option for stickiness (#5254) 2021-07-21 16:04:19 +00:00
Li Yi Yu
e899491507
Funnel trends is clickhouse only (#5252)
* funnel trends is clickhouse only

* don't show graph type if there's only one option

Co-authored-by: Paolo D'Amico <paolodamico@users.noreply.github.com>
2021-07-21 15:32:49 +00:00
Marius Andra
a414250866
Improve funnel dashboards (#5253) 2021-07-21 10:28:34 -05:00
Marius Andra
3764ea22c9
carry event and action filters between tabs (#5250) 2021-07-21 16:27:29 +02:00
Marius Andra
11476f5f0a
More funnel fixes (#5248)
* fix funnel reload bug with changed filters

* remove the type so we could autocomplete feature flag strings

* hide breakdown from time & trends graphs, remove the param when switching to them for safety

* positive check

* clarify arg name

* remove needless flag

Co-authored-by: Paolo D'Amico <paolodamico@users.noreply.github.com>
2021-07-21 15:55:25 +02:00
Li Yi Yu
bd36c7f82a
Handle persons modal navigation better (#5236)
* handle persons modal navigation better

* clean up excess pesronModal actions/values, move people to loader

* fix person modal not opening on funnels

Co-authored-by: Marius Andra <marius.andra@gmail.com>
2021-07-21 15:12:28 +02:00
Paolo D'Amico
6b11dcf7b3
Nail funnels on dashboards (#5228)
* steps with breakdown is already validated

* finally make dashboards render 🙌

* abstract new funnels from FunnelViz component

* refactor basic styles

* post-merge fix

* fix text overflow in event name

* funnels base UI on dashboard

* disable bar tooltip on dashboard

* Revert "disable bar tooltip on dashboard"

This reverts commit 4ba814ff2e.

* fix auto height on dashboards

* colored dashboards support

* full color support

* set layout as a filter param

* save funnel layout on backend

* proper scrolling in dashboards

* restore average conversion time

* only one layout for histograms

* fix bar graph margin that's causing a scrollbar

* fix person modal not opening on funnels

Co-authored-by: Marius Andra <marius.andra@gmail.com>
2021-07-21 13:27:32 +02:00