simonoppowa / OpenNutriTracker

🍴 OpenNutriTracker is a free and open source calorie tracker with a focus on simplicity and privacy.
https://simonoppowa.github.io/OpenNutriTracker-Website/
GNU General Public License v3.0
371 stars 54 forks source link

Feature: Make Entries Editable (#36) #93

Closed Sinnaj94 closed 4 months ago

Sinnaj94 commented 4 months ago

Description

This pull request makes intake entries editable. It is possible to set the amount (g/ml) of an intake entry by clicking on it.

Changes

Related Issue

Closes feature request #36.

Additional Notes

In method updateIntake, I used a map<string, dynamic> as a data structure. However it might be better to use a DTO here, see comments. What do you think?

simonoppowa commented 4 months ago

Really cool addition 👍 Thank you so much for the contribution to the project 🙂