0
0
mirror of https://github.com/PostHog/posthog.git synced 2024-11-28 09:16:49 +01:00
Commit Graph

1226 Commits

Author SHA1 Message Date
kunal
9bcb675aeb cleanup 2021-04-27 08:46:42 -07:00
kunal
1a55e30164 let data load 2021-04-27 08:46:42 -07:00
kunal
3b91fd4c84 PH home 2021-04-27 08:46:41 -07:00
Tim Glaser
894113a7af
Fix tables on shared dashboards (#4046)
* Fix tables on shared dashboards

* Fix types

* Typing issue
2021-04-26 10:06:35 -04:00
Marius Andra
6eb58ccdb3
Typegen and other Kea upgrades (#4097)
* upgrade kea, kea-typegen, kea-loaders, kea-router

* add correct imports to two logics

* upgrade kea

* upgrade typescript to 4.2.4

* add type

* fix one type
2021-04-26 15:53:50 +02:00
Marius Andra
8224e52a19
increase page size for async event/property definition fetching (#4104) 2021-04-26 13:37:29 +02:00
Paolo D'Amico
a7352b4105
Revert "Revert "Continuation - Frontend - Refactor event & properties for async server-side loading (#4078)" (#4092)" (#4093)
This reverts commit d67ab843f1.
2021-04-23 17:13:50 -07:00
Li Yi Yu
c0bdcb8556
Allow dashboard description editing (#4068)
* allow dashboard description editing

* change to single click and add edit icon

* remove double border during editing

* Center edit icon

* Use $default_spacing

Co-authored-by: Michael Matloka <dev@twixes.com>
2021-04-23 16:38:35 -04:00
Tim Glaser
e144111da8
Fuzzy search for properties (#4091) 2021-04-23 13:36:28 -04:00
Paolo D'Amico
d67ab843f1
Revert "Continuation - Frontend - Refactor event & properties for async server-side loading (#4078)" (#4092)
This reverts commit bf2c774b1e.
2021-04-23 15:59:27 +00:00
Paolo D'Amico
bf2c774b1e
Continuation - Frontend - Refactor event & properties for async server-side loading (#4078)
* now we remove event & properties from team serializer

* random checkpoint

* checkpoint

* loads paginated event definitions

* EventsVolumeTable

* event & properties tables

* update all relevant components

* fixes all typescript errors

* fix all non-ts errors

* fix event rendering in select boxes

* fix events & breakdown

* fix filters

* fix math selector

* fix reused variable names

* simplify logic by removing reducer, set pagination to 500

* remove 0 and add back `null`

* add back nulls

* add properties loading to filtersLoading

Co-authored-by: Marius Andra <marius.andra@gmail.com>
2021-04-23 16:06:53 +02:00
Tim Glaser
7e7fd42b05
Fix persons table next page with filter (#4048) 2021-04-23 09:15:51 +02:00
Li Yi Yu
97f9e97026
Fix sessions indefinite loading users bug (#4074)
* fix sessions loading users bug

* make sure session actions work too
2021-04-22 14:54:25 -04:00
Michael Matloka
61f02aaac7
Make Postgres ASYNC_EVENT_ACTION_MAPPING the way (#4064)
* Make Postgres ASYNC_EVENT_ACTION_MAPPING the way

* Improve calculate_event_action_mappings condition
2021-04-22 12:03:33 +02:00
Karl-Aksel Puulmann
2b42909591
Show clickhouse disk and system.stats on /instance/status (#4042)
* Show clickhouse disk and system.stats on /instance/status

Part of https://github.com/PostHog/vpc/issues/45

* Show stats on clickhouse table sizes, remove postgres table size stats

* Add metric for whether clickhouse is alive

* Move clickhouse stats above redis
2021-04-22 08:46:29 +03:00
Eric Duong
672e0e708a
revert linking (#4071) 2021-04-21 17:20:22 -04:00
Paolo D'Amico
03d2466698
Fix feature flag display with 0% rollout (#4058) 2021-04-20 20:03:20 -07:00
Paolo D'Amico
07d4ccea54
Fix events failure & typescript migration (#4057)
* handle events failure

* convert EventsTable to typescript

* extra minor ts fixes
2021-04-20 21:55:10 -04:00
Eric Duong
0ecf0da079
#3765 Show cohort for bar chart (Insights > Trends) v2 (#4054)
* Revert "Revert "#3765 Show cohort for bar chart (Insights > Trends) (#3825)" (#4052)"

This reverts commit 593679c033.

* patch all time arg

* add missing params

* fix type

* wrong line

* more type safety
2021-04-20 20:24:04 -04:00
Eric Duong
593679c033
Revert "#3765 Show cohort for bar chart (Insights > Trends) (#3825)" (#4052)
This reverts commit 03dc30c4e4.
2021-04-20 15:51:54 -04:00
Li Yi Yu
1de3dbf272
3901 Update standard events display (#4010)
* Closes #3901 add PropertyKeyInfo to select box list

* add more event properties

* update standard events on insights dropdowns with PropertyKeyInfo

* fix borked styling

* add more events to the property key info list

* update standard events with property key info for events tables

* typescript error fixes

* resolve finicky typescript null object error

* e2e updates

* update e2e

* update e2e trends filter selector

* fix events filter bug

* update break down button event name

* e2e fix

* wrap in div and style fix
2021-04-20 15:45:49 -04:00
Eric Duong
25cf1eefaa
Add link from person to insights (#4033)
* add link from person to insights

* update test
2021-04-20 14:51:29 -04:00
Paolo D'Amico
76f7c1fd54
Update password change components (#3997) 2021-04-20 10:52:02 -07:00
Buddy Williams
03dc30c4e4
#3765 Show cohort for bar chart (Insights > Trends) (#3825)
* #3765 refactored day to date_from and date_to so that the bar chart may query a date range; the end goal is to show a cohort modal for the graph;

* Removed date from modal label for bar chart since it does not apply

* Added onHover and onClick to ActionsPie charts; Added onClick to ActionsPie to see the people included in Trends > Pie

* date fix

* add time range helper

* add test

* add assertions

Co-authored-by: Eric <eeoneric@gmail.com>
2021-04-20 12:52:51 -04:00
Li Yi Yu
1e55504bc4
Add scroll to dashboard fullscreen/presentation mode (#4039)
* add overflow scroll to body only for dashboard fullscreen mode

* use auto over scroll
2021-04-20 11:51:26 -04:00
Eric Duong
5ad4246806
add sessions link to insight (#4038) 2021-04-20 09:52:17 -04:00
Yakko Majuri
40d8fb7445
Fix all buttons loading on plugin updates (#4032)
Co-authored-by: Michael Matloka <dev@twixes.com>
2021-04-20 13:10:58 +02:00
Yakko Majuri
48725ffb5c
fix stateful renders in ResizableTable (#4034) 2021-04-20 06:41:44 -04:00
Li Yi Yu
418b2b6b55
fix actions line graph count bug (#4036) 2021-04-19 17:56:04 -04:00
Paolo D'Amico
5820087b00
Release session filters (#4030)
* release filter_by_session_props

* release filter_by_session_props_link
2021-04-19 09:20:43 -04:00
Sam Winslow
6a9b7c44b6
Make new Sessions filter UI responsive (#3988) 2021-04-18 23:53:48 -07:00
Tim Glaser
72ba5429d3
Change wording to be even clearer (#4027)
Co-authored-by: Paolo D'Amico <paolodamico@users.noreply.github.com>
2021-04-18 23:44:10 -07:00
Eric Duong
d615cba0b1
3638 trailing wau mau (#3929)
* add query and remove unnecessary functions

* add param function for active user querying

* remove unused import

* fix formatting

* add comment

* add test and complete clickhouse implementation

* add preilim postgres query

* implemented postgres query

* add breakdown test

* breakdown for ch

* working breakdown for clickhouse

* ui

* remove line break

* people for clickhouse

* clickhouse only

* add entity math to payload

* move test

* change dau to null

* fix type

* remove unnecessary imports

* add flags
2021-04-16 15:50:12 -04:00
Tim Glaser
6cce6a497a
Use virtual list for property select (#4020) 2021-04-16 14:09:22 -04:00
Paolo D'Amico
5ec9aefaa2
Miscellaneous improvements (#4003)
* fix person header icon

* refactor and simplify WebhookIntegration

* do not show error messages related to /billing endpoint

* fix a bunch of ts errors

* clarify anonymous users

* minor tweaks
2021-04-16 14:07:16 -04:00
Sam Winslow
e4d517b694
Autofocus filter dropdown (#3957)
* autofocus empty value debug

* make partial type

* WIP: controlled focus on select components

* clean up behavior of defaultOpen

* minor cleanup

* bugfix on updated feature flag

* address changes
2021-04-16 18:54:55 +02:00
Paolo D'Amico
917e6b7a7d
User ID convention naming (#3943)
* rename user uuid

* update frontend to use uuid

* Fix

Co-authored-by: Michael Matloka <dev@twixes.com>
2021-04-16 16:44:54 +02:00
Paolo D'Amico
6b79a07464
Invite sign up E2E tests (#3591)
* create invite test

* using an invite

* accept invite signup logged in

* fix leaving org

* address feedback

* fix ts

* remove invite signup flaky test

* switch logout form

* fix typo

* another typo?

* nav directly

* undo change

* post-merge fixes

* cleanup & update tests

* make tests less random

* fix tests

Co-authored-by: Michael Matloka <dev@twixes.com>
2021-04-16 16:05:02 +02:00
Karl-Aksel Puulmann
89529395a8
Avoid double-stacked <hr /> lines in trends (#4014)
Broken by https://github.com/PostHog/posthog/pull/3961
2021-04-16 16:06:18 +03:00
Kunal
ed28004359
ingestion grid copy tweaks (#4012)
* small tweaks, align copy closer w/ control for a better test

* tweak tag text

* tweak tag text

* Revert "tweak tag text"

This reverts commit fb369c74c6.

* copy tweak

Co-authored-by: kunal <kunal@Kunals-iMac.hsd1.ca.comcast.net>
2021-04-16 02:00:28 +00:00
Kunal
2838ed7b97
Ingestion grid copy tweaks (#4011)
* small tweaks, align copy closer w/ control for a better test

* tweak tag text

Co-authored-by: kunal <kunal@Kunals-iMac.hsd1.ca.comcast.net>
2021-04-16 01:18:51 +00:00
Eric Duong
0ebd7af059
Add link from cohorts to sessions (#4008)
* add link from cohorts to sessions

* remove condition
2021-04-15 17:47:04 -04:00
Eric Duong
6c3e3587db
Add actions insights link (#3996)
* add actions insights link

* use param function
2021-04-15 13:28:20 -04:00
Michael Matloka
cf28d88110
Fix optional secret plugin attachments upload UI (#3994) 2021-04-15 16:13:30 +02:00
Sam Winslow
0874d17088
hide scrollbar for ms, moz, and webkit (#3989) 2021-04-15 06:21:23 -07:00
Tim Glaser
a438815997
Revert "Refactor funnel filters & fix flexbox sizing (#3962)" (#3991)
This reverts commit 7353c5e47f.
2021-04-15 08:17:36 +00:00
Li Yi Yu
41995cccf5
Lifecycle toggle (#3961)
* test singular toggle

* allow for multitoggling and clean up code

* remove wip code

* updated styling

* retain lifecycle toggles on filter selections

* convert undefined values to string

* prettier fix

* typescript strict check fix

Co-authored-by: Li Yi Yu <li@posthog.com>
2021-04-14 20:25:26 -04:00
Sam Winslow
7353c5e47f
Refactor funnel filters & fix flexbox sizing (#3962)
* move MathSelector and MathPropertySelector.js into own file

* add buttonStyle to propertyFilters & fix flexbox

* minor: fix PropertyFilters input type

* annotate magic number '24px'
2021-04-14 17:07:15 -04:00
Sam Winslow
2eee07222f
Resizable tables in Events and Persons (#3960)
* events table

* persons table

* tweak events table sizing

* align export button right
2021-04-14 16:37:41 -04:00
Yakko Majuri
c872899d44
Highlight automatic changes to date range filters (#3670)
Co-authored-by: Paolo D'Amico <paolodamico@users.noreply.github.com>
2021-04-14 10:39:42 -07:00