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

Features: Added ability to copy complete meal to today. Added ability to delete all intakes from a meal #131

Open
wants to merge 6 commits into
base: develop
Choose a base branch
from

Conversation

doktormerlin
Copy link
Contributor

@doktormerlin doktormerlin commented Dec 31, 2024

This is an extension for the PR merged 2 weeks ago.

I added a popup-menu to the IntakeVerticalList which shows only up when Intake items are added to the list.

IntakeVerticalList with Popup Menu

If the selected day is today, or the list is shown from the homepage, this popup menu only shows the option to delete all intakes from this day:

Popup Menu with "Delete All" option

On other days, this menu also shows the option to copy all intakes from this meal to another day.

Popup Menu with "Copy to today" and "Delete All" options

This makes it easier to copy the lunch from yesterday to the e.g. dinner today, in case of leftovers. It is also possible that you eat the same breakfast everyday, which will also be easier with this new feature

In an upcoming pull-request I will also add the feature to add a scaling factor to this copy feature, so that it is easier to scale the sizes when e.g. only eating half the portion size for lunch than for dinner.

@doktormerlin
Copy link
Contributor Author

Sadly I don't know why the build fails, works fine for my local machine. Seems to be an old flutter version specified somewhere 😞

@madmini
Copy link

madmini commented Feb 25, 2025

@doktormerlin the pipeline flutter version has been updated in the meantime #128 (comment), so if you re-run the pipeline, it should work

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

Successfully merging this pull request may close these issues.

2 participants