Skip to content

fix: correct context window usage indicator icon thresholds#692

Merged
FL4TLiN3 merged 1 commit intomainfrom
fix/usage-indicator-thresholds
Mar 4, 2026
Merged

fix: correct context window usage indicator icon thresholds#692
FL4TLiN3 merged 1 commit intomainfrom
fix/usage-indicator-thresholds

Conversation

@FL4TLiN3
Copy link
Contributor

@FL4TLiN3 FL4TLiN3 commented Mar 4, 2026

Summary

  • Fixed pie chart symbols (○◔◑◕●) for context window usage to match their visual fill level
  • Previously icons over-represented usage (e.g., 2.3% showed ◔ quarter-filled, 27.9% showed ◑ half-filled)
  • Now thresholds are: <5% → ○, 5-25% → ◔, 25-50% → ◑, 50-75% → ◕, 75%+ → ●

Test plan

  • Verify bun run typecheck passes for tui-components
  • Visual check: delegation tree usage icons match percentage values

🤖 Generated with Claude Code

The pie chart symbols (◔◑◕●) were mapped to wrong percentage ranges,
causing icons to over-represent actual usage. Now icons switch at the
percentage matching their visual fill level (25%, 50%, 75%) and an
empty circle (○) is used below 5%.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@FL4TLiN3 FL4TLiN3 enabled auto-merge (squash) March 4, 2026 15:33
@FL4TLiN3 FL4TLiN3 merged commit 5f855b8 into main Mar 4, 2026
11 checks passed
@FL4TLiN3 FL4TLiN3 deleted the fix/usage-indicator-thresholds branch March 4, 2026 15:34
@FL4TLiN3 FL4TLiN3 mentioned this pull request Mar 4, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant