From d29416e98445d2669271785d19c7015a37d90cbd Mon Sep 17 00:00:00 2001 From: Kahfi Elhady <113518657+zamadye@users.noreply.github.com> Date: Tue, 17 Mar 2026 08:39:38 +0800 Subject: [PATCH] fix: goal-based savings tracking & milestones --- app/src/pages/Budgets.tsx | 67 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 67 insertions(+) diff --git a/app/src/pages/Budgets.tsx b/app/src/pages/Budgets.tsx index ec687baa..1f6dec41 100644 --- a/app/src/pages/Budgets.tsx +++ b/app/src/pages/Budgets.tsx @@ -110,6 +110,73 @@ export function Budgets() {

Budget Management

+

Track your budget categories and savings goals in one place.

+
+ +
+ + + {/* Savings Goals Section */} +
+ {budgetGoals.map((goal) => { + const progress = (goal.current / goal.target) * 100; + return ( + + +
+
+ + {goal.title} +
+ + {goal.status.replace('-', ' ')} + +
+ + Target: {goal.deadline} + +
+ +
+
+
+ ${goal.current.toLocaleString()} +
+
+ of ${goal.target.toLocaleString()} goal +
+
+
+
+ ${goal.monthlyTarget}/mo +
+
+
+ {/* Progress Bar */} +
+
= 100 ? 'bg-success' : 'bg-primary' + }`} + style={{ width: `${Math.min(progress, 100)}%` }} + /> +
+
+ {progress.toFixed(1)}% achieved +
+ + + ); + })} +
+ +
+

Expense Categories

+
agement

Track your spending and stay on top of your financial goals