From e72d3ad9e527788214a6844c2ffcd7b20564ed9b Mon Sep 17 00:00:00 2001 From: siddharthd Date: Mon, 9 Mar 2026 23:37:28 +1100 Subject: [PATCH] feat(categories): add home_goods and home_maintenance categories --- README.md | 5 ++++- src/app/budget/page.tsx | 2 ++ src/lib/categories.ts | 2 ++ 3 files changed, 8 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index b0cf8ef..19c9cf7 100644 --- a/README.md +++ b/README.md @@ -185,7 +185,10 @@ Monthly spend targets per category. Stored but currently unused in the UI (repla Fixed set defined in `src/lib/categories.ts`. Applied by Gemini at ingestion and overridable by the user or rules engine: -`groceries` · `dining` · `transport` · `fuel` · `shopping` · `utilities` · `entertainment` · `travel` · `health` · `insurance` · `subscriptions` · `cash_advance` · `government` · `education` · `rent` · `transfers` · `income` · `investment` · `personal_care` · `pets` · `gifts` · `charity` · `other` +`groceries` · `dining` · `transport` · `fuel` · `shopping` · `utilities` · `entertainment` · `travel` · `health` · `insurance` · `subscriptions` · `cash_advance` · `government` · `education` · `rent` · `home_goods` · `home_maintenance` · `transfers` · `income` · `investment` · `personal_care` · `pets` · `gifts` · `charity` · `other` + +- **home_goods** — items purchased for the house (appliances, furniture, kitchenware, electronics) +- **home_maintenance** — services on the property (cleaning, mowing, repairs) **Committed spend** (Insights page): `rent`, `utilities`, `insurance`, `subscriptions` **Excluded from spend analytics**: `transfers`, `investment` diff --git a/src/app/budget/page.tsx b/src/app/budget/page.tsx index 6a7932c..3f56eb3 100644 --- a/src/app/budget/page.tsx +++ b/src/app/budget/page.tsx @@ -89,6 +89,8 @@ const CATEGORY_COLORS: Record = { pets: "#86efac", gifts: "#fcd34d", charity: "#a3e635", + home_goods: "#67e8f9", + home_maintenance: "#a78bfa", other: "#71717a", }; diff --git a/src/lib/categories.ts b/src/lib/categories.ts index 655e6bb..47e05de 100644 --- a/src/lib/categories.ts +++ b/src/lib/categories.ts @@ -14,6 +14,8 @@ export const CATEGORIES = [ "government", "education", "rent", + "home_goods", + "home_maintenance", "transfers", "income", "investment",