Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
40 commits
Select commit Hold shift + click to select a range
dcb4e87
[COASTAL-1291] plugin identifier is no longer class property (#6)
nhamming Sep 25, 2023
474972e
[COASTAL-1291] plugin identifier is no longer class property (#6)
nhamming Sep 25, 2023
f0cc85e
Merge remote-tracking branch 'origin/main' into ps2/LOOP-4735/cgm-eve…
ps2 Sep 27, 2023
9a4041a
Merge remote-tracking branch 'origin/main' into ps2/LOOP-4735/cgm-eve…
ps2 Sep 27, 2023
381e25e
Merge pull request #7 from tidepool-org/ps2/LOOP-4735/cgm-event-store
ps2 Sep 27, 2023
a9220f9
Merge pull request #7 from tidepool-org/ps2/LOOP-4735/cgm-event-store
ps2 Sep 27, 2023
2d708c3
Types moved to LoopAlgorithm
ps2 Mar 1, 2024
915d30d
Types moved to LoopAlgorithm
ps2 Mar 1, 2024
31b6324
Merge pull request #8 from tidepool-org/ps2/LOOP-4781/algorithm-package
ps2 Mar 5, 2024
9807ab8
Merge pull request #8 from tidepool-org/ps2/LOOP-4781/algorithm-package
ps2 Mar 5, 2024
66503e4
[LOOP-4801] adding pump inoperable (#9)
nhamming Jun 7, 2024
50b0fe1
[LOOP-4801] adding pump inoperable (#9)
nhamming Jun 7, 2024
08b7a93
[LOOP-5153] Remove HealthKit dependency from LoopAlgorithm
Camji55 Nov 21, 2024
e988422
[LOOP-5153] Remove HealthKit dependency from LoopAlgorithm
Camji55 Nov 21, 2024
8c390a4
[LOOP-5153] Remove HealthKit dependency from LoopAlgorithm
Camji55 Nov 22, 2024
7d0a5e7
[LOOP-5153] Remove HealthKit dependency from LoopAlgorithm
Camji55 Nov 22, 2024
a1aa56c
[LOOP-5153] Remove HealthKit dependency from LoopAlgorithm
Camji55 Dec 4, 2024
f1f5819
[LOOP-5153] Remove HealthKit dependency from LoopAlgorithm
Camji55 Dec 4, 2024
6be76ed
Bump to iOS 17
Camji55 Dec 6, 2024
c7f831d
Bump to iOS 17
Camji55 Dec 6, 2024
75dee9e
Bump to iOS 17
Camji55 Dec 9, 2024
538d34c
Bump to iOS 17
Camji55 Dec 9, 2024
60c2af6
Updated PumpManagerDelegate protocol (#12)
ps2 May 29, 2025
578ae13
Updated PumpManagerDelegate protocol (#12)
ps2 May 29, 2025
10169ca
[LOOP-5295] decisionId on DoseEntry and PersistedPumpEvent
Camji55 Jun 2, 2025
dc1ce14
[LOOP-5295] decisionId on DoseEntry and PersistedPumpEvent
Camji55 Jun 2, 2025
293c924
[LOOP-5295] decisionId on DoseEntry and PersistedPumpEvent
Camji55 Jun 6, 2025
780ccf0
[LOOP-5295] decisionId on DoseEntry and PersistedPumpEvent
Camji55 Jun 6, 2025
4a6e63c
LOOP-5235 Enable scheduled presets (#14)
ps2 Jul 29, 2025
0e2c1c7
LOOP-5235 Enable scheduled presets (#14)
ps2 Jul 29, 2025
92ce32c
Updates for pumpmanager delegate protocol (#15)
ps2 Aug 20, 2025
01fc106
Updates for pumpmanager delegate protocol (#15)
ps2 Aug 20, 2025
628bfe0
[LOOP-5496] adding loop status checks (#16)
nhamming Oct 24, 2025
3510e12
[LOOP-5496] adding loop status checks (#16)
nhamming Oct 24, 2025
803121a
[LOOP-5743] using pumpStatusHighlight (#17)
nhamming Feb 6, 2026
1642f44
[LOOP-5743] using pumpStatusHighlight (#17)
nhamming Feb 6, 2026
fcba4a7
Merge tidepool/main into tidepool-sync/2026-03-10
loopkitdev Mar 10, 2026
95fbc6e
Merge remote-tracking branch 'upstream/main' into tidepool-sync/2026-…
loopkitdev Apr 9, 2026
a317b3e
Merge tidepool/main into tidepool-sync/2026-05-11
ps2 May 11, 2026
f19f99c
MinimedPumpSettingsViewModel: restore DIY CAGE/IAGE properties
ps2 May 11, 2026
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 2 additions & 6 deletions MinimedKit.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -285,7 +285,6 @@
C1E34B7D29C7B075009A50A5 /* RileyLinkKit.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = C1E34B7C29C7B075009A50A5 /* RileyLinkKit.framework */; };
C1E34B8129C7B155009A50A5 /* PumpOpsSession.swift in Sources */ = {isa = PBXBuildFile; fileRef = C1E34B8029C7B155009A50A5 /* PumpOpsSession.swift */; };
C1E34B8329C7B1AB009A50A5 /* TimeZone.swift in Sources */ = {isa = PBXBuildFile; fileRef = C1E34B8229C7B1AB009A50A5 /* TimeZone.swift */; };
C1E34B8529C7B1D4009A50A5 /* HKUnit.swift in Sources */ = {isa = PBXBuildFile; fileRef = C1E34B8429C7B1D4009A50A5 /* HKUnit.swift */; };
C1E34B8829C7B292009A50A5 /* Comparable.swift in Sources */ = {isa = PBXBuildFile; fileRef = C1E34B8729C7B292009A50A5 /* Comparable.swift */; };
C1E34B8A29C7B2FC009A50A5 /* LocalisedString.swift in Sources */ = {isa = PBXBuildFile; fileRef = C1E34B8929C7B2FC009A50A5 /* LocalisedString.swift */; };
C1E34B8C29C7B334009A50A5 /* IdentifiableClass.swift in Sources */ = {isa = PBXBuildFile; fileRef = C1E34B8B29C7B334009A50A5 /* IdentifiableClass.swift */; };
Expand Down Expand Up @@ -632,7 +631,6 @@
C1E34B7C29C7B075009A50A5 /* RileyLinkKit.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; path = RileyLinkKit.framework; sourceTree = BUILT_PRODUCTS_DIR; };
C1E34B8029C7B155009A50A5 /* PumpOpsSession.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = PumpOpsSession.swift; sourceTree = "<group>"; };
C1E34B8229C7B1AB009A50A5 /* TimeZone.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = TimeZone.swift; sourceTree = "<group>"; };
C1E34B8429C7B1D4009A50A5 /* HKUnit.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = HKUnit.swift; sourceTree = "<group>"; };
C1E34B8729C7B292009A50A5 /* Comparable.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = Comparable.swift; sourceTree = "<group>"; };
C1E34B8929C7B2FC009A50A5 /* LocalisedString.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = LocalisedString.swift; sourceTree = "<group>"; };
C1E34B8B29C7B334009A50A5 /* IdentifiableClass.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = IdentifiableClass.swift; sourceTree = "<group>"; };
Expand Down Expand Up @@ -1084,7 +1082,6 @@
C1E34B7829C7AFF7009A50A5 /* TimeInterval.swift */,
C1E34B7A29C7B044009A50A5 /* OSLog.swift */,
C1E34B8229C7B1AB009A50A5 /* TimeZone.swift */,
C1E34B8429C7B1D4009A50A5 /* HKUnit.swift */,
);
path = Extensions;
sourceTree = "<group>";
Expand Down Expand Up @@ -1521,7 +1518,6 @@
C1E34AC329C7A98F009A50A5 /* DataFrameMessageBody.swift in Sources */,
C1E34A7629C7A98F009A50A5 /* ChangeSensorRateOfChangeAlertSetupPumpEvent.swift in Sources */,
C1E34AA929C7A98F009A50A5 /* MySentryAlertType.swift in Sources */,
C1E34B8529C7B1D4009A50A5 /* HKUnit.swift in Sources */,
C1E34ABC29C7A98F009A50A5 /* ChangeMaxBolusMessageBody.swift in Sources */,
C1E34A4229C7A98F009A50A5 /* PumpSettings.swift in Sources */,
C1E34AA129C7A98F009A50A5 /* DeviceLinkMessageBody.swift in Sources */,
Expand Down Expand Up @@ -1830,7 +1826,7 @@
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
GCC_WARN_UNUSED_FUNCTION = YES;
GCC_WARN_UNUSED_VARIABLE = YES;
IPHONEOS_DEPLOYMENT_TARGET = 15.2;
IPHONEOS_DEPLOYMENT_TARGET = 17.6;
LOCALIZATION_PREFERS_STRING_CATALOGS = YES;
LOCALIZED_STRING_MACRO_NAMES = (
NSLocalizedString,
Expand Down Expand Up @@ -1894,7 +1890,7 @@
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
GCC_WARN_UNUSED_FUNCTION = YES;
GCC_WARN_UNUSED_VARIABLE = YES;
IPHONEOS_DEPLOYMENT_TARGET = 15.2;
IPHONEOS_DEPLOYMENT_TARGET = 17.6;
LOCALIZATION_PREFERS_STRING_CATALOGS = YES;
LOCALIZED_STRING_MACRO_NAMES = (
NSLocalizedString,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
// Copyright © 2016 Nathan Racklyeft. All rights reserved.
//

import HealthKit
import LoopAlgorithm
import LoopKit


Expand Down Expand Up @@ -39,7 +39,7 @@ extension MySentryPumpStatusMessageBody: GlucoseDisplayable {
}
}

public var trendRate: HKQuantity? {
public var trendRate: LoopQuantity? {
return nil
}

Expand Down
23 changes: 0 additions & 23 deletions MinimedKit/Extensions/HKUnit.swift

This file was deleted.

6 changes: 4 additions & 2 deletions MinimedKit/PumpManager/DoseStore.swift
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ extension Collection where Element == TimestampedHistoryEvent {
if !bolus.wasRemotelyTriggered {
automatic = false
}
dose = DoseEntry(type: .bolus, startDate: event.date, endDate: bolusEndDate, value: bolus.programmed, unit: .units, deliveredUnits: bolus.amount, automatic: automatic, isMutable: bolus.isMutable(atDate: now, forPump: model), wasProgrammedByPumpUI: !bolus.wasRemotelyTriggered)
dose = DoseEntry(type: .bolus, startDate: event.date, endDate: bolusEndDate, value: bolus.programmed, unit: .units, decisionId: nil, deliveredUnits: bolus.amount, automatic: automatic, isMutable: bolus.isMutable(atDate: now, forPump: model), wasProgrammedByPumpUI: !bolus.wasRemotelyTriggered)
case let suspendEvent as SuspendPumpEvent:
title = LocalizedString("Suspend", comment: "Event title for suspend")
dose = DoseEntry(suspendDate: event.date, wasProgrammedByPumpUI: !suspendEvent.wasRemotelyTriggered)
Expand All @@ -52,7 +52,7 @@ extension Collection where Element == TimestampedHistoryEvent {
dose = DoseEntry(resumeDate: event.date, wasProgrammedByPumpUI: !resumeEvent.wasRemotelyTriggered)
case let temp as TempBasalPumpEvent:
if case .Absolute = temp.rateType {
lastTempBasal = DoseEntry(type: .tempBasal, startDate: event.date, value: temp.rate, unit: .unitsPerHour, isMutable: false, wasProgrammedByPumpUI: !temp.wasRemotelyTriggered)
lastTempBasal = DoseEntry(type: .tempBasal, startDate: event.date, value: temp.rate, unit: .unitsPerHour, decisionId: nil, isMutable: false, wasProgrammedByPumpUI: !temp.wasRemotelyTriggered)
continue
} else {
title = LocalizedString("Percent Temp Basal", comment: "Event title for percent based temp basal")
Expand All @@ -78,6 +78,7 @@ extension Collection where Element == TimestampedHistoryEvent {
endDate: endDate,
value: lastTemp.unitsPerHour,
unit: .unitsPerHour,
decisionId: nil,
automatic: false, // If this was automatic dose, it should be set as such during reconciliation
isMutable: isMutable,
wasProgrammedByPumpUI: lastTemp.wasProgrammedByPumpUI
Expand All @@ -92,6 +93,7 @@ extension Collection where Element == TimestampedHistoryEvent {
endDate: event.date.addingTimeInterval(.hours(24)),
value: basal.scheduleEntry.rate,
unit: .unitsPerHour,
decisionId: nil,
isMutable: false
)
case is RewindPumpEvent:
Expand Down
7 changes: 3 additions & 4 deletions MinimedKit/PumpManager/EnliteSensorDisplayable.swift
Original file line number Diff line number Diff line change
Expand Up @@ -7,14 +7,13 @@
//

import Foundation
import HealthKit
import LoopKit

import LoopAlgorithm

struct EnliteSensorDisplayable: Equatable, GlucoseDisplayable {
public let isStateValid: Bool
public let trendType: LoopKit.GlucoseTrend?
public let trendRate: HKQuantity?
public let trendRate: LoopQuantity?
public let isLocal: Bool

// TODO Placeholder. This functionality will come with LOOP-1311
Expand Down Expand Up @@ -50,7 +49,7 @@ extension MinimedKit.RelativeTimestampedGlucoseEvent {
return nil
}

var trendRate: HKQuantity? {
var trendRate: LoopQuantity? {
return nil
}

Expand Down
Loading