3f3725d277
Improve look of SQL explorer page, and improve validation of exercise selection in workouts
master
Peter Stockings
2026-02-04 12:37:05 +11:00
09d90b5a1e
Round person graph models to one decimal place to reduce svg size
Peter Stockings
2026-02-04 09:54:03 +11:00
3fabde145d
Preload csss & js, add skeleton graphs for loading
Peter Stockings
2026-02-04 09:53:35 +11:00
71a5ae590e
Add brotli complression, cache graph requests for 5mins and add pagination for person overview
Peter Stockings
2026-02-04 09:28:18 +11:00
b4121eada7
Add database connection pooling
Peter Stockings
2026-02-04 00:03:03 +11:00
a6a71f3139
Only load graphs when they come into view
Peter Stockings
2026-02-03 23:52:59 +11:00
9998616946
Add defer to hyperscript
Peter Stockings
2026-02-03 23:52:21 +11:00
c20f2e2f85
Added safety checks to the graph regression logic in utils.py. This stops those "illegal value" server warnings and makes the math more efficient for small datasets
Peter Stockings
2026-02-03 23:51:52 +11:00
ec8d7f6825
Add asset caching
Peter Stockings
2026-02-03 23:36:58 +11:00
2e79ad1b8b
Remove more unused js and css
Peter Stockings
2026-02-03 23:36:30 +11:00
d223bdeebc
Add compression
Peter Stockings
2026-02-03 23:25:13 +11:00
9a2ce6754a
Remove unused js libs
Peter Stockings
2026-02-03 23:24:49 +11:00
afc5749c82
Reduce size of logo
Peter Stockings
2026-02-03 23:08:45 +11:00
2d1509a0cd
Remove dependencies on external fonts
Peter Stockings
2026-02-03 23:03:29 +11:00
83c3cd83a6
Remove SweetAlert 2 library
Peter Stockings
2026-02-03 22:55:12 +11:00
db8d39d1eb
Fix issue where adding a set would result in two 'Topset added' notification
Peter Stockings
2026-02-03 22:51:19 +11:00
437271bc8c
Fix for mobile monthly calendar view so clicking redirects to workout view
Peter Stockings
2026-02-03 15:21:36 +11:00
ac093ec2e0
Update programs functionality
Peter Stockings
2026-02-03 15:10:59 +11:00
b26ae1e319
Adjust monthly calendar view sets font size
Peter Stockings
2026-02-02 22:47:25 +11:00
f53bf3d106
Improve monthly calendar view
Peter Stockings
2026-02-02 21:45:22 +11:00
2b330e4743
Add acheivement badges to monthly calendar view
Peter Stockings
2026-02-02 20:54:28 +11:00
bc2a350e90
Show monthly stats in calendar view
Peter Stockings
2026-02-01 10:55:28 +11:00
a59cef5c95
Add missing entries to changelog
Peter Stockings
2026-01-31 15:06:23 +11:00
d7c9f71d22
Add activity logs table
Peter Stockings
2026-01-31 14:47:59 +11:00
62080b97a4
Ensure only admins can delete users/exercises and users can only edit there own name
Peter Stockings
2026-01-31 14:19:16 +11:00
32719cc141
Add is_admin property to person table
Peter Stockings
2026-01-31 14:08:47 +11:00
32b7527576
Change settings page use tabs
Peter Stockings
2026-01-31 13:58:22 +11:00
9e20976591
Add 'Machine vs Free Weight' & 'Compound vs Isolation' breakdowns for workouts
Peter Stockings
2026-01-31 13:11:21 +11:00
8b276804b9
Add popover for details on muscle distribution in a workout
Peter Stockings
2026-01-31 00:19:02 +11:00
5d2f3986bd
Switch muscle distribution to a line chart
Peter Stockings
2026-01-30 23:57:44 +11:00
d03581bff4
feat: assign tags to exercises and show muscle distribution of workout
Peter Stockings
2026-01-30 23:53:04 +11:00
78f4a53c49
Fix error when attempting to update set due to missing exercise id param in template
Peter Stockings
2026-01-30 22:54:50 +11:00
e156dd30cc
Add badges to sets showing stats ie weight/rep increase or how many weeks stalled
Peter Stockings
2026-01-30 22:42:06 +11:00
eada1a829b
Log LLM usage
Peter Stockings
2026-01-30 19:45:31 +11:00
1c500328d1
Fix AI SQL query generation
Peter Stockings
2026-01-30 19:37:40 +11:00
14d29724f1
Log SQL executions made via UI
Peter Stockings
2026-01-30 19:17:25 +11:00
4dcf589b63
Log login attempts
Peter Stockings
2026-01-30 19:07:09 +11:00
b6443bc1e2
Make background of ERD transparent
Peter Stockings
2026-01-30 18:47:26 +11:00
ec12072a33
Improve layout of ERD
Peter Stockings
2026-01-29 19:30:11 +11:00
d72bb1f30f
Make SQL queries require auth
Peter Stockings
2026-01-29 19:17:35 +11:00
722ff4d8e5
Show navbar title even on mobile
Peter Stockings
2026-01-29 19:01:11 +11:00
cb08992e19
Make navbar more responsive on mobile
Peter Stockings
2026-01-29 18:56:41 +11:00
036d852aab
Add authentication for update/delete endpoints
Peter Stockings
2026-01-29 18:41:24 +11:00
e7520035c7
Add script to update password for a user
Peter Stockings
2026-01-29 18:40:49 +11:00
144e555abb
Update logo
Peter Stockings
2026-01-29 17:17:42 +11:00
26dda12fff
Make login/signup links responsive on mobile
Peter Stockings
2026-01-29 15:54:09 +11:00
2dc2b62d7b
Improve performance of calendar view
Peter Stockings
2026-01-29 15:21:58 +11:00
c14b43f9ab
Revert back to using npx in build step due to dokku build pack using node (Should update this)
Peter Stockings
2026-01-29 13:26:10 +11:00
6fb9ba126f
Generate ERD diagram from schema at build time rather then dynamically to reduce dependency on mermaid js library in the frontend
Peter Stockings
2026-01-29 13:20:45 +11:00
509d11443d
Remove dependency on tail select component and instead role my own to minmise bundle size
Peter Stockings
2026-01-29 12:49:12 +11:00
04fe00412a
Add tailwind build step
Peter Stockings
2026-01-29 09:30:51 +11:00
71315eb719
Speed up people_graphs
Peter Stockings
2026-01-29 00:41:08 +11:00
436eb16c32
Remove plotly in attempt to fix build error
Peter Stockings
2026-01-29 00:23:20 +11:00
a94271c790
Remove license from readme
Peter Stockings
2026-01-29 00:10:55 +11:00
c607f672c9
Update readme
Peter Stockings
2026-01-29 00:08:40 +11:00
3a0d4531b6
Switch to using polars
Peter Stockings
2026-01-29 00:05:25 +11:00
dd82f461be
feat: Add workout program management
Peter Stockings
2025-04-24 20:17:30 +10:00
e7d125d57b
Move workout tag logic into tags blueprint
Peter Stockings
2025-04-21 20:13:30 +10:00
c88d28b47c
Fix issue with newly added workout tags not being rendered
Peter Stockings
2025-04-20 17:05:32 +10:00
7aa7f9b8dc
Partial refactor of tags functionality
Peter Stockings
2025-04-19 21:10:34 +10:00
e947feb3e3
refactor(sql_explorer): Replace Plotly with SVG rendering for plots
Peter Stockings
2025-04-15 19:34:26 +10:00
51ec18c461
feat: Add dismissible exercise progress graph to workout page
Peter Stockings
2025-04-13 19:20:53 +10:00
3da0dc3b3d
Fix for regression where selecting exercise for a new set on an exercise that hasnt had an set recorded wouldnt diplay the name
Peter Stockings
2025-04-13 18:04:11 +10:00
2d67badd32
Remove comments from generated SQL queries
Peter Stockings
2025-04-05 21:51:56 +11:00
64dda01af6
Add on requests==2.26.0 to requirements.txt
Peter Stockings
2025-04-05 21:38:17 +11:00
ead73e8190
Add instructions on how to set Gemni model
Peter Stockings
2025-04-05 21:29:41 +11:00
bd8a3fcdb2
refactor: Use REST API for Gemini SQL generation
Peter Stockings
2025-04-05 21:17:56 +11:00
b875b49eca
feat: Refactor endpoint listing into blueprint
Peter Stockings
2025-03-31 23:15:24 +11:00
a8fe28339b
I have refactored the SQL Explorer functionality into its own blueprint (routes/sql_explorer.py) with a /sql URL prefix. This involved moving the relevant routes from app.py, registering the new blueprint, removing the old routes, updating url_for calls in the templates, and documenting the change in the changelog.
Peter Stockings
2025-03-31 23:00:54 +11:00
eaeb4ab2c8
feat: Refactor workout functionality into blueprint
Peter Stockings
2025-03-31 22:38:48 +11:00
78436b230b
feat: Refactor notes functionality into blueprint
Peter Stockings
2025-03-31 22:08:47 +11:00
6095e76f10
Here is a conventional commit message summarizing the refactoring work:
Peter Stockings
2025-03-30 22:20:48 +11:00
4a822ea2ba
Update python buildpack version to reflect archived state
Peter Stockings
2025-03-30 22:02:09 +11:00
39e91f2655
Add support to set degree of line of best fit for exercise progress graphs in custom view
Peter Stockings
2025-02-06 23:43:10 +11:00
116de33df3
Update load_user function
Peter Stockings
2025-02-02 17:45:54 +11:00
b0296be9a0
On SQL explorer page add a button to copy the create tables database schema
Peter Stockings
2025-02-01 23:50:09 +11:00
5be7438afc
Add in auth however there are no restrictions currently
Peter Stockings
2025-02-01 22:42:58 +11:00
fb0e1519e4
Include Plotly js lib
Peter Stockings
2025-02-01 21:26:52 +11:00
c1c4c4a960
Speed up sql plot generation
Peter Stockings
2025-02-01 21:06:21 +11:00
5fe003bcbf
Add loading icons to sql plot and add clear button to results container
Peter Stockings
2025-02-01 21:06:01 +11:00
8b02307397
Add plot functionality to unsaved sql query and use htmx
Peter Stockings
2025-02-01 20:26:54 +11:00
55149c5ea9
Switch stats from camel case to snake case
Peter Stockings
2025-02-01 19:48:56 +11:00
677d44320c
Fix for workout view showing sets out of order
Peter Stockings
2025-02-01 19:38:08 +11:00
07c2111b55
Remove unused functions from app.py
Peter Stockings
2025-01-27 14:54:31 +11:00
f70438e4e4
Refactor dashboard
Peter Stockings
2025-01-27 14:46:20 +11:00
a7592a29f6
Remove space in person id query param for tags
Peter Stockings
2025-01-27 13:14:55 +11:00
d2c03cb81b
Move person graphs down below title
Peter Stockings
2025-01-27 13:13:59 +11:00
2a5afe51b4
Add All tag to dashboard as well
Peter Stockings
2025-01-27 02:00:37 +11:00
1e625ba7a8
When on overview page add a static tag that selects everything, will have to refactor tags functionality soon
Peter Stockings
2025-01-27 01:57:36 +11:00
6319e488e1
Update page url after visiting page overview
Peter Stockings
2025-01-27 01:56:42 +11:00
2a614ae1c0
Fix view selector all->overview and make overview selected on overview page
Peter Stockings
2025-01-27 01:26:30 +11:00
6b741e50d0
Swtich from person list to new overview page
Peter Stockings
2025-01-27 01:17:23 +11:00
0ed0c20e93
Add person graphs endpoint for workouts per week & PRs per week, consumed via dashboard, person overview and notes
Peter Stockings
2025-01-27 01:00:50 +11:00
049af675cc
Remove unused duplicated stats logic for dashboard
Peter Stockings
2025-01-27 00:18:02 +11:00
5ed737ee94
Refactor stats endpoint so supports filtering people and make dashboard page utilise it
Peter Stockings
2025-01-27 00:07:27 +11:00
527395d704
Make stats refresh, and add filter support to stats endpoint
Peter Stockings
2025-01-26 23:01:39 +11:00
23de6ef1f7
Render stats to block in overview
Peter Stockings
2025-01-26 22:19:34 +11:00
17c010ff7f
Include total duration in new overview stats
Peter Stockings
2025-01-26 21:17:02 +11:00