diff options
author | Sean McGivern <sean@gitlab.com> | 2017-03-30 16:48:33 +0100 |
---|---|---|
committer | Rémy Coutable <remy@rymai.me> | 2017-04-14 15:20:55 +0200 |
commit | 81022d76671a3c8961f6969542f8968901668a5f (patch) | |
tree | b04fd6d53e7118357a45fbab3de1937799fe13e7 /app/assets | |
parent | 73c57fd3b0c6f4e66147f5eb0360ce99d26123b1 (diff) | |
download | gitlab-ce-81022d76671a3c8961f6969542f8968901668a5f.tar.gz |
Add user cohorts table to admin area
This table shows the percentage of users who registered in the last
twelve months, who last signed in during or later than each of those
twelve months, by month.
It is only enabled when the usage ping is enabled, and the page also
shows pretty-printed usage ping data.
The cohorts table is generated in Ruby from some basic SQL queries,
because performing the gap-filling and running sums needed in both MySQL
and Postgres is painful.
Diffstat (limited to 'app/assets')
-rw-r--r-- | app/assets/javascripts/dispatcher.js | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/app/assets/javascripts/dispatcher.js b/app/assets/javascripts/dispatcher.js index 9d8f965dee0..6c94975d851 100644 --- a/app/assets/javascripts/dispatcher.js +++ b/app/assets/javascripts/dispatcher.js @@ -366,6 +366,7 @@ const ShortcutsBlob = require('./shortcuts_blob'); new Admin(); switch (path[1]) { case 'application_settings': + case 'user_cohorts': new gl.ApplicationSettings(); break; case 'groups': |