dashboard/app/CHANGELOG.md
bashynx 4193de4262 Food, sync and warmer updates from 2026-10-26
- Food: "All products" lists what's here first (My foods, the food database, kept
  products), then Open Food Facts; the start of a barcode (4+ digits) finds the
  products starting with it (dashboard, app, server search).
- Food: My foods barcodes; entries follow edits of their food or meal, and meals
  made with a changed food are worked out again (nested meals too); a save that
  changes nothing isn't written.
- Food: the week strip shows protein / carbs / fat per day, over-target calories
  in red; the header's arrows go by week, days swap in place with prefetch on
  hover; the app's arrows go by week, a sideways swipe by day.
- Food search: stomach / žalúdok / pipotă find gizzards, kurací / pui chicken,
  morčací / curcan turkey.
- Sync: tables a plugin makes after start-up are prepared at the next sync and
  their file read from the start once.
- Warmers build pages as each admin account and wait while someone is using
  the dashboard; slow page builds are logged.
- Stations: impossible sensor readings are dropped; chart ticks never fail.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-26 15:45:32 +02:00

5.4 KiB

Changelog

What changed in each published build of the app. tool/publish.sh shows the entry for the version in pubspec.yaml as the update notes on the phones (Sync page ▸ App) — write it before publishing.

Unreleased

  • Connect by scanning the code from the dashboard (Settings ▸ General ▸ Devices ▸ Add a device).
  • Weather: the dashboard's home and extra places come with the sync.
  • Sync page: the dashboard's address for "sync now" can be set there.
  • Food: the targets follow the dashboard's Settings ▸ Food (weight goal, macro split, limits) instead of fixed values in the app.
  • The band's data goes with the phone's time zone, so the dashboard reads its times right without a setting.

1.1.6 — 2026-10-26

  • Food: the arrows at the top go a week back / ahead; swiping sideways goes a day. The dashboard's arrows go by week too.

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 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.
  • Food: the week strip's day pills show the day's protein / carbs / fat in their colours (by their share of the energy), and a day over its target has its calories in red. 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 earlier / later (15-minute steps, never shorter than 15 minutes; Undo).
  • Work: moving a block, drawing a new one and the grips start after a shorter hold (¼ s instead of ½ s).
  • Work: dragging near the top or bottom edge scrolls the day, so a block can be drawn or moved past what's on screen.
  • Food: "Search all products" — 2 million+ Open Food Facts products from every country, with country, brand and Nutri-Score filters (needs a connection); a product you pick is kept and synced, so it works like any other food afterwards, on the dashboard too.
  • Food: barcode scanner (the camera button in the search box) — finds the product here, else in all products. Reads the code on the phone (ZXing), no Google services.
  • Weather: "Current location" asks Android itself (no Google services in the app any more); when it can't tell — not allowed, switched off, no fix — a red banner on top says why and what to do, and home (the first place) is shown instead.
  • Food: the built-in food database has the shop products of the countries it was built for only (the rest are in "all products"; ones you've used stay).
  • Food: added sugar — USDA's own added-sugar figures for its prepared foods; shop products by their ingredients (any language) and the label's figure; names matched without accents and in more languages (RO, SK, CZ, HU, DE, PL, FR, IT, ES, PT); plain oats and grits count as natural.
  • Food: My foods have "Sugar counts as" (estimated / all added / milk's own / natural) for when the estimate is wrong.

1.1.1 — 2026-10-22

  • Work: hold an empty spot on the timeline and drag up or down to book that span; the times show while you drag, letting go opens the entry with them filled in.
  • "Undo" messages (cycle day, moved work block, note to the trash) disappear on their own instead of staying on screen until tapped.
  • Food: "Free sugar" is now "Added sugar" — the same estimate (added sugar, honey, syrups, fruit juice), a clearer name.
  • Food: whole and dried fruit no longer count as added sugar (every fruit did, through USDA's "Fruits and Fruit Juices" category).
  • Food: snacks, fast food, drinks and baby food are judged by what they are (cola, bars, coleslaw count; coffee, crisps, burgers, plain baby fruit don't); wine, cider and beer count like juice.
  • Sync: the dashboards' raw ActivityWatch data is skipped — the phone never reads it.

1.1.0 — 2026-10-21

  • Notes: markdown notes with folders, #tags, pinned notes, checklists, search and trash — synced with the dashboard.

1.0.0 (build 2) — 2026-10-21

  • Work: the week (a day's timeline on a phone, all seven days in landscape), booking and editing time, the report (CSV to the clipboard), customers and their editor; the calendar's events behind the week and Activity's blocks beside it; drag blocks to another time or day.
  • After sending the band's data, the Pi on the home network syncs at once.
  • The app updates itself from the sync server.

1.0.0 (build 1) — 2026-10-21

  • First build: Health (overview, cycle, body, sleep, heart, activity), Food, Weather (with the home stations), sync through the sync server, the Gadgetbridge band relay and the hourly background sync.