FN-6631: fix Command Center completion gauges
Fix Command Center completion analytics and add futuristic activity visualizations. - Compute SDLC completion rate as a triage cohort conversion capped between zero and one. - Add a radial completion gauge plus a live activity strip with compact throughput sparkline styling. - Cover the analytics and chart behavior with targeted tests, docs, and a patch changeset. Files changed: .changeset/fn-6631-command-center-rate-gauge.md | 5 + docs/dashboard-guide.md | 4 +- .../core/src/__tests__/activity-analytics.test.ts | 32 +++++- packages/core/src/activity-analytics.ts | 23 +++- .../components/command-center/CommandCenter.css | 128 ++++++++++++++++++++- .../components/command-center/CommandCenter.tsx | 45 +++++++- .../app/components/command-center/SdlcFunnel.tsx | 17 ++- .../__tests__/CommandCenter.test.tsx | 12 +- .../command-center/__tests__/SdlcFunnel.test.tsx | 2 + .../command-center/__tests__/charts.test.tsx | 26 ++++- .../command-center/charts/RadialGauge.tsx | 50 ++++++++ .../components/command-center/charts/charts.css | 83 +++++++++++++ .../vitest.config.ts | 2 + scripts/lib/test-quarantine.json | 8 +- 14 files changed, 402 insertions(+), 35 deletions(-) Fusion-Task-Id: FN-6631 Fusion-Task-Lineage: 0d09f18a-5f93-4dc8-8786-889f32eb63e8
This commit is contained in:
@@ -663,14 +663,14 @@ Navigation:
|
||||
|
||||
Features:
|
||||
- Global date-range picker in the header scopes the analytics tabs; **Mission Control** remains live rather than historical.
|
||||
- **Overview** summarizes token usage/cost, autonomy, active nodes, tasks done, model breadth, and open signals, and includes the SDLC throughput funnel for the selected range.
|
||||
- **Overview** summarizes token usage/cost, autonomy, active nodes, tasks done, model breadth, and open signals, and includes the SDLC throughput funnel for the selected range. The SDLC completion rate is shown as a radial gauge and is calculated as cohort conversion from in-range triage entrants, so the rate is capped at 100% even when older tasks finish during the range.
|
||||
- **Tokens** breaks down token totals, estimated cost, tasks, and per-model usage.
|
||||
- **Tools** shows autonomy ratio, tool-call volume, intervention counts, sessions, and tool categories.
|
||||
- **Activity** tracks sessions, messages, active nodes, active agents, stickiness, and daily activity sparklines.
|
||||
- **Productivity** separates outcome counters (commits and pull requests) from volume proxies such as modified files, lines changed, and files by language.
|
||||
- **Ecosystem** shows active model breadth and per-model task activity; unavailable plugin-activation metrics render as unavailable rather than zero.
|
||||
- **Signals** shows external signal totals, open/resolved counts, MTTR, and source/severity breakdowns when signal sources are connected.
|
||||
- **Mission Control** shows live active sessions/runs/nodes, current sessions and nodes, and a live SDLC funnel; when idle it reports that live updates resume when work starts.
|
||||
- **Mission Control** shows live active sessions/runs/nodes, current sessions and nodes, an animated live activity snapshot, and a live SDLC funnel; when idle it reports that live updates resume when work starts. Motion-heavy accents respect reduced-motion preferences.
|
||||
|
||||
Data states:
|
||||
- Overview shows a loading state while core analytics settle, then shows `No usage data yet. Run some agents to populate the Command Center.` only after the selected range has settled with no core usage data.
|
||||
|
||||
Reference in New Issue
Block a user