Commit Graph

17 Commits

Author SHA1 Message Date
Peter Stockings
675ca02818 Add diy replacement for turbo 2026-03-11 22:57:54 +11:00
Peter Stockings
5b43bca7ca Defer loading of profile pic 2026-03-10 19:40:19 +11:00
Peter Stockings
dcef99c3bf perf: massive reduction in application bundle size
- Replaced Alpine.js and Turbolinks with lightweight vanilla JS event listeners
- Swapped HTMX CDN import for a custom 15-line native JS polyfill
- Removed Google Fonts ('Inter') in favor of the native system font stack
- Extracted repeated SVGs in list views into a `<defs>` block to shrink HTML
- Reduced dashboard pagination PAGE_SIZE from 50 to 25
- Minified Tailwind CSS output and enabled Gzip/Brotli via Flask-Compress
2026-03-10 19:10:47 +11:00
Peter Stockings
a0abf41ff6 Load dashboard displays using htmx 2026-03-10 16:25:52 +11:00
Peter Stockings
de66dc5fd8 Improve styling of app 2026-03-09 21:50:53 +11:00
Peter Stockings
049e845d5b Refactor routes.py 2024-12-29 22:51:01 +11:00
Peter Stockings
83c4ff7a7a Make navbar menu work on mobile 2024-12-26 00:25:20 +11:00
Peter Stockings
95dbe23ca8 Add favicon 2024-12-25 11:39:00 +11:00
Peter Stockings
541c328857 Add turbolinks to improve perceived navigation speed and experience 2024-12-25 01:33:45 +11:00
Peter Stockings
806e5105e7 Dont inline profile image, instead add endpoint to serve it 2024-12-25 00:40:16 +11:00
Peter Stockings
786d422864 Switch to using tailwind.css build and subsequently switch to docker file 2024-12-25 00:09:56 +11:00
Peter Stockings
c160f9d214 Update navbar style 2024-12-24 23:04:31 +11:00
Peter Stockings
10ee97794e Add functionality to import/export readings in csv format 2024-12-24 20:32:58 +11:00
Peter Stockings
312da29ffb Add profile image to navbar 2024-12-24 11:21:50 +11:00
Peter Stockings
5f61e1967b Add alpine.js and make flashed messages dismissable 2024-12-24 01:16:59 +11:00
Peter Stockings
7c3499d07a Add prefetch to links 2024-12-24 01:12:27 +11:00
Peter Stockings
11239fd4f5 Get project working locally 2024-12-24 00:57:08 +11:00