Repository navigation
fix(ai-credits-widget): compact G$ amounts from 1K, keep history and minimums exact (#<issue>) - #242
Merged
Merged
Conversation
…mums and history display - Changed G$ formatting to use exact values instead of compacted for minimums and history. - Introduced new `formatExactGValue` and `formatExactGAmount` functions for precise display. - Updated relevant components to utilize the new formatting functions for consistency.
blueogin
requested review from
a team and
L03TJ3
and
a balanced review from Copilot
and removed request for
Copilot
October 8, 2026 20:01
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.
Description
Large G$ amounts in the summary card currently show as whole numbers (
21,190.79 G$), which crowds the narrower layout. As agreed with Rael and Meri, G$ amounts now compact from 1,000 up, while the History tab and vault minimums keep exact amounts. All formatting still lives in one rule informat.ts.21.2K G$(exact amount in tooltip)21.2K21,190.79 G$1,549, not1.5K)950.5 G$). US$ formatting is unchanged.About # (link your issue here)
How Has This Been Tested?
Please describe the tests that you ran to verify your changes.
Checklist: