The “Recompute” badge means a value is being refreshed in the background. Here is why it shows up, what triggers it and how to know everything is up to date.
In melba, the food cost, the allergens, the nutrition facts and the INCO composition are not typed in by hand: they are calculated from your ingredients. When an ingredient moves, everything that depends on it has to be recomputed.
When you see a Recompute badge next to the name of an article or a recipe, it means its values are being refreshed in the background.
This is not an error. The figures shown in the meantime are simply the previous ones — never partial or wrong values. The badge disappears on its own as soon as the calculation is done.
Because the recompute does not stop at the product you touched: it works its way up the whole chain.
A concrete example. You change the price of a bag of flour. melba then recomputes:
…and so on, all the way up your tree.
On a small menu this is instant. On a large catalogue with many nested sub-recipes, a single price change can touch several thousand recipes. In that case melba would rather hand control back to you straight away and do the work in the background, instead of leaving you on a loading screen.
In the Articles and Recipes lists, the Up to date filter lets you isolate what is still being recomputed in one click. Handy after a large price import: you see at a glance what is left, and the list empties as the work progresses.