Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature request: Add real calculation ability to calculator & carbs input windows #3761

Open
seiphr opened this issue Jan 19, 2025 · 4 comments
Labels
enhancement New feature or request

Comments

@seiphr
Copy link

seiphr commented Jan 19, 2025

Oftentimes, I eat a pre-packaged item that has it's carbohydrates listed per 100g. It would be beneficial if I could enter the per-100g carbs and the actual weight of the item in grams and have AAPS do the calculation for me. Otherwise I have to get a calculator app open or work it out mentally which usually involves rounding.

The same feature should also exist in the carbs window.

@olorinmaia
Copy link
Contributor

Cool idea. I could imagine a button somewhere on the row where you enter amount of carbs, when touched, a dialogue box that allow you to calculate KH in grams given that you know per 100g and actually weight in g.

@painbrain81
Copy link

Very cool idea! I suggest 100gr default for weight form (you can change of course).

@MilosKozak MilosKozak added the enhancement New feature or request label Jan 19, 2025
@pnharris02
Copy link

Yes, useful idea. The 100g default could be changed to the 'typical serving size' if that was what was on the packaging, though usually 100g would be available.
Even better would be if when this dialog box opened, it had multiple lines, and you could add multiple elements of the meal, and AAPS would provide the total carbs at the bottom. My brain can usually cope with mental maths for one ingredient, but multiples gets a bit more difficult!

@pnharris02
Copy link

I was nearly going to suggest that this data could be pulled from a foods database too, but didn't want to make my request too overwhelming for developers in the first instance.
I've just found another older open issue requesting a similar feature though, initiated from the foods database
#1105

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

5 participants