nickslick03 / messiah-meal-planner

1 stars 0 forks source link

State management #21

Closed cdrice26 closed 1 month ago

cdrice26 commented 1 month ago

I've added the state management and custom useState hook to the software, and also pulled in the real meals into the AvailableMeals table. The custom meal editor and sorting logic are not yet implemented, they will be a separate PR.

nickslick03 commented 1 month ago

This looks awesome! 2 things:

nickslick03 commented 1 month ago

I also just added some memos in the mealQueue to disable the add button if no meals are in the queue or no days are selected and disables the clear button if there's no meals in the queue.

cdrice26 commented 1 month ago

I've implemented the changes you requested, I agree, those make sense. Yes I think a notification component is a good idea.