mirror of
https://github.com/CopilotKit/CopilotKit.git
synced 2026-09-14 16:26:20 +08:00
de2bc6efc0
The report's third column was budget-usage bars: the same three team totals the donut beside it already showed, redrawn with limits added. Two charts, one fact. It now ranks the largest individual charges, which changes the unit of analysis from team to transaction. A team aggregate cannot distinguish one $15,000 charge from thirty $500 ones, so this is information the donut genuinely cannot carry. Bars stay coloured by owning team, so a row still ties back to its slice without the two charts duplicating each other. Budget-vs-limit is not lost: it remains the "Over policy limit" KPI above and the "Needs a decision" rows below. Invoice-derived line items now carry the policy id of the team they belong to, so they colour like any other charge. Without it they fell back to a generic swatch and a Marketing charge did not match Marketing's slice. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>