Commit Graph
414 Commits
Author SHA1 Message Date
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 304e480e89 Add min/max date filter (really needs refactor) 2022-11-27 00:33:32 +11:00
Peter Stockings ec6bc50d72 Move exercise filter into person endpoint, needs further refactor 2022-11-26 23:11:56 +11:00
Peter Stockings 339781355d Make workout and person pages htmx driven 2022-11-24 21:19:16 +11:00
Peter Stockings 7788fb9216 Make dashboard->person link htmx driven 2022-11-23 22:58:46 +11:00
Peter Stockings 56ceb87867 Fix for filter not working after selecting a single exercise 2022-11-23 22:48:03 +11:00
Peter Stockings 41bfce9513 Make dashboard, person, settings page htmx driven 2022-11-23 22:39:57 +11:00
Peter Stockings 1181937b6d Filter exercises to render (needs refactor) 2022-11-23 21:40:06 +11:00
Peter Stockings ff430dc956 Refactor workout start date component into template partial 2022-11-22 00:28:43 +11:00
Peter Stockings 68be21ab19 Refactorr topset into template partial 2022-11-22 00:18:26 +11:00
Peter Stockings 042d3517b6 Refactor exercise & person into template partials 2022-11-21 23:57:13 +11:00
Peter Stockings 13135792d8 Update database scheming naming convention 2022-11-20 15:42:58 +11:00
Peter Stockings 3dcc61005e Convert edit/add/remove people form in settings to htmx driven and trigger event to refresh list of people and workout count on insert/update/remove person 2022-11-20 14:14:04 +11:00
Peter Stockings 93fc2fcfb8 Add missing cursor pointer styles 2022-11-20 13:02:07 +11:00
Peter Stockings ba601c8085 Add cursor pointer styling to buttons 2022-11-20 12:55:20 +11:00
Peter Stockings b1be914b75 Fix error where updating topset details wouldnt persist 2022-11-20 10:23:30 +11:00
Peter Stockings 19e3255ad9 Convert edit topset form to htmx driven 2022-11-20 10:19:59 +11:00
Peter Stockings a0c2eb856a Fix error where your unable to add a topset to a empty workout 2022-11-20 00:39:00 +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 08f45e41de Convert add/delete topset forms to htmx driven 2022-11-20 00:27:22 +11:00
Peter Stockings 87ccd3252f Fix bug where you couldnt re-edit start date 2022-11-19 23:52:55 +11:00
Peter Stockings 3672951091 Convert workout start date form into htmx driven 2022-11-19 23:46:47 +11:00
Peter Stockings 605d84f8bb Convert exercise form into htmx driven 2022-11-19 22:48:24 +11:00
Peter Stockings 44cf4b2c6b Only show estimated one rep max graph if multiple workouts with exercise have been completed 2022-11-19 21:42:37 +11:00
Peter Stockings 39b5cab453 Add htmx/hyperscript to the frontend 2022-11-19 20:36:57 +11:00
Peter Stockings 32389738ff Show list of workouts in descending order 2022-11-19 20:36:29 +11:00
Peter Stockings ab08c19e6a Rename get_topset function 2022-11-19 20:36:03 +11:00
Peter Stockings a1fa9557ea Add support for partial views with jinga-partials and refactor stats as partial view 2022-11-19 16:36:20 +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 bb867d89b0 Improve styling on start date input for workouts 2022-11-17 22:09:41 +11:00
Peter Stockings 65f8ec9658 Add ability to update workout date 2022-11-17 22:03:36 +11:00
Peter Stockings 369b0520ce Fix error thrown when attempting to add workout due to datetime reference error 2022-11-17 20:54:31 +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 7eaf4f812f Remove swagger 2022-09-17 16:42:50 +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 c6be837f72 Update readme 2022-09-17 13:38:41 +10:00
Peter Stockings 3005dd18bd Add ability to dynamically add/remove users & exercises 2022-09-17 13:15:29 +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 c4ee668d64 Add static forms on settings page to add new users/exercises 2022-09-15 23:32:10 +10:00
Peter Stockings d6ce0b061f Add jupyter notebook for testing query and formatting 2022-09-10 20:44:22 +10:00
Peter Stockings 1e445f5e9e Cleanup remaining sqlite references 2022-09-10 20:41:26 +10:00
Peter Stockings 6fb6e21126 Switch to using Postgres database instead of sqlite 2022-09-10 18:30:14 +10:00
Peter Stockings 0585865d4f Configure for dokku deployment 2022-09-10 15:09:17 +10:00
Peter Stockings faa7c5789e Display heaviest topsets over time on home page 2022-09-10 13:59:21 +10:00
Peter Stockings c16922be36 Migrate data and improve ui 2022-07-23 18:59:21 +10:00
Peter Stockings 2a8b72a881 Fix spelling of Exercise table/column 2022-07-20 21:27:11 +10:00