Skip to content

feat(web): show provider usage limits and reset credits in settings - #10384

Closed
tanav29 wants to merge 4 commits into
pingdotgg:mainfrom
tanav29:feat/show-usage-limit-reset
Closed

feat(web): show provider usage limits and reset credits in settings#10384
tanav29 wants to merge 4 commits into
pingdotgg:mainfrom
tanav29:feat/show-usage-limit-reset

Conversation

@tanav29

@tanav29 tanav29 commented Sep 6, 2026

Copy link
Copy Markdown

What Changed

  • Added a Usage limits section to each provider instance in Settings.
  • Displayed subscription details, usage windows, remaining percentages, reset countdowns, and pacing indicators.
  • Added reset-credit summaries and a confirmation flow for redeeming available credits.
  • Passed the environment ID through provider settings to support reset-credit actions.
  • Adjusted usage-limit row spacing for the provider settings layout.

Why

Provider usage limits and reset credits were available in the broader usage view but were not visible while managing an individual provider. Showing them directly in the provider settings gives users context at the point where they configure and troubleshoot provider access, while reusing the existing usage-limit and reset-credit components to keep behavior consistent.

UI Changes

  • Before: Provider settings did not show usage limits or reset-credit information.
  • After: Provider settings show current subscription details, usage windows, reset timing, and an optional “Use reset” action with confirmation.
image

Checklist

  • I included before/after screenshots for any UI changes
  • I explained what changed and why
  • This PR is small and focused
  • I included a video for animation/interaction changes

@github-actions github-actions Bot added vouch:unvouched PR author is not yet trusted in the VOUCHED list. size:M 30-99 changed lines (additions + deletions). labels Sep 6, 2026
@macroscopeapp

macroscopeapp Bot commented Sep 6, 2026

Copy link
Copy Markdown
Contributor

Approvability

Verdict: Not approved

Macroscope's review found this PR not approvable — The PR adds usage-limit controls to provider settings and exposes a reset-credit action that can clear provider rate-limit windows and cannot be undone. This is a new user-facing capability with an externally effective action, rather than a display-only change.

Not approved because:

  • Monthly spending limit reached (workspace setting). Approvability relies on correctness review in order to determine eligibility

Review your spending limits in Billing settings. You can add or adjust custom eligibility rules. Learn more.

@juliusmarminge

Copy link
Copy Markdown
Member

Closing as part of the open-PR backlog sweep (wave 3).

Reason: Duplicates existing Limits tab; unvouched settings reprint
Related: #9507

Reopen if this is still wanted and you’re willing to rebase onto current main.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

size:M 30-99 changed lines (additions + deletions). vouch:unvouched PR author is not yet trusted in the VOUCHED list.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants