claire bontempo 3f19f8b0f0
UI: Add charts to ACME client count tab (#26385)
* use model returned by route model hook for ts declaration

* remove hasActivity helper

* refactor mirage so namespace totals are summed from monthly data

* add charts to acme tab

* add controller, update counts test

* add test for acme page

* selector cleanup

* update empty state handling for cc charts

* cleanup conditional logic

* add acme acceptance tests for filtering

* wrap up util updates

* finish acceptance tests

* update usage stats

* wrap up number updates from latest stubbed response
2024-04-16 20:58:54 -07:00

16 lines
456 B
TypeScript

/**
* Copyright (c) HashiCorp, Inc.
* SPDX-License-Identifier: BUSL-1.1
*/
import ActivityComponent from '../activity';
export default class ClientsAcmePageComponent extends ActivityComponent {
title = 'ACME usage';
get description() {
return `This data can be used to understand how many ACME clients have been used for the queried ${
this.isDateRange ? 'date range' : 'month'
}. Each ACME request is counted as one client.`;
}
}