Repository navigation
Chart Extra credits on the usage plan card - #1481
Merged
Merged
Conversation
The cumulative chart plotted plan credits only, so the line flattened at the allowance while Extra credits kept being used. Stack Extra credits on the plan line and project both pools. The meter and pace text stay plan-only, and the note no longer promises Extra credits last until the reset. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Contributor
|
Maple development preview: https://cbc6c462.maple-ca8.pages.dev Commit: Uses development API, billing, flags and PCR configuration. Cloudflare Access applies. |
This branch was successfully deployed
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.
Summary
The Usage chart plotted plan credits only, so the line flattened at the allowance while Extra credits kept being used.
extra_creditson the plan line, including the Today point.Needs https://github.com/MaplePrivacyLabs/maple-billing-server/pull/159 for the chart to change. Safe in either order: a missing
extra_creditsreads as 0.Testing
maple-researchlane: 1,110 tests passedtsc -b, ESLint and Prettier on the changed filesbuildPeriodProgresstests for Extra credits past the allowance and for a response without the fieldCumulativeChartwith sample data in headless Chrome; the line crosses the plan line and keeps risingNot tested: the full Usage page against a linked Local billing server.
🤖 Generated with Claude Code
Open in [code]smith · Need help on this PR? Tag
@codesmith-botwith what you need.