2023-11-08 08:50:37 -05:00
|
|
|
<div class="sentiment section">
|
|
|
|
<div class="period-section">
|
|
|
|
<div class="section-title">
|
|
|
|
<h2>
|
|
|
|
{{i18n "discourse_ai.sentiments.dashboard.title"}}
|
|
|
|
</h2>
|
2024-01-19 07:27:33 -05:00
|
|
|
|
|
|
|
<DashboardPeriodSelector
|
|
|
|
@period={{this.period}}
|
|
|
|
@setPeriod={{this.setPeriod}}
|
|
|
|
@startDate={{this.startDate}}
|
|
|
|
@endDate={{this.endDate}}
|
|
|
|
@setCustomDateRange={{this.setCustomDateRange}}
|
|
|
|
/>
|
2023-11-08 08:50:37 -05:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div class="section-body">
|
|
|
|
<div class="charts">
|
|
|
|
<AdminReport
|
|
|
|
@dataSourceName="overall_sentiment"
|
|
|
|
@filters={{this.filters}}
|
|
|
|
@showHeader={{true}}
|
|
|
|
/>
|
2024-11-19 08:01:10 -05:00
|
|
|
<div class="admin-report activity-metrics">
|
|
|
|
<div class="header">
|
|
|
|
<ul class="breadcrumb">
|
|
|
|
<li class="item report">
|
|
|
|
<LinkTo @route="adminReports" class="report-url">
|
|
|
|
{{i18n "admin.dashboard.emotion"}}
|
|
|
|
</LinkTo>
|
|
|
|
</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>
|
|
|
|
{{#each this.emotions as |metric|}}
|
|
|
|
<AdminReport
|
|
|
|
@showHeader={{false}}
|
|
|
|
@forcedModes="emotion"
|
|
|
|
@dataSourceName="emotion_{{metric}}"
|
|
|
|
/>
|
|
|
|
{{/each}}
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
2023-11-08 08:50:37 -05:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|