Skip to content

Add per-key API usage panel to Developers page (live meter + 24h client history) - #671

Merged
therealjhay merged 1 commit into
Betta-Pay:mainfrom
Songu3020:Rate-limit-usage-meter-per-API-key
Aug 31, 2026
Merged

Add per-key API usage panel to Developers page (live meter + 24h client history)#671
therealjhay merged 1 commit into
Betta-Pay:mainfrom
Songu3020:Rate-limit-usage-meter-per-API-key

Conversation

@Songu3020

Copy link
Copy Markdown
Contributor

#closes
#454

Adds a per-API-key usage UI so developers can see current window consumption, remaining quota, reset time and a small 24‑hour client-side sparkline/history. Approaching the limit shows a warning state and the unit label is derived from the response (JSON or X-RateLimit-* headers).

- Added KeyUsagePanel component to display usage statistics for API keys.
- Integrated local storage for usage history and implemented data fetching from the API.
- Enhanced error handling and loading states for better user experience.
- Updated DevelopersPage to include KeyUsagePanel for each API key.
- Refactored existing code for consistency and readability.
@vercel

vercel Bot commented Aug 30, 2026

Copy link
Copy Markdown

@Songu3020 is attempting to deploy a commit to the therealjhay's projects Team on Vercel.

A member of the Team first needs to authorize it.

@drips-wave

drips-wave Bot commented Aug 30, 2026

Copy link
Copy Markdown

@Songu3020 Great news! 🎉 Based on an automated assessment of this PR, the linked Wave issue(s) no longer count against your application limits.

You can now already apply to more issues while waiting for a review of this PR. Keep up the great work! 🚀

Learn more about application limits

@therealjhay
therealjhay merged commit 18d0167 into Betta-Pay:main Aug 31, 2026
1 check failed
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.

2 participants