A kitchen's food safety day, kept by the clock
The screen opens on today at one branch: a sentence with how many checks are done and which device has a deviation, then the day's checks by kind, each with its time and one button, the deliveries with their temperatures and what was recorded today. A check turns amber in the hour before it is due and counts as missed once its time passes, and a reading outside its limit keeps asking for a corrective action until somebody writes down what was done.
By Bohuslav PoláčekChecked
What the screen shows
- The day in one sentence: "3 of 15 checks for today are done, with a deviation to resolve on 1 device." Someone who covers all three branches sees a strip under it with each branch's own count, and a branch behind its plan says how: "2 overdue", "1 deviation".
- The next step: one card names what comes first and offers its action. Here it is the freezer, whose −16.0 °C on Sunday night has no corrective action yet: "Record the action".
- The checks: temperatures, operations (date labels on prepared food, the fryer oil) and cleaning, each row with its time and one button, Record for a temperature and Done for the rest. A row due within the hour says so in amber, "By 10:30, in 6 min"; a row that is done names who did it and when.
- Deliveries and the record: each delivery with its receipt temperature, the product and who took it in. The side column holds the wireless sensors with their last report and everything recorded today, newest first.
The clock decides, not a tick box
Every check has a time: fridges and freezers are read in the morning and in the evening, hot holding at the lunch and the evening service, a cleaning task falls due on its day. The page works out each check's state from the time it shows, so a check turns amber in the hour before it is due and becomes missed once its time passes, while somebody watches and without asking the server.
A check ticked after its time stays on file as done late. A cleaning task done a day late is still that day's task, done late, and one nobody did stays open until somebody does it. The next step follows one order: a device still outside its limit, then a deviation nobody answered, then the earliest check that is not done.
A deviation waits for its answer
Wireless sensors report every 15 minutes, and a reading outside the device's limit opens a deviation (in the demo's plan, 4 °C or less for a fridge and −18 °C or less for a freezer). While the device is still out of its limit it heads the page. Once it is back, the deviation keeps asking for a corrective action until somebody writes down what was done: moved the goods, called the service, threw goods away and how much, fixed the unit on the spot, with a note.
When somebody records a value out of its limit by hand, the same fields open inside the reading dialog, so the action is written at once rather than later. The record for an inspector lists each deviation with its corrective action beside it.
A record nobody can quietly change
Everybody who works at a branch records its checks, newcomers included, because the check nobody dares to write down is the one an inspector finds missing. A reading is never deleted: its writer may give it back within ten minutes, for a typing error, and a manager the same day, and it stays on file marked as given back.
The branch manager and the operations director also change the plan, the devices and the cleaning tasks, and export the record for an inspection: the gaps first, a missed reading listed as missed, then the deviations with their corrective actions and every device's readings day by day. The rules are one table in the module's permissions, asked by the page and again by the server, as the permissions pattern describes.
What generated food safety apps usually get wrong
Asked for a HACCP log, coding tools tend to build a list of tick boxes without times, so a missed check looks the same as one not yet due. They let anyone edit or delete an entry, which is exactly what an inspector cannot trust; they store a temperature out of its limit and move on, with nowhere to write what was done; and they colour every row red or green.
In Meadowstack the time decides a check's state, colour goes only to what needs doing and always beside its words ("By 10:30, in 6 min", "Corrective action missing"), and every change writes an entry the kit's AuditTimeline shows. The screen is an overview, which opens with a sentence of figures as the overview pattern asks. The same kitchens plan their people on the staff rota.
What comes first, decided in one place
export type NextStepKind =
| { type: "control"; unit: UnitView; deviation: DeviationView }
| { type: "action"; unit: UnitView; deviation: DeviationView }
| { type: "check"; item: CheckItem; state: Due }
| { type: "none" };
export function nextStepOf(branch: BranchToday, now: Date): NextStepKind {
for (const unit of branch.units) {
const open = openDeviationOf(unit);
if (open) return { type: "control", unit, deviation: open };
}
for (const unit of branch.units) {
const unanswered = unansweredOf(unit)[0];
if (unanswered) return { type: "action", unit, deviation: unanswered };
}
const waiting = branch.items.filter(isCheck).filter((item) => !item.done);
const next = waiting.sort((a, b) => a.dueAt.localeCompare(b.dueAt))[0];
return next ? { type: "check", item: next, state: dueState(next, now) } : { type: "none" };Lead in the kit's manifest
| Manifest field | Lead |
|---|---|
| What it is | The finding of a screen as one large sentence with its figures set in weight. |
| Use it for | The top of an overview: what is true this morning, in one sentence, before any block. |
| Not for | A page description under a title (PageHeader has none); A notice that needs a decision (Notice) |
| It replaces | An h2 with a hand-sized paragraph above the dashboard |
| Screen types | Overview; Record |
| Import | import { Lead, LeadFigure } from "@meadowstack-studio/kit"; |
Questions
What does the food safety log record?
What a kitchen's HACCP plan asks for: fridge and freezer temperatures twice a day, hot holding at service, deliveries with their temperature, cleaning, frying oil, date labels and pest control, and each deviation with its corrective action.
What happens when a fridge goes over its limit?
The reading opens a deviation, and the device heads the page while it is still too warm. Once it is back within its limit, the deviation keeps asking for a corrective action until somebody writes down what was done, and the record keeps both.
Can a wrong entry be deleted?
No. Whoever wrote a reading can give it back within ten minutes and a manager the same day, and it stays on file marked as given back, so the record still shows what happened.
Who can record the checks?
Everybody who works at the branch, newcomers included. The branch manager and the operations director also change the plan, the devices and the cleaning tasks, and export the record for an inspection.
What if a check is done late?
It stays on file as done late, at the time it was done, and the record for an inspector shows it that way. A cleaning task nobody did stays open until somebody does it, still counted on the day it fell due.
Related
- An app for restaurants and venuesExample app
- A time-off request waiting for a decisionScreens
- A recipe with its cost and its allergensScreens
- A driver record that says what expires nextScreens
- A fleet cost report that ranks every truckScreens
- A lot record that traces one step back and one step forwardScreens
Two ways
Build it yourself, or have it built
Build it yourself
Build your app on the framework
Get the codebase these apps stand on and build yours with Claude Code, Cursor or Codex.
One payment, lifetime updates
Get the frameworkHave it built
Have us build your app
Tell us how your team works. We plan the app with you and build it on the same framework at a fixed price.
After launch, Care keeps it improving, from €99 a month.
from €1,990
Describe your app