diff options
| author | Claudomator Agent <agent@claudomator> | 2026-03-11 19:05:12 +0000 |
|---|---|---|
| committer | Claudomator Agent <agent@claudomator> | 2026-03-11 19:05:12 +0000 |
| commit | 55c20922cc7a671787fe94fdd53a7eb72ebd2596 (patch) | |
| tree | 01492aec1a365348ce21281fef4e36b4372661e3 /internal/api/validate.go | |
| parent | 1bcc40f7fd83bc603201b14577eebe5a482ba68e (diff) | |
feat: add Stats tab with task distribution and execution health metrics
- Export computeTaskStats and computeExecutionStats from app.js
- Add renderStatsPanel with state count grid, KPI row (total/success-rate/cost/avg-duration), and outcome bar chart
- Wire stats tab into switchTab and poll for live refresh
- Add Stats tab button and panel to index.html
- Add CSS for .stats-counts, .stats-kpis, .stats-bar-chart using existing state color variables
- Add docs/stats-tab-plan.md with component structure and data flow
- 14 new unit tests in web/test/stats.test.mjs (140 total, all passing)
No backend changes — derives all metrics from existing /api/tasks and /api/executions endpoints.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Diffstat (limited to 'internal/api/validate.go')
0 files changed, 0 insertions, 0 deletions
