Savanni D'Gerinel
1c2f40c868
Apply clippy suggestions
2024-02-19 16:14:08 -05:00
Savanni D'Gerinel
1527942f9c
Add support for DurationWorkout and SetRep, finishing the legacy importer
2024-02-19 14:24:52 -05:00
Savanni D'Gerinel
7ba758b325
Build an application that can read the legacy record data structure
2024-02-19 13:27:19 -05:00
Savanni D'Gerinel
73a5ab89a3
Rename BikeRide to Biking
...
This just generally feels more comfortable, especially when put in conjuction with the other activity types
2024-02-09 08:24:01 -05:00
Savanni D'Gerinel
b5c42e3ac3
Add the activity type selector to the time-distance widget
2024-02-09 08:17:10 -05:00
Savanni D'Gerinel
2c42c35dfe
Build the facilities to add a new time/distance workout
...
This adds the code to show the new records in the UI, plus it adds them to the view model. Some of the representation changed in order to facilitate linking UI elements to particular records. There are now some buttons to create workouts of various types, clicking on a button adds a new row to the UI, and it also adds a new record to the view model. Saving the view model writes the records to the database.
2024-02-08 09:44:58 -05:00
Savanni D'Gerinel
2fb8728856
Invert the TraxRecord
...
This simplifies, though not as much as I was hoping, the patterns for accessing data along strict type patterns. I may see better results once I'm getting the Time/Distance views working.
2024-02-08 00:20:40 -05:00
Savanni D'Gerinel
3db870d790
Set up time distance operations and tests
2024-02-03 15:28:33 -05:00
Savanni D'Gerinel
9bedb7a76c
Tons of linting and get tests running again
2024-01-20 15:04:46 -05:00
Savanni D'Gerinel
1fe318068b
Set up a view model for the day detail view
2024-01-20 11:16:31 -05:00
Savanni D'Gerinel
6d9e2ea382
Switch to the updated emseries record type
2023-12-28 22:36:40 -05:00
Savanni D'Gerinel
e13e7cf4c3
Create a widget that can show the weight view and edit modes
2023-12-28 22:31:11 -05:00
Savanni D'Gerinel
e30668ca8e
Drop DateTimeTz from fitnesstrax
2023-12-28 12:51:50 -05:00
Savanni D'Gerinel
af8f9b0244
Generate some random data and feed it into hte historical view
2023-12-24 19:13:49 -05:00
Savanni D'Gerinel
3dc8be0d26
Render a weight record
2023-12-22 18:53:29 -05:00
Savanni D'Gerinel
baf652173c
Set up the main views for the window, as well as the redraw policy
...
Whenever we change views, we need to call the redraw function. That
function will handle dropping the old view and populating the new one.
2023-12-18 18:30:41 -05:00
Savanni D'Gerinel
b9aa434278
Remove types that are not implemented yet
...
I've gone *years* without these types, mostly because I wasn't doing
these workouts. I can go longer.
2023-12-06 23:55:12 -05:00
Savanni D'Gerinel
83a4839b1d
Implement the timestamp function
2023-12-06 23:52:46 -05:00
Savanni D'Gerinel
0e0d67a9ac
Split Fitnesstrax into two crates
2023-12-06 23:52:33 -05:00