mirror of
https://github.com/hashicorp/vault.git
synced 2025-08-31 19:41:12 +02:00
* increase bar width, show new clients only, add timestamp to header, update bar color * remove extra timestamps, switch to basic bar chart * update docs and styling * remove unneeded timestamp args * show new client running totatls * initial test updates * update test * clean up new client total calc into util fn * bits of clean up and todos * update tests * update to avoid activity call when in CE and missing either start or end time * update todos * update tests * tidying * move new client total onto payload for easier access * update more tests to align with copy changes and new client totals * remove addressed TODOs * Update comment * add changelog entry * revert to using total, update tests and clean up * Update ui/app/components/clients/page/counts.hbs Co-authored-by: claire bontempo <68122737+hellobontempo@users.noreply.github.com> * remove duplicate charts and update descriptions * update tests after removing extra charts * tidy * update instances of byMonthActivityData to use byMonthNewClients and update tests * Update ui/app/components/clients/running-total.ts Co-authored-by: claire bontempo <68122737+hellobontempo@users.noreply.github.com> * update chart styles --------- Co-authored-by: claire bontempo <68122737+hellobontempo@users.noreply.github.com>
29 lines
878 B
Handlebars
29 lines
878 B
Handlebars
{{!
|
|
Copyright (c) HashiCorp, Inc.
|
|
SPDX-License-Identifier: BUSL-1.1
|
|
}}
|
|
|
|
<Clients::RunningTotal
|
|
@isSecretsSyncActivated={{this.flags.secretsSyncIsActivated}}
|
|
@byMonthNewClients={{this.byMonthNewClients}}
|
|
@isHistoricalMonth={{and (not this.isCurrentMonth) (not this.isDateRange)}}
|
|
@isCurrentMonth={{this.isCurrentMonth}}
|
|
@runningTotals={{this.totalUsageCounts}}
|
|
@upgradeData={{this.upgradesDuringActivity}}
|
|
@mountPath={{@mountPath}}
|
|
/>
|
|
|
|
{{#if this.hasAttributionData}}
|
|
<Clients::Attribution
|
|
@noun="namespace"
|
|
@attribution={{@activity.byNamespace}}
|
|
@isSecretsSyncActivated={{this.flags.secretsSyncIsActivated}}
|
|
/>
|
|
{{#if this.namespaceMountAttribution}}
|
|
<Clients::Attribution
|
|
@noun="mount"
|
|
@attribution={{this.namespaceMountAttribution}}
|
|
@isSecretsSyncActivated={{this.flags.secretsSyncIsActivated}}
|
|
/>
|
|
{{/if}}
|
|
{{/if}} |