2022-03-24 18:06:17 +03:00
|
|
|
<div class="gh-dashboard5-header">
|
|
|
|
<h3 {{did-insert this.loadCharts}}>Engagement</h3>
|
|
|
|
<div class="prototype-selection">
|
|
|
|
<PowerSelect
|
|
|
|
@selected={{this.selectedStatusOption}}
|
|
|
|
@options={{this.statusOptions}}
|
|
|
|
@searchEnabled={{false}}
|
|
|
|
@onChange={{this.onSwitchStatus}}
|
|
|
|
@triggerComponent="gh-power-select/trigger"
|
|
|
|
@triggerClass="gh-contentfilter-menu-trigger"
|
|
|
|
@dropdownClass="gh-contentfilter-menu-dropdown"
|
|
|
|
@matchTriggerWidth={{false}}
|
|
|
|
as |option|
|
|
|
|
>
|
|
|
|
{{#if option.name}}{{option.name}}{{else}}<span class="red">Unknown option</span>{{/if}}
|
|
|
|
</PowerSelect>
|
|
|
|
</div>
|
2022-03-24 12:05:08 +03:00
|
|
|
</div>
|
2022-03-22 14:11:00 +03:00
|
|
|
|
2022-03-24 17:02:13 +03:00
|
|
|
<div class="gh-dashboard5-container">
|
|
|
|
<div class="gh-dashboard5-box">
|
|
|
|
<h4 class="gh-dashboard5-metric">Engaged in past 30 days</h4>
|
|
|
|
<div class="gh-dashboard5-number is-small">{{this.data30Days}}</div>
|
2022-03-22 14:11:00 +03:00
|
|
|
</div>
|
|
|
|
|
2022-03-24 17:02:13 +03:00
|
|
|
<div class="gh-dashboard5-box">
|
|
|
|
<h4 class="gh-dashboard5-metric">Engaged in past 7 days</h4>
|
|
|
|
<div class="gh-dashboard5-number is-small">{{this.data7Days}}</div>
|
2022-03-22 14:11:00 +03:00
|
|
|
</div>
|
|
|
|
</div>
|