tmhastings 1 год назад
Родитель
Сommit
b320e4fb4f

+ 2 - 1
FreeAPS/Sources/Modules/AlgorithmAdvancedSettings/View/AlgorithmAdvancedSettingsRootView.swift

@@ -126,7 +126,8 @@ extension AlgorithmAdvancedSettings {
                     verboseHint: VStack(spacing: 10) {
                         Text("Default: 6 hours").bold()
                         Text("Number of hours insulin will contribute to IOB after dosing.")
-                        Text("Tip: It is better to use Custom Peak Time rather than adjust your Duration of Insulin Action (DIA)").italic()
+                        Text("Tip: It is better to use Custom Peak Time rather than adjust your Duration of Insulin Action (DIA)")
+                            .italic()
                         Text("Warning: Decreasing this setting is not advised.").bold().italic()
                     }
                 )

+ 71 - 21
FreeAPS/Sources/Modules/UserInterfaceSettings/View/UserInterfaceSettingsRootView.swift

@@ -70,7 +70,7 @@ extension UserInterfaceSettings {
 
                             HStack(alignment: .top) {
                                 Text(
-                                    "Lorem ipsum dolor sit amet, consetetur sadipscing elitr."
+                                    "Choose between Light, Dark, or System Default for the app color scheme"
                                 )
                                 .font(.footnote)
                                 .foregroundColor(.secondary)
@@ -80,7 +80,13 @@ extension UserInterfaceSettings {
                                     action: {
                                         hintLabel = "Color Scheme Preference"
                                         selectedVerboseHint =
-                                            AnyView(Text("Lorem ipsum dolor sit amet, consetetur sadipscing elitr."))
+                                            AnyView(Text("""
+                                                Set the app color scheme using the following options
+                                                
+                                                System Default: Follows the phone's current color scheme setting at that time
+                                                Light: Always in Light mode
+                                                Dark: Always in Dark mode
+                                                """))
                                         shouldDisplayHint.toggle()
                                     },
                                     label: {
@@ -107,7 +113,7 @@ extension UserInterfaceSettings {
 
                         HStack(alignment: .top) {
                             Text(
-                                "Glucose Color Scheme ... dynamic or static ... Lorem ipsum dolor"
+                                "Choose between Static or Dynamic coloring for glucose readings"
                             )
                             .font(.footnote)
                             .foregroundColor(.secondary)
@@ -118,8 +124,12 @@ extension UserInterfaceSettings {
                                     hintLabel = "Glucose Color Scheme"
                                     selectedVerboseHint =
                                         AnyView(
-                                            Text(
-                                                "Glucose Color Scheme... Lorem ipsum dolor sit amet, consetetur sadipscing elitr."
+                                            Text("""
+                                                Set the color scheme for glucose readings on the main glucose graph, live activities, and bolus calculatorusing the following options:
+                                                
+                                                Static: Below-Range Target readings will be in RED, In-Range will be GREEN, Above-Range will be YELLOW
+                                                Dynamic: Readings on Target will be GREEN. As readings approach and exceed below target, they become more RED. As readings approach and exceed above targer, they become more PURPLE.
+                                                """
                                             )
                                         )
                                     shouldDisplayHint.toggle()
@@ -143,7 +153,7 @@ extension UserInterfaceSettings {
 
                             HStack(alignment: .top) {
                                 Text(
-                                    "Lorem ipsum dolor sit amet, consetetur sadipscing elitr."
+                                    "Display the grid lines behind the glucose graph"
                                 )
                                 .font(.footnote)
                                 .foregroundColor(.secondary)
@@ -153,7 +163,9 @@ extension UserInterfaceSettings {
                                     action: {
                                         hintLabel = "Show Main Chart X- and Y-Axis Grid Lines"
                                         selectedVerboseHint =
-                                            AnyView(Text("Lorem ipsum dolor sit amet, consetetur sadipscing elitr."))
+                                            AnyView(Text("""
+                                                Choose whether or not to display one or both X- and Y-Axis grid lines.
+                                                """))
                                         shouldDisplayHint.toggle()
                                     },
                                     label: {
@@ -181,8 +193,12 @@ extension UserInterfaceSettings {
                     units: state.units,
                     type: .boolean,
                     label: "Show Low and High Thresholds",
-                    miniHint: "Lorem ipsum dolor sit amet, consetetur sadipscing elitr.",
-                    verboseHint: Text("Display Low and High Thresholds… bla bla bla")
+                    miniHint: "Display the Low and High glucose Thresholds set below",
+                    verboseHint: Text("""
+                        This setting displays the upper and lower values for your glucose target range.
+                        
+                        This range is for display and statistical purposes only and does not influence insulin dosing.
+                        """)
                 )
 
                 if state.rulerMarks {
@@ -258,8 +274,11 @@ extension UserInterfaceSettings {
                             }
 
                             HStack(alignment: .top) {
-                                Text(
-                                    "Sets thresholds for low and high glucose in home view main chart and statistics view."
+                                Text("""
+                                    Set low and high glucose values for the main screen glucose graph and statistics
+                                    Low Default: 70
+                                    High Default: 180
+                                    """
                                 )
                                 .lineLimit(nil)
                                 .font(.footnote)
@@ -270,7 +289,13 @@ extension UserInterfaceSettings {
                                     action: {
                                         hintLabel = "Low and High Thresholds"
                                         selectedVerboseHint =
-                                            AnyView(Text("Lorem ipsum dolor sit amet, consetetur sadipscing elitr."))
+                                            AnyView(Text("""
+                                                Default values are based on internationally accepted Time in Range values of 70-180 mg/dL (5.5-10 mmol/L)
+                                                
+                                                Set the values used in the main screen glucose graph and to determine Time in Range for Statistics.
+                                                
+                                                Note: These values are not used to calculate insulin dosing.
+                                                """))
                                         shouldDisplayHint.toggle()
                                     },
                                     label: {
@@ -296,8 +321,10 @@ extension UserInterfaceSettings {
                         }.padding(.top)
 
                         HStack(alignment: .top) {
-                            Text(
-                                "Lorem ipsum dolor sit amet, consetetur sadipscing elitr."
+                            Text("""
+                                Choose between the OpenAPS colored "Lines" or the "Cone" of Uncertainty for the Forecast Lines
+                                Default: Cone
+                                """
                             )
                             .font(.footnote)
                             .foregroundColor(.secondary)
@@ -307,7 +334,14 @@ extension UserInterfaceSettings {
                                 action: {
                                     hintLabel = "Forecast Display Type"
                                     selectedVerboseHint =
-                                        AnyView(Text("Lorem ipsum dolor sit amet, consetetur sadipscing elitr."))
+                                        AnyView(Text("""
+                                            Default: Cone
+                                            
+                                            This setting allows you to choose between the following two options for the Forecast lines (previously: Prediction Lines).
+                                            
+                                            Lines: Uses the IOB, COB, UAM, and ZT forecast lines from OpenAPS
+                                            Cone: Uses a combined range of all possible forecasts from the OpenAPS lines and provides you with a range of possible forecasts. This option has shown to reduce confusion and stress around algorithm forecasts by providing a less concerning visual representation.
+                                            """))
                                     shouldDisplayHint.toggle()
                                 },
                                 label: {
@@ -334,8 +368,18 @@ extension UserInterfaceSettings {
                     units: state.units,
                     type: .decimal("hours"),
                     label: "X-Axis Interval Step",
-                    miniHint: "Lorem ipsum dolor sit amet, consetetur sadipscing elitr.",
-                    verboseHint: Text("X-Axis Interval Step… bla bla bla")
+                    miniHint: "Determines how many hours are shown in the main graph",
+                    verboseHint: Text("""
+                        Default: 6 hours
+                        
+                        This setting determines how many hours are shown in each view of the main graph.
+                        
+                        The default setting of 6 hours uses 2, 4, 6, 12, and 24 hour views.
+                        
+                        A setting of 4 would use 1.3, 2, 4, 8, and 16 hour views.
+                        
+                        A setting of 9 would use 3, 4.5, 9, 18, and 36 hour views.
+                        """)
                 )
 
                 Section {
@@ -351,7 +395,7 @@ extension UserInterfaceSettings {
 
                         HStack(alignment: .top) {
                             Text(
-                                "Lorem ipsum dolor sit amet, consetetur sadipscing elitr."
+                                "Choose between Total Daily Dose (TDD) or Total Insulin in Scope (TINS) to be displayed above the main glucose graph"
                             )
                             .font(.footnote)
                             .foregroundColor(.secondary)
@@ -361,7 +405,13 @@ extension UserInterfaceSettings {
                                 action: {
                                     hintLabel = "Total Insulin Display Type"
                                     selectedVerboseHint =
-                                        AnyView(Text("Lorem ipsum dolor sit amet, consetetur sadipscing elitr."))
+                                        AnyView(Text("""
+                                            Choose between Total Daily Dose (TDD) or Total Insulin in Scope (TINS) to be displayed above the main glucose graph.
+                                            
+                                            Total Daily Dose: Displays the last 24 hours of total insulin administered, both basal and bolus.
+                                            
+                                            Total Insulin in Scope: Displays the total insulin administered since midnight, both basal and bolus.
+                                            """))
                                     shouldDisplayHint.toggle()
                                 },
                                 label: {
@@ -389,8 +439,8 @@ extension UserInterfaceSettings {
                     units: state.units,
                     type: .boolean,
                     label: "Override HbA1c Unit",
-                    miniHint: "Display HbA1c in mmol/L or %. Default is percent.",
-                    verboseHint: Text("Override HbA1c Unit… bla bla bla"),
+                    miniHint: "Display HbA1c in mmol/mol or %",
+                    verboseHint: Text("Choose between displaying the HbA1c value in the statistics view as a percentage (Target of <6.5%) or mmol/mol (Target of <48 mmol/mol)"),
                     headerText: "Trio Statistics"
                 )