From 87ca6512476e53e3010e3cdc3ace8df9b863e440 Mon Sep 17 00:00:00 2001 From: marionbarker Date: Sun, 13 Jul 2025 20:30:43 -0700 Subject: [PATCH 1/3] preliminary PR 2325 addition, must be applied last --- CustomizationSelect.sh | 14 ++++++++++++++ src/CustomizationSelect.sh | 14 ++++++++++++++ 2 files changed, 28 insertions(+) diff --git a/CustomizationSelect.sh b/CustomizationSelect.sh index 111cc87..b6427c4 100755 --- a/CustomizationSelect.sh +++ b/CustomizationSelect.sh @@ -755,6 +755,18 @@ function message_for_remote_window() { printf " https://www.loopandlearn.org/loop-features-in-development#remote-window\n\n" } +function message_for_ai_food() { + printf " Preliminary customization for AI Foods, PR 2325\n" + printf " Choose other desired customizations first;\n" + printf " and then add this one last.\n" + printf " Order is not independent for this customization with respect to:\n" + printf " Profile Save & Load, Basal Lock and Live Activity\n" + printf " Ignore messages about conflicts after this is appled:\n" + printf " if a customization is already applied before this one,\n" + printf " it remains in place after this one is added\n" + printf " https://github.com/LoopKit/Loop/pull/2325\n\n" +} + # list patches in this order with args: # User facing information for option # Folder name in the patch repo @@ -783,6 +795,8 @@ add_customization "Negative Insulin Damper" "negative_insulin" "message_for_nega add_customization "Increase Remote Window to 15 minutes" "remote_window" "message_for_remote_window" +add_customization "Preliminary AI Food" "ai_food" "message_for_ai_food" "1" + add_translation "2002" "profiles" param_zero_is_customization diff --git a/src/CustomizationSelect.sh b/src/CustomizationSelect.sh index f337658..121b022 100644 --- a/src/CustomizationSelect.sh +++ b/src/CustomizationSelect.sh @@ -64,6 +64,18 @@ function message_for_remote_window() { printf " https://www.loopandlearn.org/loop-features-in-development#remote-window\n\n" } +function message_for_ai_food() { + printf " Preliminary customization for AI Foods, PR 2325\n" + printf " Choose other desired customizations first;\n" + printf " and then add this one last.\n" + printf " Order is not independent for this customization with respect to:\n" + printf " Profile Save & Load, Basal Lock and Live Activity\n" + printf " Ignore messages about conflicts after this is appled:\n" + printf " if a customization is already applied before this one,\n" + printf " it remains in place after this one is added\n" + printf " https://github.com/LoopKit/Loop/pull/2325\n\n" +} + # list patches in this order with args: # User facing information for option # Folder name in the patch repo @@ -92,6 +104,8 @@ add_customization "Negative Insulin Damper" "negative_insulin" "message_for_nega add_customization "Increase Remote Window to 15 minutes" "remote_window" "message_for_remote_window" +add_customization "Preliminary AI Food" "ai_food" "message_for_ai_food" "1" + add_translation "2002" "profiles" param_zero_is_customization From 1d08c9ea0172aceac8bcb750714a8b83ef8912f3 Mon Sep 17 00:00:00 2001 From: marionbarker Date: Thu, 17 Jul 2025 07:11:46 -0700 Subject: [PATCH 2/3] rename folder to food_search from ai_food --- CustomizationSelect.sh | 6 +++--- src/CustomizationSelect.sh | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/CustomizationSelect.sh b/CustomizationSelect.sh index b6427c4..9621122 100755 --- a/CustomizationSelect.sh +++ b/CustomizationSelect.sh @@ -755,8 +755,8 @@ function message_for_remote_window() { printf " https://www.loopandlearn.org/loop-features-in-development#remote-window\n\n" } -function message_for_ai_food() { - printf " Preliminary customization for AI Foods, PR 2325\n" +function message_for_food_search() { + printf " Preliminary customization for AI-Enabled Food Search, PR 2325\n" printf " Choose other desired customizations first;\n" printf " and then add this one last.\n" printf " Order is not independent for this customization with respect to:\n" @@ -795,7 +795,7 @@ add_customization "Negative Insulin Damper" "negative_insulin" "message_for_nega add_customization "Increase Remote Window to 15 minutes" "remote_window" "message_for_remote_window" -add_customization "Preliminary AI Food" "ai_food" "message_for_ai_food" "1" +add_customization "Preliminary Food Search" "food_search" "message_for_food_search" "1" add_translation "2002" "profiles" diff --git a/src/CustomizationSelect.sh b/src/CustomizationSelect.sh index 121b022..5c23fd9 100644 --- a/src/CustomizationSelect.sh +++ b/src/CustomizationSelect.sh @@ -64,8 +64,8 @@ function message_for_remote_window() { printf " https://www.loopandlearn.org/loop-features-in-development#remote-window\n\n" } -function message_for_ai_food() { - printf " Preliminary customization for AI Foods, PR 2325\n" +function message_for_food_search() { + printf " Preliminary customization for AI-Enabled Food Search, PR 2325\n" printf " Choose other desired customizations first;\n" printf " and then add this one last.\n" printf " Order is not independent for this customization with respect to:\n" @@ -104,7 +104,7 @@ add_customization "Negative Insulin Damper" "negative_insulin" "message_for_nega add_customization "Increase Remote Window to 15 minutes" "remote_window" "message_for_remote_window" -add_customization "Preliminary AI Food" "ai_food" "message_for_ai_food" "1" +add_customization "Preliminary Food Search" "food_search" "message_for_food_search" "1" add_translation "2002" "profiles" From 31617963f57f386265eebb84fa9a3954151612d3 Mon Sep 17 00:00:00 2001 From: marionbarker Date: Mon, 11 Aug 2025 14:41:54 -0700 Subject: [PATCH 3/3] update food_search for PR 2329 --- CustomizationSelect.sh | 6 +++--- src/CustomizationSelect.sh | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/CustomizationSelect.sh b/CustomizationSelect.sh index 9621122..b534fbe 100755 --- a/CustomizationSelect.sh +++ b/CustomizationSelect.sh @@ -756,15 +756,15 @@ function message_for_remote_window() { } function message_for_food_search() { - printf " Preliminary customization for AI-Enabled Food Search, PR 2325\n" + printf " Preliminary customization for AI-Enabled Food Search, PR 2329\n" + printf " https://github.com/LoopKit/Loop/pull/2329\n" printf " Choose other desired customizations first;\n" printf " and then add this one last.\n" printf " Order is not independent for this customization with respect to:\n" printf " Profile Save & Load, Basal Lock and Live Activity\n" printf " Ignore messages about conflicts after this is appled:\n" printf " if a customization is already applied before this one,\n" - printf " it remains in place after this one is added\n" - printf " https://github.com/LoopKit/Loop/pull/2325\n\n" + printf " it remains in place after this one is added\n\n" } # list patches in this order with args: diff --git a/src/CustomizationSelect.sh b/src/CustomizationSelect.sh index 5c23fd9..b2d4871 100644 --- a/src/CustomizationSelect.sh +++ b/src/CustomizationSelect.sh @@ -65,15 +65,15 @@ function message_for_remote_window() { } function message_for_food_search() { - printf " Preliminary customization for AI-Enabled Food Search, PR 2325\n" + printf " Preliminary customization for AI-Enabled Food Search, PR 2329\n" + printf " https://github.com/LoopKit/Loop/pull/2329\n" printf " Choose other desired customizations first;\n" printf " and then add this one last.\n" printf " Order is not independent for this customization with respect to:\n" printf " Profile Save & Load, Basal Lock and Live Activity\n" printf " Ignore messages about conflicts after this is appled:\n" printf " if a customization is already applied before this one,\n" - printf " it remains in place after this one is added\n" - printf " https://github.com/LoopKit/Loop/pull/2325\n\n" + printf " it remains in place after this one is added\n\n" } # list patches in this order with args: