Commit Graph

45 Commits

Author SHA1 Message Date
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
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
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]
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]
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
gpt-engineer-app[bot]
88cc1af139 Refactor useTransactionsFiltering hook
Refactor the useTransactionsFiltering hook into smaller, more manageable units without changing functionality.
2025-03-17 22:41:30 +00:00
gpt-engineer-app[bot]
9db57e10db Refactor useTransactionsOperations hook
Refactor the useTransactionsOperations.ts file into smaller modules for better code organization and maintainability, without changing any functionality.
2025-03-17 16:39:10 +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
hansoo
acb9ae3d70 날짜 형식 처리 안정성 강화 및 트랜잭션 삭제 시 앱 먹통 문제 해결 2025-03-18 01:07:17 +09:00
hansoo
8efe62d9fd 트랜잭션 삭제 안정성 개선 및 앱 버전 정보 UI 개선
1. 트랜잭션 삭제 기능 안정성 개선:
   - 비동기 작업 최적화로 UI 응답성 향상
   - 메모리 누수 방지를 위한 취소 메커니즘 구현
   - 오류 처리 강화 및 UI 상태 복원 메커니즘 추가

2. 앱 버전 정보 표시 개선:
   - AppVersionInfo 컴포넌트 UI 디자인 개선
   - 설정 페이지 버전 정보 영역 스타일링 개선
   - 빌드 정보 즉시 로딩 구현

* 참고: UI 변경 사항이 포함되어 있으므로 Lovable 팀 리뷰 필요
2025-03-18 00:37:26 +09:00
gpt-engineer-app[bot]
d45e1bbf78 Refactor useTransactions hook
Refactor the useTransactions hook into smaller, more manageable files to improve code organization and maintainability. All existing functionality is preserved.
2025-03-16 09:39:56 +00:00
gpt-engineer-app[bot]
7ab79d125e Fix toast and data reset issues
- Resolved issue where budget creation toast appeared before expense creation toast.
- Fixed data reset causing a redirect to the login screen.
2025-03-16 09:13:08 +00:00
gpt-engineer-app[bot]
468bb79c9e Refactor useTransactions hook
Splits the useTransactions hook into smaller, more manageable files for improved code organization and maintainability. The original functionality of the hook remains unchanged.
2025-03-16 09:03:38 +00:00