From 11a688d3813646aeb97f58b61c083b019da66cfc Mon Sep 17 00:00:00 2001 From: Christopher Speller Date: Fri, 20 Jan 2017 15:24:53 -0500 Subject: Adding active users statistics to system console (#5141) --- webapp/components/analytics/system_analytics.jsx | 34 ++++++++++++++++++++++++ 1 file changed, 34 insertions(+) (limited to 'webapp/components') diff --git a/webapp/components/analytics/system_analytics.jsx b/webapp/components/analytics/system_analytics.jsx index dd7b90260..89cc98f0b 100644 --- a/webapp/components/analytics/system_analytics.jsx +++ b/webapp/components/analytics/system_analytics.jsx @@ -358,6 +358,32 @@ class SystemAnalytics extends React.Component { /> ); + const dailyActiveUsers = ( + + } + icon='fa-users' + count={stats[StatTypes.DAILY_ACTIVE_USERS]} + /> + ); + + const monthlyActiveUsers = ( + + } + icon='fa-users' + count={stats[StatTypes.MONTHLY_ACTIVE_USERS]} + /> + ); + let firstRow; let secondRow; if (isLicensed && skippedIntensiveQueries) { @@ -406,6 +432,13 @@ class SystemAnalytics extends React.Component { ); } + const thirdRow = ( +
+ {dailyActiveUsers} + {monthlyActiveUsers} +
+ ); + return (

@@ -417,6 +450,7 @@ class SystemAnalytics extends React.Component { {banner} {firstRow} {secondRow} + {thirdRow} {advancedStats} {advancedGraphs} {postTotalGraph} -- cgit v1.2.3-1-g7c22