Commit Graph

86 Commits

Author SHA1 Message Date
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
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
hansoo
8efe62d9fd 트랜잭션 삭제 안정성 개선 및 앱 버전 정보 UI 개선
1. 트랜잭션 삭제 기능 안정성 개선:
   - 비동기 작업 최적화로 UI 응답성 향상
   - 메모리 누수 방지를 위한 취소 메커니즘 구현
   - 오류 처리 강화 및 UI 상태 복원 메커니즘 추가

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

* 참고: UI 변경 사항이 포함되어 있으므로 Lovable 팀 리뷰 필요
2025-03-18 00:37:26 +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]
c3ddd3b88f Refactor network utils directory
Simplify the structure of the network utils directory for better maintainability.
2025-03-16 10:07:30 +00:00
gpt-engineer-app[bot]
776d0442aa Refactor networkUtils.ts
The file src/utils/auth/networkUtils.ts was too long, so it has been refactored into smaller files.
2025-03-16 10:06:21 +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