Commit Graph

97 Commits

Author SHA1 Message Date
gpt-engineer-app[bot]
6af72b9150 Fix network check for sync
The network check was incorrectly reporting a lack of connection when sync was enabled. This commit addresses the issue.
2025-03-22 13:41:13 +00:00
gpt-engineer-app[bot]
78da23abe6 Refactor RecentTransactionsSection
Further refactors RecentTransactionsSection to separate remaining logic. Creates additional hooks and utility files as needed.
2025-03-22 13:22:33 +00:00
gpt-engineer-app[bot]
5f0092edf2 Limit title suggestions per category
Limit the number of title suggestions stored per category to 10.
2025-03-22 13:17:16 +00:00
gpt-engineer-app[bot]
74f7282fac Refactor title suggestion logic
Implement new logic for title suggestions based on usage frequency.
2025-03-22 13:12:52 +00:00
gpt-engineer-app[bot]
3229913bde Fix persistent sync failure alerts
Addresses an issue where sync failures were repeatedly triggering notifications, even after the initial failure was acknowledged.
2025-03-22 13:07:18 +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]
c92d41e8f0 Address unresolved issues
This commit addresses previously reported issues that remain unresolved. Further investigation is required.
2025-03-22 08:26:29 +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]
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]
51bcdf2d05 Center align app version info
Center align the app version and description text in the settings page.
2025-03-21 13:17:30 +00:00
gpt-engineer-app[bot]
d099317ab6 Fix TypeScript error in platform.ts
The code was throwing a TypeScript error because the `Plugins` property was not found on the `CapacitorGlobal` type. This commit addresses this issue.
2025-03-21 13:06:46 +00:00
gpt-engineer-app[bot]
7071d435ae Refactor: Adapt to design changes
The design has been significantly updated, requiring code adjustments.
2025-03-21 13:04:57 +00:00
gpt-engineer-app[bot]
8193fda43f Reverted to edit edt-308e7f80-d1d7-4d72-9210-72d1422090e9: "Visual edit in Lovable
Edited UI in Lovable"
2025-03-21 13:02:57 +00:00
gpt-engineer-app[bot]
743ae5c598 Adapt layout for dynamic island
Adjust top margin based on platform to accommodate the dynamic island on iOS devices.
2025-03-21 12:58:52 +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]
cb29d6fe69 Fix: Match chart colors to category list
Updated the expense chart to use the same colors as the category spending list for 음식, 쇼핑, and 교통비.
2025-03-21 11:49:00 +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]
5903734503 Fix: Resolve initSyncSettings error
The commit fixes a TypeScript error in src/utils/syncUtils.ts where 'initSyncSettings' could not be found. This was resolved by ensuring the function is properly imported or defined within the scope of the module.
2025-03-21 11:32:48 +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
b3cc189493 네트워크 알림 OFF 및 ts 오류 수정 2025-03-21 17:09:26 +09:00
hansoo
3d246176ad 네트워크 알림 오류 수정 및 리팩토링 2025-03-21 17:00:01 +09:00
hansoo
96bda2de39 네트워크 끊김 알람 오류 수정 2025-03-21 16:32:36 +09:00
hansoo
2d08a7962b 문서 파일 정리 2025-03-21 16:08:43 +09:00
hansoo
86c0035561 네트워크 유틸리티 개선: 변수 선언 문제 해결 및 이벤트 핸들러 관리 개선 2025-03-21 15:45: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]
6861f4d88b Refactor: Improve code organization
Refactor signInUtils.ts and networkUtils.ts into smaller, more manageable files.
2025-03-18 06:18:00 +00:00
gpt-engineer-app[bot]
609c6703cc Refactor network utils for Cloud
Refactor src/utils/auth/network/networkUtils.ts to remove unnecessary code and simplify it for Supabase Cloud environment, especially cleaning up CORS proxy-related code.
2025-03-18 06:16:40 +00: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]
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]
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]
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