mirror of
https://github.com/optim-enterprises-bv/vault.git
synced 2025-11-01 19:17:58 +00:00
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
This commit is contained in:
@@ -167,7 +167,7 @@ export const namespaceArrayToObject = (
|
||||
...mount,
|
||||
timestamp,
|
||||
month,
|
||||
new_clients: { month, ...newMountClients },
|
||||
new_clients: { month, timestamp, ...newMountClients },
|
||||
};
|
||||
}
|
||||
return mountObj;
|
||||
@@ -177,7 +177,7 @@ export const namespaceArrayToObject = (
|
||||
...destructureClientCounts(ns),
|
||||
timestamp,
|
||||
month,
|
||||
new_clients: { month, ...newNsClients },
|
||||
new_clients: { month, timestamp, ...newNsClients },
|
||||
mounts_by_key,
|
||||
};
|
||||
}
|
||||
@@ -241,6 +241,7 @@ export interface NamespaceByKey extends TotalClients {
|
||||
|
||||
export interface NamespaceNewClients extends TotalClients {
|
||||
month: string;
|
||||
timestamp: string;
|
||||
label: string;
|
||||
mounts: MountClients[];
|
||||
}
|
||||
@@ -254,6 +255,7 @@ export interface MountByKey extends TotalClients {
|
||||
|
||||
export interface MountNewClients extends TotalClients {
|
||||
month: string;
|
||||
timestamp: string;
|
||||
label: string;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user