Commit Graph

16 Commits

Author SHA1 Message Date
86d7ca0b01 Change TextEntry to a builder pattern 2024-02-18 22:19:39 +00:00
d137ee2481 Apply clippy 2024-02-18 22:19:39 +00:00
9a18496c95 Apply the value of a date field to the historical view
Date fields can now be updated and their values retrieved. So now I have added a button that retrieves the range of the date field and updates the historical view in response to them.
2024-02-18 22:19:39 +00:00
01776a534e Start setting up date range widgets 2024-02-18 22:19:39 +00:00
73052a0694 Save new time/distance records
This sets up a bunch of callbacks. We're starting to get into Callback Hell, where there are things that need knowledge that I really don't want them to have.

However, edit fields for TimeDistanceEdit now propogate data back into the view model, which is then able to save the results.
2024-02-08 10:20:57 -05:00
9727d35116 Resolve clippy warnings
Warnings were mounting up. It was time to resolve them before attempting a massive rebase.
2024-02-07 23:36:03 -05:00
772188b470 Set up text entry fields for all of the common metrics 2024-01-31 08:56:54 -05:00
bc31522c95 Add the on_update callback to TextEntry, and test the component 2024-01-31 08:44:46 -05:00
69567db486 Introduce a structure for formatting and parsing Weight values 2024-01-30 10:08:10 -05:00
9bedb7a76c Tons of linting and get tests running again 2024-01-20 15:04:46 -05:00
1fe318068b Set up a view model for the day detail view 2024-01-20 11:16:31 -05:00
1c2c4982a1 Update the record in the detail view on save 2024-01-18 07:43:18 -05:00
56d0a53666 Fix how DayEdit deals with the weight field 2024-01-17 22:35:13 -05:00
2e2ff6b47e Create a Singleton component and use it to simplify the weight view 2024-01-15 13:20:23 -05:00
2e3d5fc5a4 Clean up the parameters to TextEntry and populate the field 2024-01-01 22:57:59 -05:00
a25b76d230 Create a validated text entry widget
I move the weight edit view into the validated text entry widget, and I
work on some of the unfortunate logic in the weight blur function. I've
left behind a lot of breadcrumbs for things that still need to be done.
2023-12-31 11:18:15 -05:00