Commit Graph

27 Commits

Author SHA1 Message Date
Peter Stockings
d967920e03 Start to refactor away from using camel case (Not sure why I did this in the first place) 2023-12-09 16:14:10 +11:00
Peter Stockings
d51266c2d1 Remove graph model data from dashboard/people endpoints 2023-12-09 15:00:53 +11:00
Peter Stockings
83d3e3136f Change logic for calendar month view so it always renders the same number of weeks (Sunday-Saturday) regardless of length of month, & what day of the week it started. This resolves the rerender when you switch between months with varying number of weeks 2023-12-07 17:49:19 +11:00
Peter Stockings
6474741f1e Fix for bug where when on the first of the month(eg today 1/5/23) and your on month view for a person then clicking previous date(Next to eg. May, 2023) would take you to March, also did a slight refactor 2023-05-01 21:20:00 +10:00
Peter Stockings
d44582d2a2 WIP: Plot estimated 1rm on graphs as well, perhaps add another graph with graph options(reps, weight, 1rms etc) 2023-04-02 23:02:51 +10:00
Peter Stockings
c4bd430eaf WIP: Add graphs to workouts list view that show reps/weight, still need to refactor logic and dont display unless plot button(Need to add) is checked 2023-04-02 22:36:30 +10:00
Peter Stockings
27c27b74a0 Add total sets and average sets per workout to stats 2023-03-21 11:48:55 +11:00
Peter Stockings
0b820eb66e Add options to configure filter options for dashboard(people, exercise, start/end date) 2023-03-21 00:11:13 +11:00
Peter Stockings
dac5e99f05 Ensure workouts are printed in order of start date descending 2022-12-07 20:56:12 +11:00
Peter Stockings
fe8852c15d Fix error thrown when viewing profile of a person with a single workout with a single topset 2022-12-04 19:35:53 +11:00
Peter Stockings
afeba8a244 Fix error where a blank topset was rendered for a empty workout 2022-12-03 17:55:51 +11:00
Peter Stockings
0701c1aace Fix calendar year view 2022-12-03 17:46:07 +11:00
Peter Stockings
b270c86576 Only display column for exercise if the person has completed a topset with said exercise 2022-11-27 14:06:31 +11:00
Peter Stockings
f264596fcf Add fix for error thrown when fetching /person/id for a person without any workouts 2022-11-27 13:42:59 +11:00
Peter Stockings
cd5f0fcf58 Refactor start_date as date rather then string 2022-11-27 13:22:37 +11:00
Peter Stockings
13135792d8 Update database scheming naming convention 2022-11-20 15:42:58 +11:00
Peter Stockings
e8827afa7f Fix error thrown when calculating stats with a single workout 2022-11-20 00:32:50 +11:00
Peter Stockings
32389738ff Show list of workouts in descending order 2022-11-19 20:36:29 +11:00
Peter Stockings
c5029e8183 Rename validation functions 2022-11-19 16:04:04 +11:00
Peter Stockings
21750f3562 Refactor stats into generic function 2022-11-19 13:32:44 +11:00
Peter Stockings
b4ec0ed81f Display workout stats 2022-10-01 21:45:35 +10:00
Peter Stockings
118a715609 Change date format and order list of users by age of account 2022-09-18 11:45:17 +10:00
Peter Stockings
f22def08a2 Plot estimated 1 rep max progression for each exercise on dashboard 2022-09-17 16:08:06 +10:00
Peter Stockings
9c0e43e7a8 Filter top sets on dashboard by date rather then reps 2022-09-15 23:43:09 +10:00
Peter Stockings
faa7c5789e Display heaviest topsets over time on home page 2022-09-10 13:59:21 +10:00
Peter Stockings
2a8b72a881 Fix spelling of Exercise table/column 2022-07-20 21:27:11 +10:00
Peter Stockings
ee8245bb4c Refactor route validations to decorators 2022-07-20 21:15:50 +10:00