TheDurian / food-group-app

1 stars 0 forks source link

Refactoring some stuff, extracting out some common functionalities, adding label input #31

Closed TheDurian closed 8 months ago

TheDurian commented 8 months ago

Summary

Explanation Refactoring some code around

Converting the Person checkbox / input field thing, into some generic functions / widgets. I wanted to reuse this same functionality for adding custom labels to your visits.

Also refactoring the database stuff, the database file was getting a little big so im splitting up into different files. when you add some new data type its very copy-pasteable to create a new file and such.

Also adding label input, there is no add label screen but i added initial support for a label that has a name + color

image image

and clicking the label button > add shows an unimplemented toast image