Peter Stockings
|
a4f5897365
|
Modify sparkline so it ranges from earliest workout date to current date
|
2023-10-21 22:48:25 +11:00 |
|
Peter Stockings
|
32643a0ba8
|
Change user overview graph form so it updates on newly added Add button click, which now adds images in a list. Clicking on generated graph images in list removes them from dom
|
2023-10-21 22:15:41 +11:00 |
|
Peter Stockings
|
a111292dbc
|
Remove search filter on attributes & periods dropdowns for user overview graph form
|
2023-10-21 21:51:11 +11:00 |
|
Peter Stockings
|
da8c432b0b
|
Append date range on user overview graph title
|
2023-10-21 21:31:41 +11:00 |
|
Peter Stockings
|
2f16d926e1
|
Add title to user overview graphs
|
2023-10-21 21:20:59 +11:00 |
|
Peter Stockings
|
07ad592895
|
Add form to create user overview graphs
|
2023-10-21 19:20:49 +11:00 |
|
Peter Stockings
|
3e110a7d4f
|
Create endpoint that returns graphs of an overview of users workouts (Needs to be refactored)
|
2023-10-21 18:35:03 +11:00 |
|
Peter Stockings
|
536e0b28bc
|
Refactor create user endpoint/template
|
2023-10-20 20:10:27 +11:00 |
|
Peter Stockings
|
dc13b05420
|
Rename some templates and convert remaining js to hyperscript
|
2023-10-20 20:04:07 +11:00 |
|
Peter Stockings
|
996e47d2b4
|
Remove js used to open/close workout list accordion for each user, also animate icon on open/close
|
2023-10-20 19:54:14 +11:00 |
|
Peter Stockings
|
c7974190ce
|
Redirect to new workout page using <a> rather then js onlick handler (Not sure why I did this in the first place)
|
2023-10-20 19:45:00 +11:00 |
|
Peter Stockings
|
f340d1d3a9
|
Switch to using render_partial instead of include
|
2023-10-20 19:40:43 +11:00 |
|
Peter Stockings
|
ec9ec443e4
|
Refactor workout graph generation endpoint
|
2023-10-20 19:15:47 +11:00 |
|
Peter Stockings
|
18ac5d3fbc
|
Very very minor refactor, why even do this
|
2023-10-20 18:45:21 +11:00 |
|
Peter Stockings
|
f801c3c615
|
Refactor get/add workouts for user endpoint, and update message on completion of workout
|
2023-10-20 18:40:40 +11:00 |
|
Peter Stockings
|
5423f8b8bb
|
Fix bug introduced in last few commits where list of workouts wouldnt be shown in order
|
2023-10-20 18:31:58 +11:00 |
|
Peter Stockings
|
86930f1f88
|
Load workouts from user object in get_workouts_for_user method
|
2023-10-19 23:07:27 +11:00 |
|
Peter Stockings
|
0c8fca4642
|
Add basic authentication using username/password sourced from env on delete user/workout endpoints
|
2023-10-19 22:45:44 +11:00 |
|
Peter Stockings
|
dafc23af49
|
Change matplotlib backend to speed up plottng time (~0.25 to ~0.03 seconds)
|
2023-10-19 22:19:24 +11:00 |
|
Peter Stockings
|
fa1e76df47
|
Refactor render_users_and_workouts method
|
2023-10-19 22:03:35 +11:00 |
|
Peter Stockings
|
f0fba96746
|
Removed extra db call for workouts for user
|
2023-10-19 21:43:26 +11:00 |
|
Peter Stockings
|
320a2d1ffc
|
Minor refactor to generate_calendar_monthly_view function
|
2023-10-19 21:26:53 +11:00 |
|
Peter Stockings
|
76eb290865
|
Refactor render user and workouts function
|
2023-10-19 21:12:00 +11:00 |
|
Peter Stockings
|
b60f1a2445
|
Change sparkline to show duration of workouts daily displayed most recent on the left
|
2023-10-19 20:57:49 +11:00 |
|
Peter Stockings
|
8fe110d159
|
Minor style update to workout list accordion, removed background and padding
|
2023-10-19 20:38:23 +11:00 |
|
Peter Stockings
|
dcff73d85e
|
Fix bug where clicking on a workout will always show the same workout in accordion
|
2023-10-16 14:22:23 +11:00 |
|
Peter Stockings
|
fecd4a08d1
|
Minor styling changes for calendar
|
2023-10-13 22:48:06 +11:00 |
|
Peter Stockings
|
797fc19a75
|
When a day with a workout is selected a workout overview is rendered
|
2023-10-13 22:15:37 +11:00 |
|
Peter Stockings
|
9b0d37fa6a
|
Minor refactor to calendar template
|
2023-10-13 20:57:41 +11:00 |
|
Peter Stockings
|
f17bfb7408
|
Minor stlying change
|
2023-10-13 20:22:50 +11:00 |
|
Peter Stockings
|
6add399c3c
|
Format workout stats better
|
2023-10-13 20:18:02 +11:00 |
|
Peter Stockings
|
339b8722fc
|
Hide button to load more workouts when all workouts have been fetched
|
2023-10-13 19:17:40 +11:00 |
|
Peter Stockings
|
9b43d7a8f4
|
Revert logic for lazy loading workout list, instead just load it all when requested
|
2023-10-13 19:05:58 +11:00 |
|
Peter Stockings
|
b23e6064d7
|
By default only load 5 most recent workouts for list, but on click of button at bottom load them all
|
2023-10-13 18:52:47 +11:00 |
|
Peter Stockings
|
2009be51ad
|
Attempt to fix url_quote error on start
|
2023-10-13 17:36:45 +11:00 |
|
Peter Stockings
|
cd03256245
|
Allow user to browse next/prev month on calendar
|
2023-10-13 17:27:06 +11:00 |
|
Peter Stockings
|
1dccd85711
|
Add next,prev month to view model for user workout calendar
|
2023-10-13 17:01:02 +11:00 |
|
Peter Stockings
|
c7598f970d
|
Show workouts on monthly calendar, not yet interactive (Will make it so you can change month and select workout to view on click)
|
2023-10-13 16:56:23 +11:00 |
|
Peter Stockings
|
8386789a2a
|
Change icon to a bike
|
2023-10-13 15:57:15 +11:00 |
|
Peter Stockings
|
861d83f828
|
Change look of users list of workouts, added month calendar (static for now), & and added in hyperscript (will switch to using this for client side stuff)
|
2023-10-13 15:56:56 +11:00 |
|
Peter Stockings
|
c18beba563
|
Add 90s timeout to gunicorn to attempt to avoid startup loop error(Matplotlib is building the font cache -> Worker timeout)
|
2023-09-14 18:30:06 +10:00 |
|
Peter Stockings
|
f251240dc8
|
Check if weekly workouts is zero before calculating duratio by week to avoid division by zero error
|
2023-09-14 18:20:12 +10:00 |
|
Peter Stockings
|
60a7ec3d15
|
Attempt to parse date string as ISO
|
2023-07-31 13:22:39 +10:00 |
|
Peter Stockings
|
38867a234a
|
Minor refactor to workout submission handling of hear rate readings
|
2023-07-31 13:09:56 +10:00 |
|
Peter Stockings
|
6628d8a40f
|
Js date is being sent as a string and therefore when attempting to calculate duration an error is thrown
|
2023-07-31 13:07:17 +10:00 |
|
Peter Stockings
|
c826b9180a
|
Fix for error introduced in last commit where submitting workout attempts to access misnamed properties
|
2023-07-31 12:55:37 +10:00 |
|
Peter Stockings
|
27d3fbf681
|
When a new workout is created, calculate and persist distance, calories, average, min, max rpm|bpm etc (Need to test this)
|
2023-07-29 20:39:34 +10:00 |
|
Peter Stockings
|
2e37b1e22a
|
Read distance, calories, max_rpm, min_rpm, average_rpm etc from workout rather then recalculating on each render, still need to modify add workout endpoint to calculate properties and set on workout
|
2023-07-29 20:24:41 +10:00 |
|
Peter Stockings
|
a4004c6e00
|
Minor refactor
|
2023-07-13 16:10:19 +10:00 |
|
Peter Stockings
|
6954882a62
|
Dont redirect to home page after successfully comitting workout
|
2023-07-13 16:07:52 +10:00 |
|