Skip to content

fix(web): Now marker, stale Antigravity windows and clearer quota chart wording - #41

Merged
rune-gh merged 4 commits into
mainfrom
fix/quota-chart-now-marker
Dec 3, 2026
Merged

rune-gh merged 4 commits into
mainfrom
fix/quota-chart-now-marker

Conversation

@rune-gh

@rune-gh rune-gh commented Dec 3, 2026

Copy link
Copy Markdown
Owner

Fixes the remaining errors in the quota chart, found against the hub's real history.

  • Now marker: a full-height line with a "Now" label. Reset labels such as "+100%" keep clear of it.
  • Wording: "Not by Dec 13" becomes "Lasts past Dec 13", and an already-empty pool says "Empty now". Far-off times show a date, and a reset that restores nothing no longer shows "+0%".
  • Stale windows: a window an account stops reporting for over 6 hours drops out of that pool, in the chart and the account table. Google stopped listing Claude/GPT quota for one Antigravity account, and the panel kept charting its last 100% reading for days.
  • Phantom refills: Antigravity readings that jump up before the reset time and fall straight back are dropped. This was a two-hour spike to 200% just before an account started returning 403. Real early resets still count.
  • Overlapping captions: charts with several lines no longer draw the "… empty " captions; the table carries those times.
  • Burn: the burn stat also shows the 7-day average when it differs. The projection blends in that average, so an idle window still slopes down while its recent burn reads 0%/h.

Depends on #40.

Testing: bun run verify passes, with tests for the stale-window and transient-refill rules; screenshots checked against the real history.

🤖 Generated with Claude Code

rune-gh and others added 4 commits December 2, 2026 17:18
A plan reset four weeks out read "+0%, Fri 8:00 AM": the weekday alone is
ambiguous beyond six days, and a window with nothing used gains nothing.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…ime wording

- Now is a solid full-height rule with a chip; jump labels keep clear of it.
- Several lines on one chart: no "… empty …" captions over the lines; the
  table above already names each time. An already-empty pool reads "Empty now".
- "Not by Dec 13" becomes "Lasts past Dec 13".
- An account that keeps reporting but no longer lists a window (Antigravity
  dropped one account's Claude/GPT group) leaves that pool and the
  table, instead of its last reading being carried forward for days.
- Antigravity readings that refill before their reset and fall straight back
  (seen while an account was failing with 403s) are dropped; lasting early
  resets are kept.
- Dev fixture: `&pool=live` renders a saved hub history.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
… burn

The projection blends the recent burn with the 7-day average, so a pool
that has been idle for a few hours still slopes down. Showing the average
under the recent figure explains that slope.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@rune-gh
rune-gh merged commit b5a315c into main Dec 3, 2026
8 checks passed
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