Open paaff opened 3 weeks ago
I'll try working on this.
I cannot continue working on the issue because my Dev Container and Docker keep crashing and I don’t want to hold back the project from correcting this issue any more days. I picked up this issue originally because my mealie setup was working, so I thought I could fix the problem on my end. However, my mealie setup keeps crashing now. I apologize for the inconvenience.
I have to pass off this issue to someone whose setup is working because something isn’t going right on my machine.
Bug Investigation: Here is what I was able to find out about the bug.
Tests: The bug also shows up even if you haven’t Created a new recipe, as long as the recipe you clicked on is set to Note Only and it is the 2nd time you have opened it to check the Dropdown.
Edit.vue Dropdown issue:
frontend/pages/household/mealplan/planner/edit.vue
v-autocomplete :items="search.data.value"
const search = useRecipeSearch(api);
import { useRecipeSearch } from "~/composables/recipes/use-recipe-search";
onMounted(async () => {
await search.trigger();
});
frontend/composables/recipes/use-recipe-search.ts
/**
useRecipeSearch
constructs a basic reactive search queryquery
is changed, will search for recipes baseduseRecipeQuery
composable.
*/async function trigger() {
await searchRecipes(query.value)
}
My Hypothesis: The 1st time, the component is unmounted. The dropdown shows all the user’s recipes.
I cannot test this hypothesis because my Dev Container and Docker keep disconnecting and crashing on me, so I cannot work on the bug any further. I apologize for the inconvenience.
First Check
What is the issue you are experiencing?
When editing days in the mealplan there seems to a bug in which the
Meal Recipe
tab doesn't load any recipes.This happens when I've first edited a day and used the option
Note Only
and then proceed to the next day, edit it, disableNote Only
and attempt to use theMeal Recipe
dropdown menu.I recognize that the information is rather small, but the steps to reproduce or the explanation for the bug isn't that complicated. I reproduce this in the demo site as instructed also.
Anyways, thanks for the cool application. :)!
Steps to Reproduce
1) Go into Meal Planner and edit the first day. 2) Enable
Note Only
and write "Test" in theMeal Title
. ClickCreate
.3) Go to and edit the next day. 4) Disable
Note Only
. Attempt to use theMeal Recipe
dropdown menu.Please provide relevant logs
Note - these logs are from my own instance and the screenshots above is from your demo environment :) They acted in the same way though, so that's why I reused the screenshots. I don't see a lot of logs rom my point of view, but here you go just in case :)
Mealie Version
Docker image: `ghcr.io/mealie-recipes/mealie:v1.12.0
Deployment
Docker (Linux)
Additional Deployment Details
No response