0
0
mirror of https://github.com/PostHog/posthog.git synced 2024-11-24 18:07:17 +01:00
posthog/cypress/integration
Karl-Aksel Puulmann f6df41afaa
Retention page (#1073)
* Retention query v0

* First iteration of endpoint

* Return dates labels as well

* Fix the order of result building

* Improve query for retention.

Instead of trying to figure out the "first date", it instead:
1. Figures out what dates every user does events on (WITH query)
2. Then for every date/'first' date combo counts users.

I doubt this is the efficient way to do things but seems to return the
right results.

We now also include time range filter with the query.

* Add empty views for retention

* Add logic for loading data for retention table

* Get a table rendering for retention

* 11 days over 10

This results in a more pretty table

* Remove raw column

* Use correct relative timeframe

* Add spec for retention feature

Note it's currently failing because of missing functionality

* Use query combining for retention queries

* Color cells in retention table

Background color baseline was picked based on already used colors in
css.

Text color switches when crossing a handpicked threshold for legibility.

* Open submenu when navigating to retention

* Add e2e test for retention route

* Add subheader for retention

* Try make mypy happy
2020-06-24 21:13:56 +02:00
..
actions.js
auth.js
cohorts.js
dashboard.js
events.js
feature_flags.js 517 feature flags (#1017) 2020-06-22 10:57:09 +02:00
funnels.js
live_actions.js
paths.js
people.js Retention page (#1073) 2020-06-24 21:13:56 +02:00
sessions.js
setup.js
sidebar.js
trends_elements.js
trends_sessions.js Fix moving from sessions to trends (#1039) 2020-06-19 19:08:53 +02:00