Skip to content

Conversation

@Philoul
Copy link
Contributor

@Philoul Philoul commented Dec 24, 2025

  • Fix Progressbar missing in BolusProgressDialog (due to wrong detailedBolusInfo.id)
  • Fix missing convertions in PumpWithConcentration (I finally propose to replace Double by PumpInsulin)

Note that we still miss in EventOverviewBolusProgress the convertion of delivered value currently sent as Double from pump driver and not sent as PumpInsulin

  • Progress bar works, but with wrong calculated percentage (with U200, bolus is finished once 50% has been delivered, so correct amount in CU but not converted to IU and wrong percentage)
  • I will have to replace Double value by PumpInsulin value in EventOverviewBolusProgress constructor and provide concentration to manage convertion CU -> IU included in PumpInsulin object to fix BolusProgressDialog with delivered sent...

My plan is to use ch (concentrationHelper) for everything related to userInterface (at least to provide concentration to be able to manage convertion and standardize presentation everywhere...

@MilosKozak
Copy link
Contributor

@Philoul this has a conflict now

@sonarqubecloud
Copy link

@MilosKozak MilosKozak merged commit 922511b into nightscout:insulin_concentration Dec 27, 2025
2 of 6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants