0
0
mirror of https://github.com/PostHog/posthog.git synced 2024-11-24 18:07:17 +01:00
Commit Graph

813 Commits

Author SHA1 Message Date
Eric Duong
64f2a57bd2
add autocapture to selection properties (#2696) 2020-12-08 10:55:37 -06:00
Michael Matloka
0de0e25110
Add command palette badge to new TopNavigation (#2678)
* Add command palette badge to new TopNavigation

* optimise getTypeIcon & command palette icon in primary color

Co-authored-by: Paolo D'Amico <paolodamico@users.noreply.github.com>
2020-12-08 07:26:18 +01:00
Fatima Galaudu
1835174c7b
1842 link to edit cohort (#2694) 2020-12-07 19:54:58 -06:00
Paolo D'Amico
32ef8c1002
New Persons Page (#2667) 2020-12-07 11:18:11 -06:00
Tim Glaser
f22a082f30
Debug CH queries (#2666)
* Debug CH queries

* tests

* Logout when impersonated session

* Put "Debug ClickHouse queries" in its own command

* Clean up ClickHouse modal

Co-authored-by: Michael Matloka <dev@twixes.com>
2020-12-07 16:06:14 +01:00
Tim Glaser
595d32fd05
Actions Table filtering, search and sorting (#2670) 2020-12-07 08:35:36 -06:00
Paolo D'Amico
88dafdd55f
tried to fix #2632 (#2673)
Co-authored-by: samcaspus <sandeepguptan1998@gmail.com>
2020-12-04 15:28:12 -06:00
Suresh Kumar
899b0967d6
fix: fixes command palette scrolling issue (#2658) 2020-12-04 14:32:39 -06:00
Yakko Majuri
3eff7abdc5
Fix 404 (#2671) 2020-12-04 14:10:45 -06:00
Eric Duong
8fbbe679f5
Stickiness improvement and filter refactor (#2638)
* stickiness filter refactor

* stickiness clickhouse

* parametrize clickhouse trunc

* add interval tests

* fix type and casing

* change name to interval not period

* change defaults

* remove offsets

* move stickinses people endpoint

* move imports

* remove unused imports

* fix time defaults

* swap endpoint

* add interval tests

* move api test

* fix all time calculation and add team_id filter to earliest timestamp ch
2020-12-04 20:42:01 +01:00
Tim Glaser
a426b427a4
Cohort table improvements (#2576)
* WIP cohort table improvements

* More fixes

* More fun

* Fix updating cohorts

* Add search box

* thing

* stuf

* Fix multiple exports

* Fix tests

* fix

* fix test

* fix

* fix
2020-12-04 19:50:43 +01:00
Tim Glaser
3970e6aa94
Rolling retention widget (#2522)
* Rolling retention widget

* Rolling retention when adding to dashboards

* Only filter dashboard items
2020-12-04 19:46:48 +01:00
Tim Glaser
adcf493202
Fix ee webhook (#2664)
* Fix ee webhook

* Get rid of warnings

* Add webhooks
2020-12-04 16:43:22 +01:00
Paolo D'Amico
ba2a32b6dc
Update Sessions.scss (#2659) 2020-12-04 16:25:52 +02:00
Tim Glaser
7166679672
Fix search set when clicking person (#2663) 2020-12-04 10:37:28 +01:00
Paolo D'Amico
b5d4421b7c
Improved session player navigation (#2611) 2020-12-03 15:47:37 -06:00
Tim Glaser
0f1022fa25
Separate tooltips for lifecycle (#2649) 2020-12-03 15:21:12 +01:00
Paolo D'Amico
d6f3079bc0
Release actions-ux-201012 (#2615)
* remove legacy code & feature flag references

* ActionStepV2 refactor

* ActionEditV2 refactor

* fix backend tests

* fix more tests

* more fixes

* last fix

* address feedback
2020-12-03 10:59:11 +01:00
Paolo D'Amico
ce37a5b5d0
fixes & missing routes (#2641) 2020-12-03 09:21:51 +02:00
Paolo D'Amico
052bcb0ce1
Sessions table improvements 1202 (#2639)
* feedback from #2609

* more clarity around session recording
2020-12-03 08:57:04 +02:00
Karl-Aksel Puulmann
7a4a5e7d14
Use last selected dashboard when clicking 'save to dashboard' (#2591) 2020-12-02 15:08:29 -06:00
Eric Duong
997ec36916
Lifecycle Graph (#2460)
* intial working

* intial working with test

* return tests

* fix interval and add monthly test

* add in person_id join

* small restyle

* postgres lifecycle working

* add action handling to postgres query

* add action handling and tests

* fix typing

* visualizing with temp params and added negatives for dormant

* frontend

* fix intervals

* remove unnecessary import

* add person enppoint

* add person endpoint and tests

* add next

* add pagianted test

* fix types

* add frontend logic'

* fixed date range

* disable compare filter on lifecycle

* add diasbled to chartfilter

* return class to personviewset

* added constant

* fix distinct_id and new event within period condition

* replace people queries and fix ch query too

* DRY

* fix null states

* comparefilter nullstate

* add wrapper back to endpoint

* fix datetime formatting

* remove extra stack flag

* reduce filters when it's lifecycle and replace constants

* add default for lifecycle into trendlogic
2020-12-02 16:53:06 +01:00
Karl-Aksel Puulmann
a451e149c6
Add support for median, p90, p95 and p99 math functions (#2630)
* Add support for median, p90, p95 and p99 math functions

Related issue: #2584

* Update tests to reflect quantile functions are not exact in ch
2020-12-02 17:22:45 +02:00
Tim Glaser
1dd7f7342b
Use select for numerical properties (#2628)
* Use select for numerical properties

* fix test

* fix isssues
2020-12-02 15:18:50 +01:00
Tim Glaser
7d7dca8f47
Remove signup process from cypress (#2264)
* Remove signup process from cypress

* adds cypress preflight tests

* run migrations before setting up test data

* fix preflight tests

* Update preflight.js

Co-authored-by: Paolo D'Amico <paolodamico@users.noreply.github.com>
2020-12-02 14:12:43 +01:00
Paolo D'Amico
ed0e82405e
fixes to Link component (#2612) 2020-12-02 11:37:22 +01:00
Tim Glaser
b8031b7895
Link back to insights from actions (#2608) 2020-12-02 10:50:44 +01:00
Sandeep Guptan
eba578c53c
added pre tag to stop the over lay (#2606)
* added pre tag to stop the over lay

* Break label instead of hiding overflow

Co-authored-by: Michael Matloka <dev@twixes.com>
2020-12-02 06:17:51 +01:00
Paolo D'Amico
2cd87343c9
Update session recording settings (#2609) 2020-12-01 14:23:11 -06:00
Sandeep Guptan
5275a88e6e
modified drop down (#2567)
* modified drop down

* modified drop down

* worked on feed back (Removal of button to text type)

* worked on feed back (Removal of button to text type and made lower case for edit)
2020-12-01 16:47:13 +01:00
Eric Duong
98932d0c3a
1936 retention graph (#2578)
* intiial graph on PG

* initial frontend

* fix filtering and types

* clickhouse working

* change reference date

* fix label and defaults

* fix multiple event retention

* working clickhouse and postgres for multiple events

* remove final

* remove sql parse

* add inital person query

* working clickhouse person query and return testrunner

* implement postgres retrieve person

* add endpoint and pagianted test

* click on datapoint works

* fix params

* fix action handling

* people paginated backend

* finished paginatino frontend logic

* fix variable naming for pg

* working first time persons for clickhouse

* first time people working for pg

* dont replace if recurring

* run again

* fix import

* refactor filter to retention specific and move postgres

* convert clickhouse to use new filter

* move imports

* fix types

* fix types

* fix initial load

* adding to dashboard works

* fixed defaults

* add test for dates

* fix insight panel

* add seert

* fix import

* fix date select for people

* fix chartfilterlogic

* remove unneded comment and import

* split up retention query
2020-12-01 10:15:50 -05:00
Karl-Aksel Puulmann
99a2c60d7d
Show all items at date when hovering a LineGraph (#2600)
This makes it easier to read graphs with multiple lines.

Fixes https://github.com/PostHog/posthog/issues/2597
2020-12-01 15:04:32 +01:00
Karl-Aksel Puulmann
4aedc4317a
Add event (sum of event_property) to event labels on graphs (#2583)
* Use standard jest test formatting

* Use js instead of ts in tests

* Add given2 as dependency

* Document existing behavior of formatLabel()

* Add `event (sum of event_property)` to event labels on graphs

I found the current state impossible to read when trying to see through
session recording metrics
2020-12-01 16:01:36 +02:00
Paolo D'Amico
1f478cea6f
Webhook warning adjustment (#2568)
* webhook availability warning

* add warning to actions too

* Update ActionEditV2.js

* Update WebhookIntegration.tsx

* Prettier

* Sync ActionEdit and ActionEditV2

Co-authored-by: Michael Matloka <dev@twixes.com>
2020-12-01 10:12:28 +01:00
Eric Duong
5ddfe6c30d
Revert "Retention graph and multiple event fix (#2534)" (#2577)
This reverts commit bb076eedad.
2020-11-30 16:40:22 -05:00
Eric Duong
bb076eedad
Retention graph and multiple event fix (#2534)
* intiial graph on PG

* initial frontend

* fix filtering and types

* clickhouse working

* change reference date

* fix label and defaults

* fix multiple event retention

* working clickhouse and postgres for multiple events

* remove final

* remove sql parse

* add inital person query

* working clickhouse person query and return testrunner

* implement postgres retrieve person

* add endpoint and pagianted test

* click on datapoint works

* fix params

* fix action handling

* people paginated backend

* finished paginatino frontend logic

* fix variable naming for pg

* working first time persons for clickhouse

* first time people working for pg

* dont replace if recurring

* run again

* fix import

* refactor filter to retention specific and move postgres

* convert clickhouse to use new filter

* move imports

* fix types

* fix types

* fix initial load

* adding to dashboard works

* fixed defaults

* add test for dates

* fix insight panel

* add seert

* fix import

* fix date select for people

* fix chartfilterlogic
2020-11-30 16:09:23 -05:00
Eric Duong
5967d0397d
Fix unclickable prop filter (#2572)
* fix bug with not being able to click on prop filter

* change cypress test data attr name

* return changes
2020-11-30 15:09:42 -05:00
Paolo D'Amico
395e86c196
Add device type icons to session player page (#2565) 2020-11-30 10:39:20 -06:00
Paolo D'Amico
7c24e8760d
Hover on new navigation menu items (#2563)
Co-authored-by: samcaspus <sandeepguptan1998@gmail.com>
2020-11-30 10:06:03 -06:00
Karl-Aksel Puulmann
73793991a6
Update posthog-js to latest, use (undocumented) option _capture_metrics (#2561)
We'll use these metrics for seeing how session recording is doing.
2020-11-30 16:11:04 +02:00
Karl-Aksel Puulmann
d8c86416e9
Show resolution + duration/date on session player (#2550)
* Update rrweb-player version

* Show resolution + timestamp on the session page

* Make timeline switch the active event immediately

Previously it waited on rrweb
2020-11-30 12:47:14 +02:00
Sandeep Guptan
60072edb7b
Cohort search bar fix (#2557)
* cohort search bar fix

* cohort search bar fix

* Refactor Search/Reset

* Bring back maxWidth: 400

Co-authored-by: Michael Matloka <dev@twixes.com>
2020-11-30 10:54:18 +01:00
Karl-Aksel Puulmann
b05e2ad1a9
Don't toggle rows when viewing player (#2546) 2020-11-29 13:02:07 +02:00
Tim Glaser
43f93215cb
Fix posthog identify (#2552)
* Fix posthog identify

* Unrelated change
2020-11-27 15:49:36 +01:00
Michael Matloka
412c3809e9
Reworked Teammates page (#2482)
* Improve code quality of org members

* Update global.scss

* Add is_expired to invite serializer

* Refactor members and invites pages

* Make invite creation modal clearer

* Update sceneLogic.ts

* Update commandPaletteLogic.ts

* Refactor members and invites to new files

* Remove Invites from the sidebar

* Simplify ActionsComponent

* Update test_organization_invites.py

* Improve create invite modal looks

* Make Invite Teammate work better with sidebar

* Update Invites.tsx

hide organization invites if there aren't any created

* Move Divider to Invites component

* Clarify copy

* Use moar idiomatic English

* s/Teammate/Team Member/g

* Allow admins to promote others to admin or demote from

* Improve permissions on the backend

* Update user.py

* Fix ownership oversight

* Allow kicking out equals

* Update setup_dev.py

* Fix behavior

* Fix linting

Co-authored-by: Paolo D'Amico <paolodamico@users.noreply.github.com>
2020-11-27 14:47:48 +01:00
Michael Matloka
1a73f8196a
Update SessionsPlayerDrawer.tsx (#2549) 2020-11-27 14:41:45 +01:00
Marius Andra
edea60ce95
Fix celery heartbeat bug, Add redis & plugins to preflight (#2520)
* Fix celery heartbeat bug, Add redis & plugins to preflight

* make celery required
2020-11-27 12:44:05 +01:00
Tim Glaser
944b592804
Closes #2542 remove send event overlay and replace with warning (#2544)
* Closes #2542 remove send event overlay and replace with warning

* Add padding in new design
2020-11-27 12:41:07 +01:00
Paolo D'Amico
c46bae8628
UI improvements to sessions page (#2538)
* move some logic to kea

* sessions loading state

* URL max width & copy to clipboard
2020-11-27 11:39:43 +02:00
Tim Glaser
e8d772f2e4
Fix Not all users have names (#2539) 2020-11-27 10:32:15 +01:00