Hide add-on credits panel for free solo users#11699
Draft
tylerlam-warp wants to merge 1 commit into
Draft
Conversation
Skip the Billing & Usage v2 add-on credits panel for free solo users while preserving the existing Enterprise PAYG zero-credit hide rule. Co-Authored-By: Oz <oz-agent@warp.dev>
52dd23c to
01eb61a
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
Fixes the Billing & Usage v2 overview showing the add-on credits panel for free solo users who are not meaningfully on a team.
This now keeps the visibility logic inline with the existing Enterprise PAYG zero-credit guard:
Linked Issue
ready-to-specorready-to-implement.Testing
cargo fmt -- --checkcargo clippy --workspace --all-targets --all-features --tests -- -D warningsI have manually tested my changes locally with
./script/runScreenshots / Videos
Not included; this is a small visibility condition change.
Agent Mode
CHANGELOG-BUG-FIX: Fixed the add-on credits panel showing for free solo users on the Billing & Usage page.
Co-Authored-By: Oz oz-agent@warp.dev
Conversation: https://staging.warp.dev/conversation/637f3648-8420-483a-b50f-b36aa8d173cf
Run: https://oz.staging.warp.dev/runs/019e6558-5763-746d-a8a7-3b92775b1dde
This PR was generated with Oz.