Files
jetbrains-cc-gui/webview
toxeh f6f4206846 feat(webview): plan-usage indicator component + pace utils
Adds the provider-agnostic plan-usage UI for the chat input ContextBar:

- planUsagePace.ts: pace coloring (TP = usage %, TT = linear time budget
  through the reset window), capacity payload normalization into a
  PlanUsageSnapshot, window resolution/switching (5h/7d) with persisted
  selection, and reset formatting (short bar label without trailing
  period + full tooltip datetime).
- PlanUsageIndicator.tsx: mini bar + % + window chip + short reset +
  worst-window dot; tooltip lists all windows and reset times.
- context-bar.css: .plan-usage* styles (green/yellow/red pace colors).
- Unit tests for the pace utils and the indicator.

Co-Authored-By: Claude <noreply@anthropic.com>
2026-08-18 07:17:09 -04:00
..
2025-11-23 23:37:28 +08:00