Food: logged entries follow their food; barcodes for My foods

- Saving one of My foods or a meal works every entry logged from it out again
  for that entry's grams, on any day. Only the entries that change are
  written, so the rest aren't synced again (db._follow, app _follow).
- My foods can have a barcode (8-14 digits, one food per barcode). A scanned
  or typed barcode finds My foods first (leading zeros ignored), then the food
  database and kept products; when nothing matches, "New food with barcode"
  opens the food editor with it filled in.
- App 1.1.3 and 1.1.4 changelog entries.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Bashy 2026-10-26 14:08:32 +02:00
parent fb3c01cdd7
commit ad4b6aa22f
12 changed files with 238 additions and 30 deletions

View file

@ -13,6 +13,19 @@ 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.4 — not published yet
- Food: My foods can have a barcode (the food editor, with a scan button). Scanning it, or typing it in the
search box, finds that food first.
- Food: a barcode nothing is found for offers "New food with barcode …", which opens the editor with the
barcode filled in. The dashboard does the same.
## 1.1.3 — 2026-10-26
- Food: editing a meal (its ingredients, weight when done) or one of My foods (its values or name) now
updates every entry logged with it, for that entry's grams — already-logged days included. The
dashboard does the same.
## 1.1.2 — 2026-10-23
- Work: grips at the top and bottom of a block — hold one and drag to start earlier / later or end