Commit Graph
47 Commits
Author SHA1 Message Date
Peter Stockings 0f55d42f22 * Add SQL query executor
* Move mermaid.min.js to static asset
* Create templates for sql logic
2024-11-06 23:25:25 +11:00
Peter Stockings 3a07b9d97f WIP: Render database schema using Mermaid.js
Still need to:
* Move mermaid.js to static files
* Make template for mermaid wrapper
* Create new page for SQL viewer then add explorer
2024-11-06 22:48:51 +11:00
Peter Stockings 0e5de89e81 Change sidebar link behaviour so it doesnt scroll to top of screen until content has loaded and add in loading spinner for person list in sidebar 2024-04-11 17:57:24 +10:00
Peter Stockings 497a96be60 Instead of retreiving list of users and workouts card on initial load which involves a second db call, use htmx onload callback 2024-04-11 17:43:16 +10:00
Peter Stockings 63d997a3f1 Refactor calendar (month and year view), switching to vertical slice arch. Also in progress of refactoring of stats so they are retreived after inital page load for performance sake 2024-04-11 13:45:38 +10:00
Peter Stockings e3de9f886b Display liner formula for E1RM over time, and weekly/monthly progress in weight (this part doesnt work well, will probably remove) 2024-03-09 17:15:08 +11:00
Peter Stockings 69e502ca01 Completely remove dependency on plotly, undecided as to whether I should refactor dashboard/people views so they render graphs statically rather then using htmx to fetch on load, probably a smarter move but too lazy atm 2023-12-09 14:54:44 +11:00
Peter Stockings 2400cd02b9 Remove extra spacing between top bar and aside/body 2023-12-08 22:32:48 +11:00
Peter Stockings 9dab060d23 More responsive changes, probably should have split this up 2023-12-08 22:28:17 +11:00
Peter Stockings 196ce83838 Reduce padding on container for mobile view 2023-12-08 20:02:35 +11:00
Peter Stockings 7e1e36e091 Again improve container width, may need to limit max width 2023-12-08 19:58:24 +11:00
Peter Stockings b2c2a18e33 Try to fix issue where when opening sidebar on mobile, main content gets squished (I beleive this was introduced when I switched from tailwind elements, unsure how tho) 2023-12-08 18:13:30 +11:00
Peter Stockings 304ddcb30d Remove dependency on tailwind elements and switch to using tail.select (Smaller lib, that resolves duplication of selects on back/forward) 2023-12-08 09:26:38 +11:00
Peter Stockings c6c9925da0 Attempt to improve initial page load by adding defer attribute to scripts, will attempt to add defer to inline scripts as well soon 2023-08-15 22:31:08 +10:00
Peter Stockings d3df532570 Revert "Add left to right slide in transition on main content rerender (#container)"
This reverts commit ae460815d7.
2023-08-15 15:34:29 +10:00
Peter Stockings ae460815d7 Add left to right slide in transition on main content rerender (#container) 2023-08-14 22:57:47 +10:00
Peter Stockings 95b89ef9e8 Use hyperscript for rendering notifications 2023-07-26 14:23:57 +10:00
Peter Stockings 8c7fb7a278 When menu link is clicked scroll to top of page 2023-07-26 13:01:15 +10:00
Peter Stockings ba6fa91d7e Close side bar if menu link has been clicked when on mobile 2023-07-25 20:13:14 +10:00
Peter Stockings 8ff4359ace Add ability to toggle sidebar for mobile 2023-07-25 19:43:19 +10:00
Peter Stockings 27ba4d096b Minor refactor for notification function, switch to hyperscript? 2023-07-24 21:44:00 +10:00
Peter Stockings 650a3879a2 Clear form and display temporary notification when adding users/exercises on settings page 2023-07-24 09:45:33 +10:00
Peter Stockings b228ef8169 Move htmx, hyperscript, & sweetalert js libs to bottom of page to stop blocking of render 2023-04-13 22:04:06 +10:00
Peter Stockings 28a54a634b Switch to using plotly-basic to reduce page size to 2.3mb 2023-04-13 21:49:55 +10:00
Peter Stockings 06a7fbfb4b Move all js/css dependencies local to fix further issues(Need to figure a way to remove dependencies all together due to size 5mb page load currently) 2023-04-13 21:44:53 +10:00
Peter Stockings 5aca58fc7f Update tailwind elements js path as well 2023-04-13 21:00:43 +10:00
Peter Stockings f3727ff91e Update url to tailwind elements cdn (need to serve dependencies) 2023-04-11 20:47:36 +10:00
Peter Stockings e8bcc58989 Remove logic connected to highlighting active tab for people 2023-04-08 16:00:34 +10:00
Peter Stockings a1f2210ee3 Remove footer 2023-03-28 20:30:24 +11:00
Peter Stockings fbeb840c6e Save filters for workout list view 2023-03-21 22:29:12 +11:00
Peter Stockings d286d97470 Add tailwind elements for multiple select 2023-03-20 21:31:07 +11:00
Peter Stockings 82f7e83056 Fix error on refresh where footer elements fused with action button 2023-03-14 22:30:43 +11:00
Peter Stockings c030ff4448 Fix js error thrown when switching between dashboard and another page 2022-12-04 22:08:05 +11:00
Peter Stockings 41bfce9513 Make dashboard, person, settings page htmx driven 2022-11-23 22:39:57 +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 605d84f8bb Convert exercise form into htmx driven 2022-11-19 22:48:24 +11:00
Peter Stockings 39b5cab453 Add htmx/hyperscript to the frontend 2022-11-19 20:36:57 +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 c4ee668d64 Add static forms on settings page to add new users/exercises 2022-09-15 23:32:10 +10:00
Peter Stockings ee8245bb4c Refactor route validations to decorators 2022-07-20 21:15:50 +10:00
Peter Stockings 6e1f164ba9 Add api documentation with flasger 2022-07-19 22:04:46 +10:00
Peter Stockings 07f19b38c6 Add basic workout tracking functionality, create/edit/delete workouts and there topsets 2022-07-18 21:30:12 +10:00
Peter Stockings 0356f6c817 Add page/route to create new workout for person 2022-07-16 15:50:06 +10:00
Peter Stockings 452f846218 Add template for dashboard with styling 2022-07-16 13:43:39 +10:00