Skip to content

Update add-on credits billing v2 UI#11346

Merged
tylerlam-warp merged 3 commits into
masterfrom
tlam/show-monthly-spend-limit-usage-and-hide-autoreload
May 19, 2026
Merged

Update add-on credits billing v2 UI#11346
tylerlam-warp merged 3 commits into
masterfrom
tlam/show-monthly-spend-limit-usage-and-hide-autoreload

Conversation

@tylerlam-warp
Copy link
Copy Markdown
Contributor

@tylerlam-warp tylerlam-warp commented May 19, 2026

Description

Noticed two issues I'm fixing:

  1. Admins should be able to see how much addon credits have been purchased so far this month. The billing and usage page V2 originally removed that, and I'm adding it back in to match the v1.
  2. Don't show the autoreload button at all for non-admins. It's confusing to explain.

Testing

  • cargo fmt
  • cargo clippy --workspace --all-targets --all-features --tests -- -D warnings
  • I have manually tested my changes locally with ./script/run

Ran ./script/run locally to confirm the state of the new UI. Will attach screenshots below.

Screenshots / Videos

Admin view:
image

Non-admin view:
Autoreload on:
image

Autoreload off:
image

Agent Mode

  • Warp Agent Mode - This PR was created via Warp's AI Agent Mode

Conversation: https://staging.warp.dev/conversation/0b417c6f-313e-4350-b917-8d2509157cc9

Co-Authored-By: Oz oz-agent@warp.dev

Show monthly add-on credit spend in the v2 billing page and hide auto-reload controls from non-admin purchase flows.

Co-Authored-By: Oz <oz-agent@warp.dev>
@cla-bot cla-bot Bot added the cla-signed label May 19, 2026
@tylerlam-warp tylerlam-warp marked this pull request as ready for review May 19, 2026 20:56
@oz-for-oss
Copy link
Copy Markdown
Contributor

oz-for-oss Bot commented May 19, 2026

@tylerlam-warp

I'm starting a first review of this pull request.

You can view the conversation on Warp.

I completed the review and no human review was requested for this pull request.

Comment /oz-review on this pull request to retrigger a review (up to 3 times on the same pull request).

Powered by Oz

Copy link
Copy Markdown
Contributor

@oz-for-oss oz-for-oss Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Overview

This PR updates the Billing and Usage v2 add-on credits UI to restore the admin-only purchased-this-month row and hide the auto-reload controls from non-admin purchase views. The description includes screenshots for the user-facing states, and the attached spec context does not contain an approved spec to validate against.

Concerns

  • No blocking correctness, security, or spec-alignment concerns found in the changed lines.

Verdict

Found: 0 critical, 0 important, 0 suggestions

Approve

Comment /oz-review on this pull request to retrigger a review (up to 3 times on the same pull request).

Powered by Oz

@tylerlam-warp tylerlam-warp merged commit d194b4c into master May 19, 2026
38 checks passed
@tylerlam-warp tylerlam-warp deleted the tlam/show-monthly-spend-limit-usage-and-hide-autoreload branch May 19, 2026 22:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants