80 Commits

Author SHA1 Message Date
Peter Stockings
25d1774e53 perf: remove redundant COUNT query and use bulk insert for CSV imports 2026-03-15 00:24:26 +11:00
Peter Stockings
25aa7de043 Add minification of html, css, & js and brotli compression to reduce page size 2026-03-14 23:58:37 +11:00
Peter Stockings
f7ce1c3fd6 Shrink profile pic 2026-03-13 22:42:30 +11:00
Peter Stockings
e2d85f0a88 Make table view responsive 2026-03-13 15:28:06 +11:00
Peter Stockings
910d583966 Make date filters responsive 2026-03-13 15:20:58 +11:00
Peter Stockings
eca31040af Update DIY HTMX to trigger on input update 2026-03-13 15:18:09 +11:00
Peter Stockings
086784b2a2 Add table view 2026-03-13 15:14:00 +11:00
Peter Stockings
a9802f300b Move date filter to graph view 2026-03-13 15:11:11 +11:00
Peter Stockings
6f216944bf Improve look of graphs 2026-03-12 22:56:26 +11:00
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
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