Skip to content

Add meal type selection picker and dialog#386

Open
jonsch318 wants to merge 6 commits intoaimok04:mainfrom
jonsch318:meal-type-sheet
Open

Add meal type selection picker and dialog#386
jonsch318 wants to merge 6 commits intoaimok04:mainfrom
jonsch318:meal-type-sheet

Conversation

@jonsch318
Copy link
Copy Markdown
Contributor

This is a kinda large Pr since I needed to add 2 new Form Field types, but I think you will like it.

  1. Added a new FormField type MealTypePickerField which currently replaces the MealTypeSearchField which could not probably be removed. This opens a bottom sheet allow you to select the meal-type by just clicking.
    The rational behin this is that most of the people will reasonably only have a few meal-types

  2. Add a new MealTypeCreationAndEditDialog which allows the app to create, edit and delete new meal types. This is integrated in to the new PickerField as well as i could.

  3. The dialog needed a color chooser and a time field both of which were added

Now here is a complete show of the new stuff

screen-20260416-221927-1776370717452.mp4

@aimok04
Copy link
Copy Markdown
Owner

aimok04 commented Apr 18, 2026

This would make #373 and #372 obsolete, right?

@jonsch318
Copy link
Copy Markdown
Contributor Author

Somewhat yes if we decide to completly replace it but then I should delete the old Input file as well.
Can do in an hour

@jonsch318
Copy link
Copy Markdown
Contributor Author

Now removed the old search field. I'll close the other ones since I find this way nicer.

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