mirror of
https://github.com/stablyai/orca.git
synced 2026-10-03 00:02:19 +00:00
docs(dashboard): clarify count projection comment
This commit is contained in:
@@ -7,9 +7,9 @@ import { buildDashboardBucketCounts } from './build-dashboard-bucket-counts'
|
||||
export type AgentBucketCounts = Record<DashboardBucket, number>
|
||||
|
||||
/**
|
||||
* Per-state agent counts for the sidebar dashboard entry, derived from the same
|
||||
* builder that feeds the pop-out board so the numbers always agree. Recomputes
|
||||
* only when an input slice changes (mirrors useDashboardData's cost profile).
|
||||
* Per-state agent counts for the sidebar dashboard entry, using the same row
|
||||
* and bucket projection as the pop-out board without allocating its cards.
|
||||
* Recomputes only when an input slice changes.
|
||||
*/
|
||||
export function useAgentBucketCounts(): AgentBucketCounts {
|
||||
const {
|
||||
|
||||
Reference in New Issue
Block a user