2022-04-06 20:11:46 +03:00
|
|
|
<article {{did-insert this.loadCharts}} class="gh-dashboard5-box">
|
2022-03-29 18:53:50 +03:00
|
|
|
<div class="gh-dashboard5-insert">
|
2022-04-06 20:11:46 +03:00
|
|
|
<div class="gh-dashboard5-insert-item">
|
2022-04-12 15:09:00 +03:00
|
|
|
<Dashboard::v5::Parts::Metric
|
2022-04-06 20:11:46 +03:00
|
|
|
@label="Engaged over 30 days"
|
|
|
|
@value={{this.data30Days}}
|
2022-04-08 19:49:11 +03:00
|
|
|
/>
|
2022-03-29 18:53:50 +03:00
|
|
|
</div>
|
2022-04-06 20:11:46 +03:00
|
|
|
<div class="gh-dashboard5-insert-item">
|
2022-04-12 15:09:00 +03:00
|
|
|
<Dashboard::v5::Parts::Metric
|
2022-04-06 20:11:46 +03:00
|
|
|
@label="Engaged over 7 days"
|
|
|
|
@value={{this.data7Days}}
|
2022-04-08 19:49:11 +03:00
|
|
|
/>
|
2022-03-29 18:53:50 +03:00
|
|
|
</div>
|
2022-03-22 14:11:00 +03:00
|
|
|
</div>
|
2022-03-29 18:53:50 +03:00
|
|
|
</article>
|
|
|
|
|
|
|
|
<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>
|