Skip to content

WEB-4611 - Round CGM use before display - #1961

Open
henry-tp wants to merge 1 commit into
developfrom
WEB-4611-round-wear
Open

WEB-4611 - Round CGM use before display#1961
henry-tp wants to merge 1 commit into
developfrom
WEB-4611-round-wear

Conversation

@henry-tp

@henry-tp henry-tp commented Jun 23, 2026

Copy link
Copy Markdown
Contributor

WEB-4611

The issue is that the minimum threshold of 70% is being compared to the unrounded value (e.g. 69.6734%) instead of the rounded value. The fix is that 69.xyz% should be treated like 70% and we should be using the rounded value for all intents and purposes.

The reason we don't need to do it for the rest of the numbers in the tooltip is because the adjustment of the stats is handled by a call within <BgSummaryCell /> to reconcileTIRPercentages()

image

@henry-tp henry-tp changed the title WEB-4611 round CGM use before display WEB-4611 - Round CGM use before display Jun 23, 2026
@henry-tp
henry-tp requested a review from clintonium-119 June 23, 2026 23:01

@clintonium-119 clintonium-119 left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

LGTM 👍

@henry-tp henry-tp added Needs Release Target This branch cannot be merged until the feature is assigned to a release version first. Hold for Release This branch is ready for merge, but awaiting its target release version to be the next release labels Jun 25, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Hold for Release This branch is ready for merge, but awaiting its target release version to be the next release Needs Release Target This branch cannot be merged until the feature is assigned to a release version first.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants