Food: all products, barcode prefixes, meals that follow their ingredients

- "All products" lists what's here first (My foods, kept products, the food
  database), then Open Food Facts; if the archive can't be reached, what's
  here is still shown. A My food picked there is used as it is.
- The start of a barcode (4+ digits) finds the products whose barcode starts
  with it: in the search box, in all products and in the server's search
  (an index range, so it stays fast).
- A meal made with a changed food is worked out again, and so are meals made
  with that meal and their logged entries (db.follow_meals, app _followMeals).
- Saving a food that didn't change writes nothing, so nothing is synced again.
- Food search knows a few words in other languages: stomach / žalúdok /
  pipotă find gizzards, kurací / pui chicken, morčací / curcan turkey.
- App 1.1.5 changelog entry.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Bashy 2026-10-26 15:41:23 +02:00
parent d9460a2293
commit eeca189b7f
11 changed files with 287 additions and 71 deletions

View file

@ -13,6 +13,16 @@ What changed in each published build of the app. `tool/publish.sh` shows the ent
- The band's data goes with the phone's time zone, so the dashboard reads its times right without a
setting.
## 1.1.5 — 2026-10-26
- Food: "All products" lists everything — My foods, the food database and products you kept first, then
Open Food Facts. The dashboard does the same.
- Food: the start of a barcode (4+ digits) finds the products whose barcode starts with it, in the search box
and in all products.
- Food: a meal made with a food you change is worked out again (and the meals made with that meal), its
logged entries too.
- Food: "stomach", "žalúdky" or "pipote" find gizzards; kurací / pui find chicken, morčací / curcan turkey.
## 1.1.4 — 2026-10-26
- Food: My foods can have a barcode (the food editor, with a scan button). Scanning it, or typing it in the