Quota limits rows (5h / weekly / tools) disappeared after subscription renewal — UI shows broken "Usage remaining ~150% Quota"
Nobody has claimed this yet.
- Dominant language
- No language data
- Stars
- 22
- Forks
- 1
- PR merge metrics
- No merged PRs in 30d
Description
Summary
After renewing my ZCode subscription, the quota/usage breakdown in the "Context windows" panel stopped showing the per-quota limit rows (5-hour, weekly, tools). Instead, only a single, clearly broken row is displayed: "Usage remaining ~150% Quota".
The quotas themselves are still being consumed (messages and MCP tool calls continue to work and count against quota), so this appears to be a display/rendering bug, not a backend accounting problem — but it makes it impossible to track usage of each quota type.
Steps to reproduce
- Renew the subscription (the issue appeared right at the renewal boundary).
- Open / restart the ZCode desktop client.
- Open the "Context windows" panel.
- Observe the quota area at the bottom of the panel.
Expected behavior
The panel shows the per-quota usage rows that were present before renewal, e.g.:
- 5-hour limit:
X / Y - Weekly limit:
X / Y - Tools limit:
X / Y
Actual behavior
Only one row is shown at the bottom of the "Context windows" panel:
- Text label: "Usage remaining"
- Badge: "~150% Quota" (a "remaining" value of 150% is clearly invalid)
- An ⓘ info icon
- "More →" link
The 5-hour / weekly / tools rows are entirely missing. Screenshot of the broken state will be attached.
Troubleshooting already tried (none of this helped)
- Full client restart (closed the tray process, reopened).
- Log out → log back in.
- Checked for client updates (on the latest version).
Environment
- OS: Windows 10.0.26200 x64
- ZCode client version:
<please fill — Settings → About> - Subscription plan:
<please fill, e.g. Coding Plan> - Renewal date:
<please fill>
Impact
Medium — work is not blocked, but I can no longer see how much of each quota type has been consumed, making it hard to plan usage and increasing the risk of unexpectedly hitting a limit. Likely affects anyone whose subscription renews around the same time.
Notes / hypothesis
~150%shown as "remaining" suggests the quota counters were reset on renewal, but the UI is computing/labeling the value incorrectly — possibly a negative-consumption or zero-denominator edge case at the subscription-renewal boundary.- Happy to share my Account ID privately if needed for server-side correlation.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the renewal-boundary state in the ZCode desktop client's Context windows panel and compare it with the expected per-quota rows. Trace the quota data and rendering path used by that panel, focusing on the remaining-percentage calculation after renewal. Done means the 5-hour, weekly, and tools rows return with valid usage values and no invalid ~150% display.
Written by the indexing model from the issue text.
Assessment
- Domain
- desktop
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Quiet
- Clarity
- Clearly specified
- Newbie friendliness
- 45/100