From 0c7b13cc4a3ca3fed722c089d4e0f5d813ef330b Mon Sep 17 00:00:00 2001 From: Neil <4138956+nwparker@users.noreply.github.com> Date: Sun, 30 Aug 2026 17:14:09 -0700 Subject: [PATCH] docs(dashboard): clarify count projection comment --- .../src/components/dashboard/useAgentBucketCounts.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/renderer/src/components/dashboard/useAgentBucketCounts.ts b/src/renderer/src/components/dashboard/useAgentBucketCounts.ts index 210c7a969df..bd33c06c756 100644 --- a/src/renderer/src/components/dashboard/useAgentBucketCounts.ts +++ b/src/renderer/src/components/dashboard/useAgentBucketCounts.ts @@ -7,9 +7,9 @@ import { buildDashboardBucketCounts } from './build-dashboard-bucket-counts' export type AgentBucketCounts = Record /** - * 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 {