Commit Graph

59 Commits

Author SHA1 Message Date
gpt-engineer-app[bot]
8aabb2fa9c Refactor budgetUtils.ts
Refactor budgetUtils.ts to improve code organization and maintainability by splitting the logic into multiple files. The functionality remains the same.
2025-03-22 10:59:57 +00:00
gpt-engineer-app[bot]
ab86d9b5f9 Investigate budget display issue
Examine why budget data is not displaying correctly on the expense and analytics screens, despite being saved successfully.
2025-03-22 10:53:56 +00:00
gpt-engineer-app[bot]
c92d41e8f0 Address unresolved issues
This commit addresses previously reported issues that remain unresolved. Further investigation is required.
2025-03-22 08:26:29 +00:00
gpt-engineer-app[bot]
7b29f31c7b Revert previous changes
Reverting the previous commit due to unresolved issues.
2025-03-22 08:21:57 +00:00
gpt-engineer-app[bot]
ae2a28efbb Fix budget display issues
Addresses issues where budget data wasn't displaying correctly after input and ensures correct automatic calculation of daily/weekly budgets from monthly input.
2025-03-22 08:08:58 +00:00
gpt-engineer-app[bot]
d4afc2eedb Fix data initialization issues
Addresses problems with budget display and data reset:
- Ensures budget data is correctly displayed after initialization.
- Fixes issue where daily and weekly budget data were missing.
- Corrects data reset to properly clear transaction data.
2025-03-22 07:58:53 +00:00
gpt-engineer-app[bot]
55c2ece3ce Fix budget input and calculation
The budget input was not being saved correctly, and the daily/weekly calculations were not working as expected. This commit fixes these issues.
2025-03-22 07:53:37 +00:00
gpt-engineer-app[bot]
f39733bfcd Fix budget display issue
The budget display in the budget card was not showing correctly when the budget was not set. This commit fixes the issue.
2025-03-22 07:48:57 +00:00
gpt-engineer-app[bot]
9e5406afff Show unset daily/weekly budget
The daily and weekly budget values now display "설정되지 않음" when they are not set.
2025-03-22 07:45:24 +00:00
gpt-engineer-app[bot]
0d716d79d2 Fix budget calculation and storage
Correct budget calculation and storage issues for 교통 and 기타 categories, and ensure daily/weekly budgets are displayed correctly.
2025-03-22 07:42:46 +00:00
gpt-engineer-app[bot]
b79c6b2314 Fix budget input and display
- Fix issue where budget input for transportation and other categories were not saved correctly.
- Fix issue where total budget amount was calculated incorrectly.
- Fix issue where daily and weekly budgets were not displayed correctly.
2025-03-22 07:35:55 +00:00
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]
56842becca Fix import error in BudgetContext
The BudgetContext.tsx file was throwing an error because it was trying to import `BudgetPeriod` from the wrong location. Changed the import path to correctly reference the `BudgetPeriod` type.
2025-03-22 07:18:07 +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]
2eff95908e Fix: Ensure BudgetProvider usage
The `useBudget` hook was being called outside of the `BudgetProvider` context in the `Index` component. This commit ensures that the `Index` component and its children are wrapped with the `BudgetProvider` in `App.tsx` to resolve the error.
2025-03-22 07:14:12 +00:00
gpt-engineer-app[bot]
81afd624a4 Fix TypeScript errors
Fixes TypeScript errors related to missing properties and incorrect exports.
2025-03-22 07:12:06 +00:00
gpt-engineer-app[bot]
aa8381a823 Add payment method selection
Adds a payment method selection (Credit Card, Cash) to the expense form and includes a line separator. Also requests to add a graph showing the proportion of credit card and cash usage in expense analytics, but this part is not implemented in this commit.
2025-03-22 07:08:02 +00:00
gpt-engineer-app[bot]
60ef765380 Implement personalized data handling
Implement personalized data handling based on the number of recent expense records.
2025-03-22 06:57:50 +00:00
gpt-engineer-app[bot]
8de82b17f0 Add "기타" category
Adds "기타" category to the existing categories.
2025-03-22 06:31:08 +00:00
gpt-engineer-app[bot]
40ddcee1da Fix: Resolve TypeScript errors
The type `Transaction` was missing the `localTimestamp` property, causing TypeScript errors in `downloadTransaction.ts` and `uploadTransaction.ts`. This commit adds the `localTimestamp` property to the `Transaction` interface to resolve these errors.
2025-03-21 11:41:42 +00:00
gpt-engineer-app[bot]
e1c6875024 Improve sync logging
Add more detailed logging for sync functionality to improve issue tracking.
2025-03-21 11:39:44 +00:00
gpt-engineer-app[bot]
d6e6c00ea9 Rename categories
Rename "식비" to "음식" and "생활비" to "쇼핑".
2025-03-21 10:02:05 +00:00
gpt-engineer-app[bot]
e164c45fd2 Fix TS2308 error in index.ts
The module './BudgetContext' already exports a member named 'BudgetContextType'. Explicitly re-export to resolve the ambiguity.
2025-03-19 14:14:45 +00:00
gpt-engineer-app[bot]
92fc5ce34f Fix Typescript and module errors
- Resolve Typescript isolatedModules error by using 'export type' when re-exporting types.
- Fix module ambiguity by explicitly re-exporting 'BudgetContextType'.
- Correct import paths for useAuth hook in transaction-related files.
2025-03-19 14:13:31 +00:00
hansoo
2ec913c6c0 optimize boot sequnse 2025-03-19 07:27:10 +09: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]
42c9355e76 Refactor category budget setting
The category budget setting is now based on the monthly budget amount, which is then divided into daily and weekly budgets.
2025-03-18 02:22:58 +00:00
gpt-engineer-app[bot]
0be5154e02 Improve data reset flow
The settings page was reloading slowly after a data reset. This commit addresses the issue by preventing the unnecessary reload after the reset operation.
2025-03-18 02:07:27 +00:00
gpt-engineer-app[bot]
00727c8ab6 Fix budget calculation issue
The budget was being tripled on the expense and analytics pages. This commit fixes the calculation logic to ensure the budget is displayed correctly.
2025-03-18 02:02:27 +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]
042965461e Fix: Resolve issue with transaction display
Addresses a bug where transactions were not displayed on the transaction history page and expense amounts were showing as zero.
2025-03-17 23:32:02 +00:00
gpt-engineer-app[bot]
a53717c502 Fix issue deleting transactions
Fixes an issue where deleting a transaction on the transaction history screen would cause the application to freeze.
2025-03-17 16:37:34 +00:00
gpt-engineer-app[bot]
662cacbc99 Prevent duplicate toast notifications
The application was displaying duplicate toast notifications due to events being triggered multiple times. This commit prevents duplicate notifications.
2025-03-16 09:38:39 +00:00
gpt-engineer-app[bot]
fe669b0cfd Fix toast and data display issues
- Fixes an issue where toast notifications would not automatically dismiss.
- Addresses a problem where expense data was not displaying correctly on the transaction and analytics screens.
2025-03-16 08:34:58 +00:00
gpt-engineer-app[bot]
1281156f05 Fix budget display issues
The budget was not being displayed correctly in the spending and analytics screens, as well as the weekly and monthly views on the home screen. This commit addresses these issues.
2025-03-16 08:26:17 +00:00
gpt-engineer-app[bot]
79d38f1fc1 Fix budget display and category issues
- Fix budget amount not displaying outside the homepage.
- Remove unexpected categories and revert to the original 3 categories.
2025-03-16 08:17:02 +00:00
gpt-engineer-app[bot]
32a6832b84 Fix data loading issues
Addresses issues where budget data is missing on expense and analytics pages, and where transactions are being automatically created.
2025-03-16 08:10:31 +00:00
gpt-engineer-app[bot]
e439c4582b Fix TS2353 error in useTransactions
The object literals in createSampleTransactions function were specifying the 'notes' property, which does not exist in the Transaction type. This commit removes the 'notes' property from the object literals to resolve the TS2353 error.
2025-03-16 08:05:09 +00:00
gpt-engineer-app[bot]
c5a5a20d36 Refactor data initialization process
Review and adjust the data initialization logic to ensure proper functionality.
2025-03-16 07:52:45 +00:00
gpt-engineer-app[bot]
23ba0f7e90 Fix budget data persistence issue
Addresses the problem where budget data was not persisting across page transitions, causing budget and expense information to disappear from the expense page and only expense data to appear on the analytics page.
2025-03-16 07:29:25 +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]
7c8e542912 Investigate data initialization issue
Investigates and addresses a potential data loss issue where budget data is unexpectedly reset when navigating between pages.
2025-03-16 07:23:16 +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]
bfac404786 Retrigger data initialization
Retrigger data initialization process.
2025-03-16 06:33:40 +00:00