-
-
Couldn't load subscription status.
- Fork 334
Open
Labels
good first issueGood for newcomersGood for newcomers
Description
Use case
Currently when the user searches for an ingredient, e.g. when logging a single ingredient to a meal, we need to re-fectch it so it gets saved to the cache.
Proposal
When an ingredient is selected on the autocomplete (see uses of NutritionPlansProvider.searchIngredient), we should save it to the cache. We would refactor fetchIngredient and extract the logic to save the ingredient to the cache to a new function so that we can use it in the autocomplete.
Additional Context
No response
Metadata
Metadata
Assignees
Labels
good first issueGood for newcomersGood for newcomers