Bug: No daily quantity limit for food items
Bug description: The app does not enforce any limit on the total quantity of a food item consumed in a single day. Users can add extremely large amounts, for example, 1,000,000 apples in one day, which is unrealistic.
Expected behavior: The app should impose a reasonable daily limit on the quantity of each food item to prevent unrealistic or erroneous inputs.
Environment: Android
Possible solution: Implement a maximum daily quantity validation that prevents users from adding implausible amounts of a single food item.
Why should you add that? If a user wants to fuck up his input, he should be able to do that.
Agree with Palkuchen. Please don't reject nonsense values (except obviously wrong like negative grammage) and keep freedom to the users. Instead of rejecting new record with invalid values just display a warning with possibility to return back to the form to fix the values (it could be useful especially when Android keyboard did't type a comma and user has submitted eg 1056 instead of 10.56). But when user confirms he is sure to add invalid value, please allow it. There could be several non-standard use cases, for example "how much fat has been eaten by whole classroom during last year" and too smart application would be just annoying. Please keep freedom, just warn. Users are not so big retards like giant companies like Microsoft or Google think.
Editting possibility of previously entered values is the best solution for most issues caused by human mistakes of users.