Commit graph

46 commits

Author SHA1 Message Date
juancwu
89c5d76e5e
Merge branch 'fix/calculation-accuracy' into main
All checks were successful
Deploy / build-and-deploy (push) Successful in 2m37s
Combines the decimal migration (int cents → decimal.Decimal via
shopspring/decimal) with main's handler refactor (split space.go into
domain handlers, WithTx/Paginate helpers, recurring deposit removal).

- Repository layer: WithTx pattern + decimal column names/types
- Handler layer: decimal arithmetic (.Sub/.Add) instead of int operators
- Models: deprecated amount_cents fields kept for SELECT * compatibility
- INSERT statements: old columns set to literal 0 for NOT NULL constraints

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-14 16:48:40 -04:00
juancwu
c8a1eb5b7a
chore: replace int amount_cents for string storage and decimal pkg 2026-03-14 14:43:39 -04:00
juancwu
45fcecdc04 chore: refactor
All checks were successful
Deploy / build-and-deploy (push) Successful in 3m45s
2026-03-14 16:39:07 +00:00
juancwu
40fe5ffe20 chore: update datepickers to use new API interface for clearable date
All checks were successful
Deploy / build-and-deploy (push) Successful in 2m23s
2026-02-24 15:34:28 +00:00
juancwu
6792cee588 chore: remove old default date setter from expense form 2026-02-24 15:04:31 +00:00
juancwu
b33a9bc670 feat: datepicker clear selected date 2026-02-24 15:03:32 +00:00
juancwu
a17703d30d feat: add transaction from overview page 2026-02-23 19:27:03 +00:00
juancwu
e10186fd7a feat: show account transfer history
All checks were successful
Deploy / build-and-deploy (push) Successful in 2m50s
2026-02-20 16:43:25 +00:00
juancwu
5513bcc603 feat: recurring deposits to accounts 2026-02-20 16:23:01 +00:00
juancwu
ef37360da7 feat: add tag combobox to make tagging expenses easier 2026-02-17 21:13:46 +00:00
juancwu
a7d5f21fe8 feat: replace overview with reports page 2026-02-15 23:00:58 +00:00
juancwu
e5941e1329 fix: some elements are not templui components
All checks were successful
Deploy / build-and-deploy (push) Successful in 2m17s
2026-02-15 05:17:30 +00:00
juancwu
d7cd50d671 fix: improve error messages
All checks were successful
Deploy / build-and-deploy (push) Successful in 2m18s
2026-02-15 02:32:00 +00:00
juancwu
d224f5a10a fix: no proper loading feedback on forms 2026-02-14 23:12:43 +00:00
juancwu
9e6ff67a87 feat: recurring expenses and reports 2026-02-14 17:00:29 +00:00
juancwu
3de76916c9 feat: payment methods
All checks were successful
Deploy / build-and-deploy (push) Successful in 1m1s
2026-02-13 21:55:10 +00:00
juancwu
6bc00a08c7 feat: show allocated amount in expenses 2026-02-13 01:03:38 +00:00
juancwu
d6f6790c4d feat: create accounts to partition money 2026-02-13 00:56:07 +00:00
juancwu
fb1a038821 fix: no default date selected on expense form
All checks were successful
Deploy / build-and-deploy (push) Successful in 1m2s
2026-02-12 00:45:16 +00:00
juancwu
153eaca676 feat: paginate expenses history 2026-02-09 12:40:02 +00:00
juancwu
9044a64b10 Merge branch 'main' into fix/sse 2026-02-08 00:22:58 +00:00
juancwu
a5aca45648 fix: remove sse 2026-02-07 21:04:18 +00:00
juancwu
697b8879dd
Merge branch 'feat/extend-info-display-for-expenses'
# Conflicts:
#	internal/handler/space.go
2026-02-07 15:07:06 -05:00
juancwu
15dc582a77 fix: expense form reset incorrectly after top-up submission 2026-02-07 19:50:09 +00:00
juancwu
99a002c607
feat: extend expense card info and allow edit/delete of expense 2026-02-07 14:46:27 -05:00
juancwu
ccd6eaf9ee feat: redirect to expenses after add from overview 2026-02-07 19:37:05 +00:00
juancwu
800a3298d9 feat: add expense from overview page 2026-02-07 19:35:06 +00:00
juancwu
2efb5612de fix: list items toggle hard to open
the list items toggle did not expand the full width so it was hard to
open on mobile as one would need to always touch on the name
2026-02-07 19:07:54 +00:00
juancwu
64e2e80e80 feat: link shopping list items 2026-02-07 19:03:26 +00:00
juancwu
6c704828ce feat: show shopping list items in cards 2026-02-07 18:27:27 +00:00
juancwu
e8d34fde3f feat: edit shopping list name 2026-02-07 15:20:43 +00:00
juancwu
998d3cb300 fix: use templui checkbox for shopping list item 2026-02-06 22:00:34 +00:00
juancwu
c473c88c33 feat: add terms and privacy pages 2026-01-30 03:21:12 +00:00
juancwu
0da5aadbbe use label component in expense form 2026-01-19 01:56:07 +00:00
juancwu
abdd67ccc9 improve add expense form UI 2026-01-19 01:43:14 +00:00
juancwu
4b330bb9ec fix: close add expense dialog after success 2026-01-19 01:15:40 +00:00
juancwu
91679c3aee fix: balance card wrong oob swap 2026-01-18 23:38:14 +00:00
juancwu
78047c7ee8 update templui components 2026-01-18 22:23:21 +00:00
juancwu
d7cdb19c3e improve tag creation and association when adding expenses 2026-01-15 02:27:00 +00:00
juancwu
dd7f2ebe3e add SSE 2026-01-14 21:51:08 +00:00
juancwu
109821d0a0 format icon_data.go and icon_defs.go 2026-01-14 21:10:50 +00:00
juancwu
f8ddf152e4 add expenses management 2026-01-14 20:40:36 +00:00
juancwu
b7905ddded add shopping list and tag management 2026-01-14 18:19:13 +00:00
juancwu
557dd4cb0c update go module prefix 2025-12-16 10:50:16 -05:00
juancwu
7e288ea67a add middlewares, handlers and database models 2025-12-16 10:46:34 -05:00
juancwu
5dde43e409 init go project 2025-12-10 16:05:30 -05:00