Commit Graph

114 Commits

Author SHA1 Message Date
gpt-engineer-app[bot]
0bc53208b5 Fix budget calculation and display
Ensure daily and weekly budgets are calculated correctly based on the monthly budget, and that the monthly budget is consistent across the app.
2025-03-22 12:02:41 +00:00
gpt-engineer-app[bot]
cbee1f4fb9 Investigate data reset issue
Investigate why data is not fully reset when sync is enabled.
2025-03-22 11:58:13 +00:00
gpt-engineer-app[bot]
0702145431 Fix budget update issue
Addresses an issue where budget updates were not being applied correctly.
2025-03-22 11:20:58 +00:00
gpt-engineer-app[bot]
b81187a4d8 Fix budget calculation error
Corrected an issue where the total monthly budget was incorrectly calculated and displayed as a weekly budget.
2025-03-22 11:16:30 +00:00
gpt-engineer-app[bot]
5f125de8d7 Fix budget total calculation
Ensure budget total calculation aligns with weekly or monthly budget settings.
2025-03-22 11:13:26 +00:00
gpt-engineer-app[bot]
ef239e6126 Fix budget display and button
- Fix the budget display issue where monthly budgets were showing four amounts instead of one.
- Resolve the functionality of the "Edit Budget" button.
2025-03-22 11:08:04 +00:00
gpt-engineer-app[bot]
d5ac14793b Refactor BudgetTabContent component
Splits the BudgetTabContent component into smaller, more manageable components to improve code organization and maintainability. The UI and logic are separated into distinct components while preserving the original functionality.
2025-03-22 10:58:21 +00:00
gpt-engineer-app[bot]
0d1306ef2e Fix module import errors
Corrected import paths for '@/contexts/BudgetContext' in multiple components to resolve module not found errors.
2025-03-22 07:29:34 +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]
a8f29e669f Fix TS2686 error in syncResultHandler
The file `src/hooks/sync/syncResultHandler.ts` was throwing a TS2686 error because it was using `React` without importing it, even though it's a module. This commit adds `import React from 'react';` to resolve the issue.
2025-03-22 06:28:12 +00:00
gpt-engineer-app[bot]
09894589b4 Fix welcome message and sync
- Prevent duplicate welcome messages.
- Remove sync notifications.
- Ensure automatic sync updates last sync time.
2025-03-22 06:26:05 +00:00
gpt-engineer-app[bot]
eb25423b27 Update last sync time
Ensure the last sync time is updated after adding a budget.
2025-03-22 06:18:55 +00:00
gpt-engineer-app[bot]
0d49c4b8ae Implement notification history feature
Adds a notification history view accessible from the header, including a clear button and a notification count badge.
2025-03-22 06:15:41 +00:00
gpt-engineer-app[bot]
befb29611b Fix data loss on sync after reset
Addresses an issue where budget data was lost after a data reset, logout, and subsequent synchronization. The fix ensures budget data is correctly restored in such scenarios.
2025-03-21 12:29:28 +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]
42c9bc4000 Fix TS errors and module issues
- Corrected module exports and imports to resolve TypeScript errors.
- Fixed property access errors in budget synchronization logic.
2025-03-21 11:30:08 +00:00
gpt-engineer-app[bot]
8e6eb9d8aa Review and refine sync logic
This commit reviews and refines the synchronization logic to ensure proper functionality and data integrity.
2025-03-21 11:24:40 +00:00
gpt-engineer-app[bot]
9352b1bb27 Refactor TransactionDeleteAlert component
Refactor TransactionDeleteAlert component to improve maintainability.
2025-03-21 10:06:03 +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]
14b04cb384 Fix: Remove unused import
The `startNetworkMonitoring` import was removed from `src/App.tsx` because it does not exist in the `syncUtils` module.
2025-03-21 08:45:28 +00:00
gpt-engineer-app[bot]
6ec671e9ab Fix TypeScript and Sync Errors
- Resolves TypeScript errors related to missing exports and incorrect argument counts.
- Corrects re-exporting of types to comply with `isolatedModules` setting.
- Addresses issues in sync-related files to ensure proper functionality.
2025-03-21 08:43:47 +00:00
gpt-engineer-app[bot]
2290cf0fc3 Fix TypeScript errors
- Corrected import/export issues related to SyncResult, setSyncEnabled, and clearCloudData in syncUtils.ts.
- Updated function calls to match expected arguments.
2025-03-21 08:41:13 +00:00
hansoo
2d08a7962b 문서 파일 정리 2025-03-21 16:08:43 +09: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]
f8550b637c Fix module import errors
Fixes import errors in deleteTransaction.ts and deleteTransactionCore.ts by correcting the module paths.
2025-03-18 09:01:46 +00:00
gpt-engineer-app[bot]
26f7e396b4 Fix file operation error
The AI attempted to delete or rename a file that does not exist, this commit addresses the error.
2025-03-18 08:59:29 +00:00
gpt-engineer-app[bot]
c4119b7f9d Refactor transaction deletion logic
Compare and align transaction deletion logic between homepage and transactions page to resolve issues on the transactions page.
2025-03-18 08:52:54 +00:00
gpt-engineer-app[bot]
612cd37b1d Implement code changes
The prompt asked to implement code changes.
2025-03-18 07:49:51 +00:00
gpt-engineer-app[bot]
8e609519ac Refactor project for improvements
This commit refactors the project to improve overall code quality, performance, and maintainability. Specific changes may include code cleanup, optimization, and architectural enhancements.
2025-03-18 07:45:06 +00:00
gpt-engineer-app[bot]
854d27574f Improve transaction deletion stability
Addresses potential freezing issues in transaction deletion, especially in production environments. Includes enhanced logging and timeout handling.
2025-03-18 07:21:18 +00:00
hansoo
58355c3936 트랜잭션 삭제 기능 성능 및 안정성 개선
1. UI와 서버 작업 완전 분리하여 응답성 향상
2. AbortController를 이용한 Supabase 타임아웃 처리 구현
3. requestAnimationFrame 및 queueMicrotask 활용한 비동기 최적화
4. 메모리 누수 방지를 위한 pendingDeletion 상태 관리 개선
5. 타입 안전성 향상 (any 타입 제거)

트랜잭션 삭제 시 앱 먹통 현상 해결
2025-03-18 16:14:15 +09:00
gpt-engineer-app[bot]
85d58af016 Fix import error
The `updateTransaction` function was not exported from the `updateTransaction.ts` file. Changed the import statement to use the correct function name `useUpdateTransaction`.
2025-03-18 06:28:01 +00:00
gpt-engineer-app[bot]
964b3b6c91 Further stabilize transaction deletion
Attempt to further stabilize transaction deletion process and address potential UI freezing issues.
2025-03-18 06:26:39 +00:00
gpt-engineer-app[bot]
30730c5cd0 Remove on-premise Supabase code
\
Removes code related to on-premise Supabase connections, ensuring the application uses the cloud version.
2025-03-18 06:01:31 +00:00
gpt-engineer-app[bot]
d477febbf5 Refactor code for stability 2025-03-18 05:57:55 +00:00
gpt-engineer-app[bot]
df60d11aa5 Fix transaction deletion issue
Addresses the issue where deleting transactions caused the homepage and expense page to freeze.
2025-03-18 05:52:14 +00:00
gpt-engineer-app[bot]
281e459f14 Fix recent transactions deletion
Fixes an issue where deleting transactions from the recent expenses section of the homepage resulted in a malfunction.
2025-03-18 05:46:05 +00:00
gpt-engineer-app[bot]
82ab8e3504 Reduce token usage
The prompt indicated that the previous implementation was consuming too many tokens. This commit aims to reduce token usage.
2025-03-18 05:42:34 +00:00
gpt-engineer-app[bot]
915967a9ac Fix deletion UI freeze
Addresses the issue where the UI becomes unresponsive after deleting a transaction.
2025-03-18 05:39:29 +00:00
gpt-engineer-app[bot]
152586cd1b Investigate transaction deletion issue
Further investigate the issue where deleting transactions causes the application to freeze.
2025-03-18 05:17:41 +00:00
gpt-engineer-app[bot]
2b8069a150 Review expense history page 2025-03-18 04:12:54 +00:00
gpt-engineer-app[bot]
a0074c2d1d Fix: Resolve duplicate function definition
The `deleteTransactionFromSupabase` function was defined in both `deleteTransactionStorage.ts` and `supabaseUtils.ts`. This commit removes the duplicate definition from `deleteTransactionStorage.ts` to resolve the error.
2025-03-18 04:07:57 +00:00
gpt-engineer-app[bot]
1dcd63cb12 Fix TypeScript errors
Fixes TypeScript errors related to type assignments and declaration conflicts. Specifically, addresses the type mismatch in `TransactionEditDialog.tsx` and declaration conflicts in `deleteTransactionStorage.ts`.
2025-03-18 04:07:08 +00:00
gpt-engineer-app[bot]
1fc2ee8a15 Fix transaction deletion issue
Addresses the issue where deleting transactions would sometimes cause the application to freeze.
2025-03-18 04:05:23 +00:00
gpt-engineer-app[bot]
a63c8f1b16 Fix: Resolve "useEffect" error
The code was throwing a "Cannot find name 'useEffect'" error. This commit fixes the error by importing the useEffect hook from react.
2025-03-18 03:53:15 +00:00
gpt-engineer-app[bot]
27b4e3274e Fix transaction deletion issue
Addresses the issue where deleting a transaction in the transaction history would cause the application to freeze.
2025-03-18 03:51:17 +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