Commit Graph

99 Commits

Author SHA1 Message Date
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
gpt-engineer-app[bot]
5bf8ff6e3f Fix toast text alignment
The text in the toast notification was left-aligned instead of centered. This commit fixes the alignment issue.
2025-03-18 01:56:46 +00:00
gpt-engineer-app[bot]
043db23836 Ensure sync is disabled
The sync setting was not consistently being disabled in certain scenarios. This change ensures that the sync setting is properly disabled when expected.
2025-03-18 01:48:38 +00:00
gpt-engineer-app[bot]
b96e0877b7 Refactor useSyncSettings hook
Refactors the useSyncSettings hook into smaller, more manageable modules to improve code organization and maintainability. The functionality of the hook remains unchanged.
2025-03-18 01:24:31 +00:00
gpt-engineer-app[bot]
a4533aea70 Retain sync setting on reset
After data reset, the sync setting should remain in its previous state (On or Off) instead of always defaulting to Off.
2025-03-18 01:21:54 +00:00
gpt-engineer-app[bot]
da282cff5a Fix data loss on sync enable
Addresses an issue where budget data was lost when enabling sync after entering budget information.
2025-03-18 01:14:32 +00:00
gpt-engineer-app[bot]
71aebf8b5b Format dates for synchronization
Use ISO format for data synchronization and user-friendly format for display.
2025-03-17 23:47:05 +00:00
gpt-engineer-app[bot]
ce12e99f6d Fix transaction deletion issue
Addresses an issue where the application becomes unresponsive after deleting a transaction.
2025-03-17 23:41:03 +00:00
gpt-engineer-app[bot]
196c071b53 Fix undefined isCanceled variable
The variable `isCanceled` was not defined in the scope of the `setTimeout` callback within `deleteTransactionCore.ts`, leading to an error. This commit defines `isCanceled` within the scope to resolve the issue.
2025-03-17 23:38:44 +00:00
gpt-engineer-app[bot]
783dd9ce99 Fix transaction deletion issue
Addresses the issue where the transaction history page becomes unresponsive after deleting a transaction.
2025-03-17 23:37:06 +00:00
gpt-engineer-app[bot]
d48b866b3a Fix month display in transactions
Corrected the month display in the transactions list to remove the duplicate month number.
2025-03-17 23:33:46 +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]
a9974f9877 Refactor deleteTransaction hook
Refactors the `deleteTransaction` hook into smaller, more manageable units to improve code maintainability.
2025-03-17 23:25:30 +00:00
gpt-engineer-app[bot]
f1f9227abf Refactor Transactions page
Refactors the Transactions page into smaller, more manageable components to improve code organization and maintainability. The functionality remains the same.
2025-03-17 23:24:12 +00:00
gpt-engineer-app[bot]
dea8b9f8ba Fix type errors in filtering
Fixes type errors related to transaction filtering and property assignments.
2025-03-17 23:22:13 +00:00
gpt-engineer-app[bot]
d3e8119f24 Fix data reset and deletion issues
- Ensure complete cloud data deletion during data reset.
- Resolve app freeze issue when deleting transactions on the transaction history page.
2025-03-17 23:01:50 +00:00