2018-07-19 14:33:11 -04:00
|
|
|
{{#conditional-loading-spinner condition=isLoading}}
|
|
|
|
{{plugin-outlet name="admin-dashboard-general-top"}}
|
|
|
|
|
|
|
|
<div class="community-health section">
|
|
|
|
<div class="period-section">
|
|
|
|
<div class="section-title">
|
2018-07-19 19:30:26 -04:00
|
|
|
<h2>
|
2020-03-07 06:58:48 -05:00
|
|
|
<a href={{get-url '/admin/dashboard/reports'}}>
|
2018-07-19 19:30:26 -04:00
|
|
|
{{i18n "admin.dashboard.community_health"}}
|
|
|
|
</a>
|
|
|
|
</h2>
|
2019-01-10 05:06:01 -05:00
|
|
|
{{period-chooser period=period action=(action "changePeriod") content=availablePeriods fullDay=true}}
|
2018-07-19 14:33:11 -04:00
|
|
|
</div>
|
|
|
|
|
|
|
|
<div class="section-body">
|
|
|
|
<div class="charts">
|
2019-01-21 09:17:04 -05:00
|
|
|
{{admin-report
|
|
|
|
dataSourceName="consolidated_page_views"
|
|
|
|
forcedModes="stacked-chart"
|
|
|
|
filters=filters}}
|
|
|
|
|
2018-07-19 14:33:11 -04:00
|
|
|
{{admin-report
|
|
|
|
dataSourceName="signups"
|
|
|
|
showTrend=true
|
|
|
|
forcedModes="chart"
|
2018-07-27 01:22:00 -04:00
|
|
|
filters=filters}}
|
2018-07-19 14:33:11 -04:00
|
|
|
|
|
|
|
{{admin-report
|
|
|
|
dataSourceName="topics"
|
|
|
|
showTrend=true
|
|
|
|
forcedModes="chart"
|
2018-07-27 01:22:00 -04:00
|
|
|
filters=filters}}
|
2018-07-19 14:33:11 -04:00
|
|
|
|
|
|
|
{{admin-report
|
|
|
|
dataSourceName="posts"
|
|
|
|
showTrend=true
|
|
|
|
forcedModes="chart"
|
2018-07-27 01:22:00 -04:00
|
|
|
filters=filters}}
|
2018-07-19 14:33:11 -04:00
|
|
|
|
|
|
|
{{admin-report
|
|
|
|
dataSourceName="dau_by_mau"
|
|
|
|
showTrend=true
|
|
|
|
forcedModes="chart"
|
2018-07-27 01:22:00 -04:00
|
|
|
filters=filters}}
|
2018-07-19 14:33:11 -04:00
|
|
|
|
|
|
|
{{admin-report
|
|
|
|
dataSourceName="daily_engaged_users"
|
|
|
|
showTrend=true
|
|
|
|
forcedModes="chart"
|
2018-07-27 01:22:00 -04:00
|
|
|
filters=filters}}
|
2018-07-19 14:33:11 -04:00
|
|
|
|
|
|
|
{{admin-report
|
|
|
|
dataSourceName="new_contributors"
|
|
|
|
showTrend=true
|
|
|
|
forcedModes="chart"
|
2018-07-27 01:22:00 -04:00
|
|
|
filters=filters}}
|
2018-07-19 14:33:11 -04:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div class="section-columns">
|
|
|
|
<div class="section-column">
|
2018-12-26 04:29:07 -05:00
|
|
|
{{#if activityMetrics.length}}
|
|
|
|
<div class="admin-report activity-metrics">
|
|
|
|
<div class="header">
|
|
|
|
<ul class="breadcrumb">
|
|
|
|
<li class="item report">
|
|
|
|
{{#link-to "adminReports" class="report-url"}}
|
|
|
|
{{i18n "admin.dashboard.activity_metrics"}}
|
|
|
|
{{/link-to}}
|
|
|
|
</li>
|
|
|
|
</ul>
|
|
|
|
</div>
|
|
|
|
<div class="report-body">
|
|
|
|
<div class="counters-list">
|
|
|
|
<div class="counters-header">
|
|
|
|
<div class="counters-cell"></div>
|
|
|
|
<div class="counters-cell">{{i18n 'admin.dashboard.reports.today'}}</div>
|
|
|
|
<div class="counters-cell">{{i18n 'admin.dashboard.reports.yesterday'}}</div>
|
|
|
|
<div class="counters-cell">{{i18n 'admin.dashboard.reports.last_7_days'}}</div>
|
|
|
|
<div class="counters-cell">{{i18n 'admin.dashboard.reports.last_30_days'}}</div>
|
|
|
|
</div>
|
2018-08-06 16:57:40 -04:00
|
|
|
|
2018-12-26 04:29:07 -05:00
|
|
|
{{#each activityMetrics as |metric|}}
|
|
|
|
{{admin-report
|
|
|
|
showHeader=false
|
|
|
|
filters=activityMetricsFilters
|
|
|
|
forcedModes="counters"
|
|
|
|
dataSourceName=metric}}
|
|
|
|
{{/each}}
|
|
|
|
</div>
|
2018-07-19 14:33:11 -04:00
|
|
|
</div>
|
2018-08-06 16:57:40 -04:00
|
|
|
</div>
|
2018-12-26 04:29:07 -05:00
|
|
|
{{/if}}
|
2018-07-19 14:33:11 -04:00
|
|
|
|
|
|
|
<div class="user-metrics">
|
2018-08-06 16:57:40 -04:00
|
|
|
{{#conditional-loading-section isLoading=isLoading}}
|
|
|
|
{{admin-report
|
|
|
|
forcedModes="inline-table"
|
2018-09-13 11:35:54 -04:00
|
|
|
dataSourceName="users_by_type"}}
|
2018-07-19 14:33:11 -04:00
|
|
|
|
2018-08-06 16:57:40 -04:00
|
|
|
{{admin-report
|
|
|
|
forcedModes="inline-table"
|
2018-09-13 11:35:54 -04:00
|
|
|
dataSourceName="users_by_trust_level"}}
|
2018-08-06 16:57:40 -04:00
|
|
|
{{/conditional-loading-section}}
|
2018-07-19 14:33:11 -04:00
|
|
|
</div>
|
|
|
|
|
2018-12-14 17:14:46 -05:00
|
|
|
<div class="misc">
|
|
|
|
{{admin-report
|
|
|
|
forcedModes="storage-stats"
|
|
|
|
dataSourceName="storage_stats"
|
|
|
|
showHeader=false}}
|
|
|
|
|
|
|
|
<div class="last-dashboard-update">
|
|
|
|
<div>
|
2018-07-19 14:33:11 -04:00
|
|
|
<h4>{{i18n "admin.dashboard.last_updated"}} </h4>
|
2019-05-17 01:42:45 -04:00
|
|
|
<p>{{format-date model.attributes.updated_at leaveAgo="true"}}</p>
|
|
|
|
</div>
|
2019-08-28 07:37:42 -04:00
|
|
|
{{#if model.attributes.discourse_updated_at}}
|
|
|
|
<div>
|
|
|
|
<h4>{{i18n "admin.dashboard.discourse_last_updated"}} </h4>
|
|
|
|
<p>{{format-date model.attributes.discourse_updated_at leaveAgo="true"}}</p>
|
|
|
|
<a rel="noopener" target="_blank" href={{model.attributes.release_notes_link}} class="btn btn-default">
|
|
|
|
{{i18n "admin.dashboard.whats_new_in_discourse"}}
|
|
|
|
</a>
|
|
|
|
</div>
|
|
|
|
{{/if}}
|
2018-07-19 14:33:11 -04:00
|
|
|
</div>
|
2018-12-14 17:14:46 -05:00
|
|
|
</div>
|
2018-07-19 14:33:11 -04:00
|
|
|
</div>
|
|
|
|
|
|
|
|
<div class="section-column">
|
2018-07-21 10:29:58 -04:00
|
|
|
{{admin-report
|
2018-09-07 10:49:44 -04:00
|
|
|
filters=topReferredTopicsFilters
|
2018-07-21 10:29:58 -04:00
|
|
|
dataSourceName="top_referred_topics"
|
2018-09-07 10:49:44 -04:00
|
|
|
reportOptions=topReferredTopicsOptions}}
|
2018-07-19 14:33:11 -04:00
|
|
|
|
|
|
|
{{admin-report
|
2018-07-20 23:35:53 -04:00
|
|
|
dataSourceName="trending_search"
|
2018-07-19 14:33:11 -04:00
|
|
|
reportOptions=trendingSearchOptions
|
2018-09-07 10:49:44 -04:00
|
|
|
filters=trendingSearchFilters
|
2018-07-19 14:33:11 -04:00
|
|
|
isEnabled=logSearchQueriesEnabled
|
2018-11-07 11:59:42 -05:00
|
|
|
disabledLabel=trendingSearchDisabledLabel}}
|
|
|
|
{{{i18n "admin.dashboard.reports.trending_search.more" basePath=basePath}}}
|
2018-07-19 14:33:11 -04:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
{{plugin-outlet name="admin-dashboard-general-bottom"}}
|
|
|
|
{{/conditional-loading-spinner}}
|