-
-
Notifications
You must be signed in to change notification settings - Fork 23
Description
What feature would you like to see?
Add support for math expressions in the weight input field of the food diary. Users should be able to enter expressions like 100 + 30, 2 * 85, or 250 / 3, and have the app automatically evaluate them into a final numeric weight.
The input should behave like a normal number field but detect and compute expressions on submit or when the field loses focus.
What problem does this feature solve?
Users often combine portions (e.g., 2 slices at 85g each, or leftovers added together). Currently they must calculate the total externally and then type the result. This feature removes friction, reduces errors, and speeds up logging by letting users do quick math directly in the input.
Have you considered any alternatives?
No response
Additional context
A small hint under the field like “You can type 100 + 30 or 2 × 85” would make the feature discoverable. Errors should be handled gracefully, with clear feedback if an expression can’t be parsed.