Commit Graph

44 Commits

Author SHA1 Message Date
gpt-engineer-app[bot]
606ac2f96a Reverted to edit edt-fb357fcb-7bf8-4196-adc5-e2dc2fed4b19: "Fix notch issue on iOS
Addresses the notch display issue on iOS devices."
2025-03-23 10:23:55 +00:00
gpt-engineer-app[bot]
d216daf2f4 Refactor code based on feedback
Refactor the code based on the provided feedback.
2025-03-23 10:22:23 +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]
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]
335848cca8 Refactor sync data module
Splits the large `src/utils/sync/data.ts` file into smaller, more manageable modules to improve code organization, readability, and maintainability.
2025-03-21 12:42:18 +00:00
gpt-engineer-app[bot]
66c7b5f132 Refactor uploadBudget module
Refactor the uploadBudget.ts file into smaller, more manageable modules to improve code readability and maintainability.
2025-03-21 12:40:06 +00:00
gpt-engineer-app[bot]
e03642a75e Fix type error in uploadBudget
The code was throwing a type error because it was comparing a value of type 'unknown' with a number. This commit fixes the error by ensuring that the value being compared is indeed a number.
2025-03-21 12:32:26 +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]
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
e633eb95d3 동기화 로직 최적화 및 타입 오류 수정
- SyncState 인터페이스 개선 및 타입 오류 해결
- withRetry 함수를 네트워크 유틸리티에서 재사용하여 코드 중복 제거
- 오류 처리 및 로깅 개선
- 트랜잭션 다운로드/업로드 로직 최적화
2025-03-21 17:35:26 +09:00
hansoo
2d08a7962b 문서 파일 정리 2025-03-21 16:08:43 +09: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]
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]
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]
dfb9d8ca69 Fix sync toggle issue
The sync toggle was not working as expected. This commit fixes the issue.
2025-03-18 01:42:00 +00:00
gpt-engineer-app[bot]
5f269040fd Revert sync behavior after data reset
The sync setting should be disabled after data reset.
2025-03-18 01:28:18 +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]
a6c751941c Fix budget display issue
The budget was incorrectly displayed as 90,000,000 instead of 3,000,000. This commit fixes the display issue on all pages and budget/expense cards.
2025-03-18 01:18:26 +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]
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
hansoo
acb9ae3d70 날짜 형식 처리 안정성 강화 및 트랜잭션 삭제 시 앱 먹통 문제 해결 2025-03-18 01:07:17 +09:00
gpt-engineer-app[bot]
f558a0149d Fix date format after sync
The date and time format was incorrect after syncing data from the cloud. This commit addresses the issue.
2025-03-16 10:48:06 +00:00
gpt-engineer-app[bot]
dab1a9cb84 Fix budget synchronization issue
Ensure budget data is also synchronized when syncing with cloud after local data deletion.
2025-03-16 10:30:38 +00:00
gpt-engineer-app[bot]
cbe931ecb3 Handle data reset with cloud sync
The prompt requests clarification on whether data reset should also delete cloud data when the user is logged in.
2025-03-16 10:18:16 +00:00
gpt-engineer-app[bot]
f2a941c3da Fix type errors in sync settings
This commit addresses several TypeScript errors in the sync settings component and related utility functions. It corrects type definitions for the sync result, ensures correct usage of the `setLastSyncTime` function, and fixes toast variants.
2025-03-16 10:13:54 +00:00
gpt-engineer-app[bot]
b0177ba5cd Fix budget synchronization issue
Ensure budget data is synchronized correctly after local data deletion.
2025-03-16 10:11:09 +00:00
gpt-engineer-app[bot]
74e7ea19fd Refactor transaction sync module
Refactors the transaction sync module for better organization.
2025-03-16 10:05:06 +00:00
gpt-engineer-app[bot]
e3e29d6ebe Refactor budget sync logic
Refactor budget sync logic into smaller modules.
2025-03-16 10:03:35 +00:00
gpt-engineer-app[bot]
67fc6be649 Fix sync error after login
Addresses an issue where a sync error occurs after the user logs in.
2025-03-16 10:02:27 +00:00
gpt-engineer-app[bot]
bdf1584095 Clarify data synchronization process
Clarify the data synchronization process and address a scenario where data is lost after logging out, initializing data, and logging back in.
2025-03-16 09:58:20 +00:00
gpt-engineer-app[bot]
439653fa2f Remove on-premise Supabase test code
Remove code related to on-premise Supabase testing.
2025-03-15 22:35:44 +00:00
gpt-engineer-app[bot]
f00c69a4ec Fix: Resolve syncAllData declaration conflict
The `syncAllData` function was declared in both `src/utils/sync/syncSettings.ts` and `src/utils/syncUtils.ts`, causing a conflict. This commit removes the duplicate declaration from `src/utils/sync/syncSettings.ts` to resolve the TypeScript error.
2025-03-15 12:14:15 +00:00
gpt-engineer-app[bot]
6991f5d27f Refactor syncSettings.ts
Refactor syncSettings.ts to improve modularity.
2025-03-15 12:13:19 +00:00
gpt-engineer-app[bot]
5089838a57 Configure Supabase environment variables
Sets Supabase URL and anon key using environment variables.
2025-03-15 06:28:59 +00:00
gpt-engineer-app[bot]
3bb4781ff0 Address accessibility issue
The screen was not visible. This commit addresses an accessibility issue.
2025-03-15 05:18:48 +00:00
gpt-engineer-app[bot]
1676fb1649 Fix display issue
Addresses a problem where the screen was not displaying correctly.
2025-03-15 05:17:38 +00:00
gpt-engineer-app[bot]
d74acdbbb8 Refactor syncUtils module
Refactor the syncUtils module to improve code organization and maintainability by breaking it down into smaller, more focused utility functions.
2025-03-15 05:12:43 +00:00