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

Add Draggable Intake Cards #69

Closed greenfrogs closed 6 months ago

greenfrogs commented 6 months ago

Description

Allows for intake cards to be dragged between categories on the home page. Closes #68

Approach

Changes intake cards so that the long press is optional and then adds draggable areas to each IntakeVerticalList. Uses an onDrag callback to determine the visibility of the new delete bottom bar.

https://github.com/simonoppowa/OpenNutriTracker/assets/5961364/cc2a8391-a831-4df3-a617-7b0bddf4552e

simonoppowa commented 6 months ago

Really cool feature. Just merged it and will be part of next beta release 👍

greenfrogs commented 6 months ago

Thank you for approving my Github actions and merging!!!

Excited to keep working on this project and thank you for all the improvements (I will remember to run flutter analyze next time :) ).