Skip to content

Commit b79e5f4

Browse files
authored
Merge pull request #62 from loopandlearn/meal_week
Display a week of meals
2 parents 46991e6 + b5a197b commit b79e5f4

File tree

2 files changed

+34
-16
lines changed

2 files changed

+34
-16
lines changed

CustomizationSelect.sh

Lines changed: 17 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -673,7 +673,7 @@ function message_generic() {
673673
echo " These Customizations are documented on the Loop and Learn web site"
674674
echo " https://www.loopandlearn.org/custom-code/#custom-list"
675675
echo
676-
echo " With the release of Loop 3.4, expect some rapid changes to options"
676+
echo " New customizations are available with the release of Loop 3.4.x"
677677
echo
678678
}
679679

@@ -691,8 +691,14 @@ function message_to_add_blank_line() {
691691

692692
# optional message to go with add_customization line
693693
function message_for_pr2002() {
694-
printf " This feature in development enables save and restore of named profiles.\n"
695-
printf " https://github.com/LoopKit/Loop/pull/2002\n\n"
694+
printf " This feature enables save and restore of named profiles\n"
695+
printf " https://www.loopandlearn.org/loop-features-in-development/#pr-2002\n\n"
696+
}
697+
698+
# optional message to go with add_customization line
699+
function message_for_basal_lock() {
700+
printf " This feature enables override of Loop behavior for high glucose\n"
701+
printf " https://www.loopandlearn.org/loop-features-in-development/#basal-lock\n\n"
696702
}
697703

698704
# list patches in this order with args:
@@ -704,15 +710,18 @@ add_customization "Change Default to Upload Dexcom Readings" "dexcom_upload_read
704710
add_customization "Increase Future Carbs Limit to 4 hours" "future_carbs_4h"
705711
add_customization "Modify Carb Warning & Limit: Low Carb to 49 & 99" "low_carb_limit"
706712
add_customization "Modify Carb Warning & Limit: High Carb to 201 & 300" "high_carb_limit"
707-
add_customization "Disable Authentication Requirement" "no_auth"
713+
add_customization "Disable Authentication Requirement" "no_auth" "message_to_add_blank_line"
708714

709715
add_customization "Override Insulin Needs Picker (50% to 200%, steps of 5%)" "override_sens"
710716
add_customization "Add now line to charts" "now_line"
711-
add_customization "Modify Logo to include LnL icon" "lnl_icon" "message_to_add_blank_line"
712-
add_customization "Profile Save & Load" "2002" "message_for_pr2002"
713-
add_customization "Basal Lock" "basal_lock" "" "1"
717+
add_customization "Modify Logo to include LnL icon" "lnl_icon"
714718
add_customization "Remove Loop Title on Watch App" "watch_title"
715-
add_customization "2 hour Absorption Time for Lollipop" "2hlollipop"
719+
add_customization "2 hour Absorption Time for Lollipop" "2hlollipop" "message_to_add_blank_line"
720+
721+
add_customization "Display a Week of Meal History" "meal_week"
722+
723+
add_customization "Profile Save & Load" "2002" "message_for_pr2002"
724+
add_customization "Basal Lock" "basal_lock" "message_for_basal_lock" "1"
716725

717726
param_zero_is_customization
718727
param_zero_result=$?

src/CustomizationSelect.sh

Lines changed: 17 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ function message_generic() {
2020
echo " These Customizations are documented on the Loop and Learn web site"
2121
echo " https://www.loopandlearn.org/custom-code/#custom-list"
2222
echo
23-
echo " With the release of Loop 3.4, expect some rapid changes to options"
23+
echo " New customizations are available with the release of Loop 3.4.x"
2424
echo
2525
}
2626

@@ -38,8 +38,14 @@ function message_to_add_blank_line() {
3838

3939
# optional message to go with add_customization line
4040
function message_for_pr2002() {
41-
printf " This feature in development enables save and restore of named profiles.\n"
42-
printf " https://github.com/LoopKit/Loop/pull/2002\n\n"
41+
printf " This feature enables save and restore of named profiles\n"
42+
printf " https://www.loopandlearn.org/loop-features-in-development/#pr-2002\n\n"
43+
}
44+
45+
# optional message to go with add_customization line
46+
function message_for_basal_lock() {
47+
printf " This feature enables override of Loop behavior for high glucose\n"
48+
printf " https://www.loopandlearn.org/loop-features-in-development/#basal-lock\n\n"
4349
}
4450

4551
# list patches in this order with args:
@@ -51,15 +57,18 @@ add_customization "Change Default to Upload Dexcom Readings" "dexcom_upload_read
5157
add_customization "Increase Future Carbs Limit to 4 hours" "future_carbs_4h"
5258
add_customization "Modify Carb Warning & Limit: Low Carb to 49 & 99" "low_carb_limit"
5359
add_customization "Modify Carb Warning & Limit: High Carb to 201 & 300" "high_carb_limit"
54-
add_customization "Disable Authentication Requirement" "no_auth"
60+
add_customization "Disable Authentication Requirement" "no_auth" "message_to_add_blank_line"
5561

5662
add_customization "Override Insulin Needs Picker (50% to 200%, steps of 5%)" "override_sens"
5763
add_customization "Add now line to charts" "now_line"
58-
add_customization "Modify Logo to include LnL icon" "lnl_icon" "message_to_add_blank_line"
59-
add_customization "Profile Save & Load" "2002" "message_for_pr2002"
60-
add_customization "Basal Lock" "basal_lock" "" "1"
64+
add_customization "Modify Logo to include LnL icon" "lnl_icon"
6165
add_customization "Remove Loop Title on Watch App" "watch_title"
62-
add_customization "2 hour Absorption Time for Lollipop" "2hlollipop"
66+
add_customization "2 hour Absorption Time for Lollipop" "2hlollipop" "message_to_add_blank_line"
67+
68+
add_customization "Display a Week of Meal History" "meal_week"
69+
70+
add_customization "Profile Save & Load" "2002" "message_for_pr2002"
71+
add_customization "Basal Lock" "basal_lock" "message_for_basal_lock" "1"
6372

6473
param_zero_is_customization
6574
param_zero_result=$?

0 commit comments

Comments
 (0)