You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* Refactor unit settings management and enhance metrics configuration
- Introduced UnitSettingsStore to centralize unit and metric settings management.
- Added new enums for glucose display units, time in range modes, glycemic metrics, and variability metrics.
- Updated StatsData to calculate and store coefficient of variation.
- Refactored Localizer to utilize UnitSettingsStore for unit conversions and formatting.
- Enhanced Nightscout and Dexcom settings views to support unit configuration and onboarding.
- Created UnitsConfigurationView for reusable unit and metric settings.
- Updated AggregatedStatsView and SimpleStatsViewModel to reflect new unit settings.
- Modified TIRView and its ViewModel to use UnitSettingsStore for thresholds and display.
- Removed legacy storage references for unit settings in favor of the new centralized approach.
- Added export functionality for new unit and metric settings in Nightscout settings.
* Add commit guidelines and best practices to README.md
* Fix navigation title for UnitsSettingsView to match consistency in SettingsMenuView
* Refactor absorption time handling in LoopAPNSCarbsView to use separate hour and minute states, enhancing clarity and usability
* Add polling of data after sucessful remote command
* Remove remote command polling (moved to separate PR #566)
* Replace deprecated NavigationLink(isActive:) with navigationDestination
* Remove carbs screen redesign (moved to separate PR)
* Remove README commit guidelines (moved to separate PR)
* Added custom range
* Remove list_prs.sh from repo
Accidentally committed utility script that belongs outside the project.
* Fix BGPicker not updating display when value changes or unit switches
Use @State for glucoseUnit, lowValue, and highValue so SwiftUI can
track changes and re-render. Add .id(glucoseUnit) on BGPickers to
force recreation when the unit changes, ensuring allValues and
formatting update correctly.
---------
Co-authored-by: Jonas Björkert <jonas@bjorkert.se>
0 commit comments