Commit Graph

8 Commits

Author SHA1 Message Date
1fe318068b Set up a view model for the day detail view 2024-01-20 11:16:31 -05:00
18e7e4fe2f Start setting up the day detail view model
I've created the view model and added a getter function for the weight.
I'm passing the view model now to the DayDetailView, DayDetail, and
DayEdit.

I'm starting to set up the Save function for the view model, draining
all of the updated records and saving them.

None of the components yet save any updates to the view model, so
updated_records is always going to be empty until I figure that out.
2024-01-18 09:00:08 -05:00
56d0a53666 Fix how DayEdit deals with the weight field 2024-01-17 22:35:13 -05:00
b00acc64a3 Set up the ActionGroup component 2024-01-17 22:13:55 -05:00
104760c754 Be able to switch into edit mode 2024-01-15 23:27:55 -05:00
1e6555ef61 Create a day detail view
DayDetail, the component, I used to use as a view. Now I'm swapping
things out so that DayDetailView handles the view itself. The DayDetail
component will still show the details of the day, but I'll create a
DayEditComponent which is dedicated to showing the edit interface for
everything in a day.

The swapping will now happen in DayDetailView, not in DayDetail or an
even deeper component.
2024-01-15 15:53:01 -05:00
2e2ff6b47e Create a Singleton component and use it to simplify the weight view 2024-01-15 13:20:23 -05:00
0007522b26 Extract the Weight and Time Distance widgets 2024-01-01 23:58:55 -05:00