Diary and foods

The Diary is the home tab: what you ate today, in four meals, against the day's budget. Foods is where you find things to log. Both work entirely from the database inside the app.

The Diary tab: a calorie ring showing 423 kcal left of 1,769, protein, carbs, fat and fiber bars against the day's targets, a note on where the movement figure came from, and today's habit count and weight. The Foods tab: a search field, add and barcode buttons, and a Recently logged list of foods with calories per 100 g.

The diary

Editing a logged entry: the food, its portion and quantity, the total, and the nutrition as recorded on the entry.

Finding a food

Search covers the bundled database: foods from the U.S. Department of Agriculture's FoodData Central (Foundation Foods, SR Legacy and FNDDS, all public domain) and a subset of Open Food Facts for barcoded products. Ranking is the same engine the project's command-line tool uses, pinned by shared acceptance tests, so "chicken breast" lands on the same food in both. Recently logged foods are listed before you type.

A food's detail screen shows its portions, with the gram weight of each, a quantity, the meal to log into, and the nutrition for that amount.

A food's detail screen: its source, a portion picker with Add Custom Portion, quantity and total, and the nutrition for that amount with an Edit Nutrition link.

Portions, corrections and your own foods

Barcodes

The scanner resolves a barcode in three steps: the bundled database first, then the local cache of past lookups, then, only if neither knows it, a single request to Open Food Facts for that product. The request contains the barcode and nothing about you. Offline, the lookup fails after a short timeout and the scan shows a miss rather than a spinner. A found product is cached on the device so the next scan is instant.

Pantry

Every food you have logged sits on a pantry shelf by category. It is the record of what you actually eat, and it is what the habit that looks for fruit and vegetables reads from.

The Pantry: 21 foods so far, on shelves such as From your kitchen, Legumes, nuts and seeds, and Snacks and sweets, each food with the day it was last logged.

Milestones

A few quiet moments are noticed once each: a number of different foods logged, a number of days logged across the whole history, gaps and all, and a best run of days in a row. They appear once and are listed under Achievements on the Progress tab. Nothing fires when a run ends.

Achievements: Discovery and Logging milestones, the reached ones ticked with their date, the upcoming ones listed below.

Reminders

Settings › Reminders offers a daily reminder per meal. Each is off until you turn it on, at a time you pick, and the notification text says only what the reminder is for. Nothing is sent because you have not logged. Permission is asked for when you turn the first reminder on, not at launch. These are local notifications; there is no push service.

Reminders: a switch per meal, all off, with the note that they only say what they are for and never how long it has been since you logged.

See also: Recipes, Energy budget, Export.