2018-07-20 02:33:11 +08: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-20 07:30:26 +08:00
|
|
|
<h2>
|
2018-12-19 21:44:43 +08:00
|
|
|
<a href="{{get-url '/admin/dashboard/reports'}}">
|
2018-07-20 07:30:26 +08:00
|
|
|
{{i18n "admin.dashboard.community_health"}}
|
|
|
|
</a>
|
|
|
|
</h2>
|
2019-01-10 18:06:01 +08:00
|
|
|
{{period-chooser period=period action=(action "changePeriod") content=availablePeriods fullDay=true}}
|
2018-07-20 02:33:11 +08:00
|
|
|
</div>
|
|
|
|
|
|
|
|
<div class="section-body">
|
|
|
|
<div class="charts">
|
2019-01-21 22:17:04 +08:00
|
|
|
{{admin-report
|
|
|
|
dataSourceName="consolidated_page_views"
|
|
|
|
forcedModes="stacked-chart"
|
|
|
|
filters=filters}}
|
|
|
|
|
2018-07-20 02:33:11 +08:00
|
|
|
{{admin-report
|
|
|
|
dataSourceName="signups"
|
|
|
|
showTrend=true
|
|
|
|
forcedModes="chart"
|
2018-07-27 13:22:00 +08:00
|
|
|
filters=filters}}
|
2018-07-20 02:33:11 +08:00
|
|
|
|
|
|
|
{{admin-report
|
|
|
|
dataSourceName="topics"
|
|
|
|
showTrend=true
|
|
|
|
forcedModes="chart"
|
2018-07-27 13:22:00 +08:00
|
|
|
filters=filters}}
|
2018-07-20 02:33:11 +08:00
|
|
|
|
|
|
|
{{admin-report
|
|
|
|
dataSourceName="posts"
|
|
|
|
showTrend=true
|
|
|
|
forcedModes="chart"
|
2018-07-27 13:22:00 +08:00
|
|
|
filters=filters}}
|
2018-07-20 02:33:11 +08:00
|
|
|
|
|
|
|
{{admin-report
|
|
|
|
dataSourceName="dau_by_mau"
|
|
|
|
showTrend=true
|
|
|
|
forcedModes="chart"
|
2018-07-27 13:22:00 +08:00
|
|
|
filters=filters}}
|
2018-07-20 02:33:11 +08:00
|
|
|
|
|
|
|
{{admin-report
|
|
|
|
dataSourceName="daily_engaged_users"
|
|
|
|
showTrend=true
|
|
|
|
forcedModes="chart"
|
2018-07-27 13:22:00 +08:00
|
|
|
filters=filters}}
|
2018-07-20 02:33:11 +08:00
|
|
|
|
|
|
|
{{admin-report
|
|
|
|
dataSourceName="new_contributors"
|
|
|
|
showTrend=true
|
|
|
|
forcedModes="chart"
|
2018-07-27 13:22:00 +08:00
|
|
|
filters=filters}}
|
2018-07-20 02:33:11 +08:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div class="section-columns">
|
|
|
|
<div class="section-column">
|
2018-12-26 17:29:07 +08: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-07 04:57:40 +08:00
|
|
|
|
2018-12-26 17:29:07 +08:00
|
|
|
{{#each activityMetrics as |metric|}}
|
|
|
|
{{admin-report
|
|
|
|
showHeader=false
|
|
|
|
filters=activityMetricsFilters
|
|
|
|
forcedModes="counters"
|
|
|
|
dataSourceName=metric}}
|
|
|
|
{{/each}}
|
|
|
|
</div>
|
2018-07-20 02:33:11 +08:00
|
|
|
</div>
|
2018-08-07 04:57:40 +08:00
|
|
|
</div>
|
2018-12-26 17:29:07 +08:00
|
|
|
{{/if}}
|
2018-07-20 02:33:11 +08:00
|
|
|
|
|
|
|
<div class="user-metrics">
|
2018-08-07 04:57:40 +08:00
|
|
|
{{#conditional-loading-section isLoading=isLoading}}
|
|
|
|
{{admin-report
|
|
|
|
forcedModes="inline-table"
|
2018-09-13 23:35:54 +08:00
|
|
|
dataSourceName="users_by_type"}}
|
2018-07-20 02:33:11 +08:00
|
|
|
|
2018-08-07 04:57:40 +08:00
|
|
|
{{admin-report
|
|
|
|
forcedModes="inline-table"
|
2018-09-13 23:35:54 +08:00
|
|
|
dataSourceName="users_by_trust_level"}}
|
2018-08-07 04:57:40 +08:00
|
|
|
{{/conditional-loading-section}}
|
2018-07-20 02:33:11 +08:00
|
|
|
</div>
|
|
|
|
|
2018-12-15 06:14:46 +08:00
|
|
|
<div class="misc">
|
|
|
|
{{admin-report
|
|
|
|
forcedModes="storage-stats"
|
|
|
|
dataSourceName="storage_stats"
|
|
|
|
showHeader=false}}
|
|
|
|
|
|
|
|
<div class="last-dashboard-update">
|
|
|
|
<div>
|
2018-07-20 02:33:11 +08:00
|
|
|
<h4>{{i18n "admin.dashboard.last_updated"}} </h4>
|
|
|
|
<p>{{updatedTimestamp}}</p>
|
2018-12-15 06:14:46 +08:00
|
|
|
<a rel="noopener" target="_blank" href="https://meta.discourse.org/tags/release-notes" class="btn btn-default">
|
|
|
|
{{i18n "admin.dashboard.whats_new_in_discourse"}}
|
|
|
|
</a>
|
2018-07-20 02:33:11 +08:00
|
|
|
</div>
|
|
|
|
</div>
|
2018-12-15 06:14:46 +08:00
|
|
|
</div>
|
2018-07-20 02:33:11 +08:00
|
|
|
|
2018-12-15 06:14:46 +08:00
|
|
|
<p>
|
|
|
|
{{i18n 'admin.dashboard.find_old'}} {{#link-to 'admin.dashboard'}}{{i18n "admin.dashboard.old_link"}}{{/link-to}}
|
|
|
|
</p>
|
2018-07-20 02:33:11 +08:00
|
|
|
</div>
|
|
|
|
|
|
|
|
<div class="section-column">
|
2018-07-21 22:29:58 +08:00
|
|
|
{{admin-report
|
2018-09-07 22:49:44 +08:00
|
|
|
filters=topReferredTopicsFilters
|
2018-07-21 22:29:58 +08:00
|
|
|
dataSourceName="top_referred_topics"
|
2018-09-07 22:49:44 +08:00
|
|
|
reportOptions=topReferredTopicsOptions}}
|
2018-07-20 02:33:11 +08:00
|
|
|
|
|
|
|
{{admin-report
|
2018-07-21 11:35:53 +08:00
|
|
|
dataSourceName="trending_search"
|
2018-07-20 02:33:11 +08:00
|
|
|
reportOptions=trendingSearchOptions
|
2018-09-07 22:49:44 +08:00
|
|
|
filters=trendingSearchFilters
|
2018-07-20 02:33:11 +08:00
|
|
|
isEnabled=logSearchQueriesEnabled
|
2018-11-08 00:59:42 +08:00
|
|
|
disabledLabel=trendingSearchDisabledLabel}}
|
|
|
|
{{{i18n "admin.dashboard.reports.trending_search.more" basePath=basePath}}}
|
2018-07-20 02:33:11 +08:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
{{plugin-outlet name="admin-dashboard-general-bottom"}}
|
|
|
|
{{/conditional-loading-spinner}}
|