Commit Graph
70 Commits
Author SHA1 Message Date
Peter Stockings 5b43bca7ca Defer loading of profile pic 2026-03-10 19:40:19 +11:00
Peter Stockings 808143f92b Improve badge performance 2026-03-10 19:23:56 +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 4f1add9154 Add ability to move forward/back on week/month view and improve UI 2026-03-09 22:13:56 +11:00
Peter Stockings 31203cd551 Improve the look of cards in list view 2026-03-09 21:59:35 +11:00
Peter Stockings de66dc5fd8 Improve styling of app 2026-03-09 21:50:53 +11:00
Peter Stockings ab23bf6a9e Make sessions permanent 2026-03-09 21:34:26 +11:00
Peter Stockings 7b36a6795d Add indexes and pagination to improve app performance 2026-03-09 21:29:16 +11:00
Peter Stockings acad2def92 Attempt to resolve filter omitting recent entries 2025-01-06 23:14:21 +11:00
Peter Stockings b51f204d8d Update references to login/signup templates 2025-01-02 22:43:07 +11:00
Peter Stockings cfc61ca43b Fix error with date in dashboard template 2024-12-31 00:15:48 +11:00
Peter Stockings 164b23e913 Add tests 2024-12-31 00:08:08 +11:00
Peter Stockings d3eba9ba5b Refactor reading logic 2024-12-30 23:30:22 +11:00
Peter Stockings 68c8059466 Fixc weekly graph 2024-12-30 23:29:30 +11:00
Peter Stockings ea0ad126ab Clean up main route 2024-12-29 23:21:16 +11:00
Peter Stockings 6291c37820 Move nested functions 2024-12-29 22:59:08 +11:00
Peter Stockings 91b3ef0e7e Restructure tempates directory 2024-12-29 22:54:43 +11:00
Peter Stockings 049e845d5b Refactor routes.py 2024-12-29 22:51:01 +11:00
Peter Stockings 1cd0b15201 Show current local time default when adding new reading 2024-12-29 11:31:12 +11:00
Peter Stockings 07ae62c633 Improve month calendar 2024-12-29 01:02:11 +11:00
Peter Stockings ff66583b7b Ensure the local timestamp is naive before localizing 2024-12-28 23:41:06 +11:00
Peter Stockings 233eba4fda Make back button on edit reading page always go to dashboard 2024-12-28 01:11:53 +11:00
Peter Stockings 2caddf52fe Add support for setting user timezone 2024-12-28 01:11:11 +11:00
Peter Stockings 32f810a8b3 Remove empty line to trigger rebuild to test if it automatically picks up updated VM timezone (UTC - SYD) 2024-12-27 15:53:56 +11:00
Peter Stockings 22535c66b7 Fix for graph view not highlighted when selected and change list card item icon arrow to 3 dots 2024-12-26 21:39:36 +11:00
Peter Stockings 64c1400465 Include graphs into tabbed section 2024-12-26 17:55:43 +11:00
Peter Stockings 7e58114cc4 Add back button to each page 2024-12-26 17:46:45 +11:00
Peter Stockings 2a0d997927 Lighten shade of gray on font of date on weekly/monthly view 2024-12-26 17:23:29 +11:00
Peter Stockings 492e2cf19d Make weekly/monthly view more responsive 2024-12-26 17:20:06 +11:00
Peter Stockings 0fa3535c96 Add week and month view 2024-12-26 17:09:52 +11:00
Peter Stockings 9614567e22 Remove background of readings list on dashboard 2024-12-26 16:37:34 +11:00
Peter Stockings 9ed9aee471 Add more badges 2024-12-26 16:25:48 +11:00
Peter Stockings cec37fe1f7 Add progress badge denoting current streak length, and refactor dashboard route 2024-12-26 16:15:36 +11:00
Peter Stockings 97a8e54e11 Change readings table to list of cards, also update edit reading page to include link to delete reading 2024-12-26 16:06:55 +11:00
Peter Stockings 26cf035b22 Fix edit icon 2024-12-26 15:00:55 +11:00
Peter Stockings 094365e7ad Remove postgres url from production config 2024-12-26 01:37:38 +11:00
Peter Stockings ef2529d56e Use production config, and resolve issue with postgres url format (Unsure why this only surfaced after recreation of app) 2024-12-26 01:33:14 +11:00
Peter Stockings 4a1655dd44 Update readme to include dev machine setup and explaination on deployment issue (Recreating app) 2024-12-26 00:57:56 +11:00
Peter Stockings 923d996fe4 Prefill dashboard filter start/end date with first and last readings date 2024-12-26 00:36:45 +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 7441d59c6a Update instructions for post deployment fix for cert/domain issue (Unsure of root cause) 2024-12-25 11:38:47 +11:00
Peter Stockings 635f7f271e Redirect from landing to dashboard if authenticated 2024-12-25 11:32:25 +11:00
Peter Stockings 191ac840c9 Add landing page 2024-12-25 11:27:25 +11:00
Peter Stockings 541c328857 Add turbolinks to improve perceived navigation speed and experience 2024-12-25 01:33:45 +11:00
Peter Stockings 23e3fe50a5 Add cancel buton to add reading page and remove tailwindcss@3.2.4.js 2024-12-25 01:02:49 +11:00
Peter Stockings 6b9ca59109 Set node_env to production in Dockerfile 2024-12-25 00:59:12 +11:00
Peter Stockings 1ec0e41c3a Add gunicorn back to requirements.txt 2024-12-25 00:46:55 +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 16e31963cc Compress profile image before saving 2024-12-25 00:27:09 +11:00
Peter Stockings cf81057c29 Remove .buildpacks & runtime.txt due to swtiching to dockerfile 2024-12-25 00:12:01 +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 2abd140dd8 Add health check endpoint 2024-12-24 23:42:29 +11:00
Peter Stockings f3c778048f Add page to confirm deletion and add cancel button on edit page 2024-12-24 23:24:15 +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 cd8f9453c5 When filtering readings on dashboard show selected start/end date and show filter accordion by default 2024-12-24 20:22:52 +11:00
Peter Stockings 7d18320575 Combine dashboard filter route into dashboard route 2024-12-24 20:15:21 +11:00
Peter Stockings 7626ec4c94 Add graphs on dashboard 2024-12-24 13:31:01 +11:00
Peter Stockings 03510190ea Improve look of dashboard 2024-12-24 11:22:04 +11:00
Peter Stockings 312da29ffb Add profile image to navbar 2024-12-24 11:21:50 +11:00
Peter Stockings 5fdda885e5 Add launch.json for debugging from vscode 2024-12-24 11:21:26 +11:00
Peter Stockings 9b137f21fa Show most recent readings first 2024-12-24 11:21:05 +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 4df28eaf2f Add gunicorn==20.1.0 to requirements.txt 2024-12-24 01:03:50 +11:00
Peter Stockings 18cc0d4b7c Add Procfile 2024-12-24 01:00:30 +11:00
Peter Stockings 11239fd4f5 Get project working locally 2024-12-24 00:57:08 +11:00
Peter Stockings d4fc1868ab Add dokku/python config for flask app 2024-12-23 23:37:39 +11:00