TandoorRecipes / recipes

Application for managing recipes, planning meals, building shopping lists and much much more!
https://docs.tandoor.dev
Other
5.56k stars 589 forks source link

Shopping List not working at all after update #3274

Closed level20peon closed 2 months ago

level20peon commented 2 months ago

Tandoor Version

latest master commit 1bfe5bb (there is no hint about the version on the system page)

Setup

Manual Setup

Reverse Proxy

Others (please state below)

Other

nginx

Bug description

After updating to the latest commit in the master branch (and migrating the db), the shopping list does not work any longer. If I try to add a new entry, my ingredients aren't displayed (as per full text search) when I start typing in this new input field: image

I also cannot select the unit and the amount of ingredient any longer. So I tried to enter "100 Paprika" for example, but that just creates an entry under "undefined": image

Is this intended behaviour? I have been using tandoor for a while now and I am used to the "amount / unit / food" function of the shopping list, including the autocomplete while typing an ingredient. The new list does not seem to work, but maybe I am using it wrong?

Relevant logs

No response

level20peon commented 2 months ago

ok, apparently I can define "prefered units" for each food, so I guess I have to update this in my setup in order to prevent them from landing in "Undefined" (right?).

However, the main issue I have at this point is the missing autocomplete suggestions. Do I really have to type the whole ingredient name for each new entry in order to add it to the shopping list? Can I change that to the old behaviour?

smilerz commented 2 months ago

it is working as intended - if you want amount and units you have to type them all out.

100 gram paprika

level20peon commented 2 months ago

I see, but what about ingredients auto complete? I can't type the whole ingredient name every time I add something to the list by hand because I don't know every name-variation as I entered it into the database (or it is too complicated to type, especially on mobile). For example I have:

If I start typing I need those possible matches listed when I type "Pap", so how can I do this with the new input field?

smilerz commented 2 months ago

The front-end is being rewritten, the current interface isn't going to be updated. In the meantime, you can: a) add items to the shopping list via adding a recipe b) start in the foods list and adding from there c) type the full ingredient into the shopping interface

level20peon commented 2 months ago

ok, so at some point there might be a way to use autocomplete again in the future? If that's the case I guess I'll revert for now and wait for the rewrite.