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

Macros in Grams #562

Open
sbservices opened this issue Aug 2, 2023 · 3 comments
Open

Macros in Grams #562

sbservices opened this issue Aug 2, 2023 · 3 comments

Comments

@sbservices
Copy link

People are having to calculate their macros grams manually. I checked the back office settings but there wasn't an option to change it from calories to grams.

So in this table here that the end user sees, it would be more useful to see this in grams or at least for the end user to be able to have the option to toggle it between grams & calories.

image

here are the number of calories for each protein/carbs/fats

1 gram of protein = 4 calories. 1 gram of carbohydrate = 4 calories. 1 gram of fat = 9 calories.

So 100 calories divided by 4 = 25g protein and say 90 calories of fat divided by 9 calories per gram is 10 grams of fat.

@alicolville
Copy link
Owner

I'll add this into the next release, but more as a spike to investigate the options and whether it is possible in the table control.

@alicolville
Copy link
Owner

Working on a prototype for the table at least :)

Image

@alicolville
Copy link
Owner

This is sitting in a branch, but requires more testing and time.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Blocked
Development

No branches or pull requests

2 participants