Skip to content

Add AI Food Search to Loop Carb Interface as a Customization #82

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 2 commits into
base: dev
Choose a base branch
from

Conversation

marionbarker
Copy link
Contributor

@marionbarker marionbarker commented Jul 14, 2025

Purpose

This is a preliminary addition of Loop PR 2325 to the customization script.
Two PR are required: one for customization and one for lnl-scripts

Limitations

Because there are so many customizations that touch similar parts of the code, it can get hard to make all options completely independent of the inclusion of other customization items.

The patch that adds the Food Search is configured to be applied last (and removed first if removing a customization).

Order is not independent

The patch required to add PR 2325 is not independent from these 3 customizations:

  • Profile Save & Load, Basal Lock and Live Activity
  • If applied after any or all of those, all the customizations previously applied are present but a message will report that one or more of those 3 is not compatible

However, this version of the patch can be applied to a clone with no customizations or if any those 3 is already applied. That is deemed good enough for this preliminary version.

@marionbarker
Copy link
Contributor Author

marionbarker commented Jul 14, 2025

Test Instructions

To test this PR, and the associated patch in the customization repository, use this command in any terminal window. It will automatically be applied to your most recent LoopWorkspace clone in your ~/Downloads/BuildLoop folder:

export SCRIPT_BRANCH=prelim_ai_food && export PATCH_BRANCH=prelim_ai_food && /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/loopandlearn/lnl-scripts/$SCRIPT_BRANCH/CustomizationSelect.sh)"

If testing with Browser Build, it is suggested you apply all your normal customizations first and then add a new line in build_loop.yml. Be sure to line up the starting column correctly. To be clear - this line is added after all other customization lines. (Note: folder was renamed on 17 July 2025. Please note the new folder is food_search as shown in sample command below).

export SCRIPT_BRANCH=prelim_ai_food && export PATCH_BRANCH=prelim_ai_food && /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/loopandlearn/lnl-scripts/$SCRIPT_BRANCH/CustomizationSelect.sh)" food_search

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants