jingram/cpm-stats-count-capacity-increase: Increase tracker and cookie pop-up counter capacity #2083
+37
−14
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.
Asana Task/Github Issue: Maxing out tracking attempts blocked metric at 9999
Figma
Description
Increases the maximum display count from 9,999 to 9,999,999 and adds locale-aware number formatting.
Testing Steps
Check the following scenarios. You can adjust the query parameters to observe different states.
Checklist
Please tick all that apply:
Note
Raises max displayed counts to 9,999,999, adds locale-aware number formatting, updates mocks/tests, and tweaks layout spacing.
AnimationConstants.MAX_DISPLAY_COUNTto9,999,999and apply cap inanimateCount.AnimationConstantsand expected capped behavior.ProtectionsHeading.js: format counts viauseLocale+getLocalizedNumberFormatter(withuseMemo); apply formatting to trackers and cookie pop-ups; addstyles.cookiePopUpsCounterwithcn.PrivacyStats.module.css: reducecounterContainergap; set fixedcounterwidth/padding withcontent-box; add.cookiePopUpsCounter; ensure title spans wrap (word-wrap/overflow-wrap).protections.mock-transport.js: useAnimationConstantsfor max values; supportcpm=true(cookie pop-ups max) andcpm=max(both totals max).Written by Cursor Bugbot for commit e1aa983. This will update automatically on new commits. Configure here.