Skip to content

fix: keep usage history snapshots enabled#491

Merged
icebear0828 merged 1 commit into
devfrom
fix/usage-stats-summary-cards
May 12, 2026
Merged

fix: keep usage history snapshots enabled#491
icebear0828 merged 1 commit into
devfrom
fix/usage-stats-summary-cards

Conversation

@icebear0828
Copy link
Copy Markdown
Owner

@icebear0828 icebear0828 commented May 11, 2026

Summary

  • keep the usage stats UI on selected history-window totals
  • add an independent usage_stats.snapshot_interval_minutes setting, defaulting to 5 minutes
  • stop tying local usage history snapshots to quota.refresh_interval_minutes, so quota refresh can be disabled without making history stay at zero

Tests

  • npx vitest run tests/unit/auth/usage-refresher.test.ts tests/unit/config-schema.test.ts tests/unit/config.test.ts
  • cd web && npx vitest run src/pages/tests/usage-stats.test.tsx
  • npm run build
  • git diff --check

@icebear0828 icebear0828 force-pushed the fix/usage-stats-summary-cards branch from 485eb02 to 839b51c Compare May 11, 2026 08:38
@icebear0828 icebear0828 changed the title fix: restore cumulative usage summary cards fix: keep usage history snapshots enabled May 11, 2026
@icebear0828 icebear0828 merged commit cb7eb0d into dev May 12, 2026
1 check 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