Commit Graph

91 Commits

Author SHA1 Message Date
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]
727077f96d Fix: Ensure BudgetProvider usage
The `useBudget` hook was being called outside of a `BudgetProvider`, leading to an error. This commit ensures that the `useBudget` hook is only called within the `BudgetProvider` context.
2025-03-22 07:27:59 +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]
613f6a49d7 Refactor auth utils for Cloud
Simplify signUpUtils.ts and signInUtils.ts by removing unnecessary code related to CORS proxies, optimizing for Supabase Cloud environment.
2025-03-18 06:15:28 +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]
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]
14c3fac824 Fix toast and sync settings
- Fix issue where toast notifications were not disappearing.
- Ensure sync settings are turned off upon logout.
2025-03-16 10:37:26 +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
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]
f8abebcac6 Clear persistent budget data
Clear persistent budget data to ensure a clean state.
2025-03-15 23:03:44 +00:00
gpt-engineer-app[bot]
2ba8fdc31b Clear persistent data
Clear data that persists and is displayed in monthly graphs for analysis.
2025-03-15 22:59:37 +00:00
gpt-engineer-app[bot]
829b7af80d Reset budget and transaction data
Resets all budget data and transaction history to provide a clean slate.
2025-03-15 22:56:49 +00:00