Commit Graph

17 Commits

Author SHA1 Message Date
gpt-engineer-app[bot]
3911040b00 Fix TS2614 and TS1205 errors
Corrected import/export of Transaction type and fixed isolatedModules error.
2025-03-22 07:23:09 +00:00
gpt-engineer-app[bot]
b00e27c1f0 Fix TypeScript errors
- Fix TS2353: Object literal may only specify known properties, and 'paymentMethod' does not exist in type 'Transaction'.
- Fix TS1205: Re-exporting a type when 'isolatedModules' is enabled requires using 'export type'.
- Fix TS2741: Property 'getPaymentMethodStats' is missing in type '{ transactions: Transaction[]; budgetData: BudgetData; categoryBudgets: Record<string, number>; selectedTab: BudgetPeriod; setSelectedTab: React.Dispatch<...>; ... 5 more ...; resetBudgetData: () => void; }' but required in type 'BudgetContextType'.
2025-03-22 07:16:33 +00:00
gpt-engineer-app[bot]
7f30d08466 Fix budget calculation error
Fixes an issue where entering a monthly budget resulted in incorrect daily, weekly, and monthly budget calculations, leading to incorrect display on the spending and analytics screens.
2025-03-18 02:31:08 +00:00
gpt-engineer-app[bot]
a6ca34e049 Fix budget display issue
The budget amount was displaying incorrectly, showing three times the actual value. This commit fixes the issue.
2025-03-18 01:10:20 +00:00
gpt-engineer-app[bot]
146cb92bc5 Investigate budget data issues
Investigate why budget and expense cards are not displaying correctly and why budget is showing as 0 on other pages.
2025-03-18 01:06:29 +00:00
gpt-engineer-app[bot]
84553d4fee Refactor: Split useBudgetState hook
The useBudgetState hook was split into smaller, more manageable files to improve code organization and maintainability.
2025-03-16 07:24:33 +00:00
gpt-engineer-app[bot]
d59fb97f7c Fix budget update issues
Addresses delayed notifications and data loss after budget updates and page transitions.
2025-03-16 07:05:20 +00:00
gpt-engineer-app[bot]
61b00cfdcb Fix: No changes were made
The AI system did not make any changes to the codebase.
2025-03-16 06:57:52 +00:00
gpt-engineer-app[bot]
f3edf5fa20 Fix data display issues
Addresses issues where budget and expense data were not displaying correctly on the summary cards, category bar graph, and transaction/analytics pages. Also fixes a bug where data was disappearing after input.
2025-03-16 06:46:45 +00:00
gpt-engineer-app[bot]
16c17f0257 Fix data persistence issue
Addresses a bug where budget and expense data were not persisting correctly, leading to data loss when navigating between pages.
2025-03-16 06:41:57 +00:00
gpt-engineer-app[bot]
c23f5cddef Refactor useBudgetState hook
Refactor the useBudgetState hook into smaller, more manageable files for better organization and maintainability.
2025-03-16 06:37:13 +00:00
gpt-engineer-app[bot]
8027a543ac Refactor budget storage utils
Splits the budget storage utils file into smaller, more manageable files for better organization and maintainability.
2025-03-16 06:36:05 +00:00
gpt-engineer-app[bot]
650bbf2f6f Refactor useBudgetState into smaller files
Refactors the `useBudgetState.ts` file into smaller, more manageable files to improve code organization and maintainability. No functionality is changed.
2025-03-16 05:49:41 +00:00
gpt-engineer-app[bot]
0824b812cb Fix data persistence issue
Addresses a problem where budget and expense data was not being saved correctly.
2025-03-16 05:34:18 +00:00
gpt-engineer-app[bot]
d798632d05 Fix data initialization issue
The data initialization logic was not properly clearing existing data, leading to incorrect budget values. This commit ensures that all relevant data is cleared upon initialization.
2025-03-15 23:08:06 +00:00
gpt-engineer-app[bot]
6553a3afc9 Reset budget and transactions
Resets budget data and transaction history as if the user is logging in for the first time.
2025-03-15 22:50:28 +00:00
gpt-engineer-app[bot]
8c403f9761 Refactor BudgetContext file
Refactor BudgetContext.tsx into smaller components and hooks to improve code readability and maintainability.
2025-03-15 11:08:35 +00:00