[Bug] Progress bars display remaining quota instead of used quota
<img width="878" height="456" alt="Image" src="https://github.com/user-attachments/assets/83e1db7b-d3b6-491c-8901-2c7626ac24fe" />
Bug Description
Version: 2.0.50
Progress bars show remaining quota as used quota
Description:
The progress bars are inverted. The light purple/mauve color represents the used quota, but the bars are
displaying the remaining percentage as the filled (purple) portion instead of the used percentage.
Current behavior (incorrect):
- 94% left (6% used): Bar shows ~94% purple → should show only 6% purple
- 80% left (20% used): Bar shows ~80% purple → should show only 20% purple
- 98% left (2% used): Bar shows ~2% purple → this one appears correct
Expected behavior:
If purple = used quota:
- "94% left" → 6% used → 6% purple, 94% dark
- "80% left" → 20% used → 20% purple, 80% dark
- "98% left" → 2% used → 2% purple, 98% dark
The issue:
The bars are currently filling the purple portion with the remaining percentage value instead of the used
percentage value.
Fix needed:
// Current (wrong):
purple_width = remaining_percentage
// Should be:
purple_width = 100 - remaining_percentage
// or
purple_width = used_percentage
The calculation is inverted - it's using the "% left" value directly to fill the purple bar, when it should be
using (100 - "% left").
Environment Info
- Platform: darwin
- Terminal: cursor
- Version: 2.0.50
- Feedback ID: ff476eea-8850-4b0f-8ceb-5fa8bd392a9c
This issue has 3 comments on GitHub. Read the full discussion on GitHub ↗