Commit Graph

60 Commits

Author SHA1 Message Date
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
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]
f228410b83 Fix: Resolve Toast Type Error
The toast function was updated to correctly pass the 'id' property, resolving the TypeScript error.
2025-03-16 09:17:47 +00:00
gpt-engineer-app[bot]
7b50054da4 Fix TypeScript errors
Addresses TypeScript errors related to toast implementation and type definitions.
2025-03-16 09:15:27 +00:00
gpt-engineer-app[bot]
e392557b9c Fix data initialization and toast issues
- Ensure toast notifications disappear after data initialization.
- Resolve issues with expense items not displaying on the expense page.
- Fix graph display issues on the analytics screen.
- Prevent login screen from appearing after data initialization.
2025-03-16 08:49:04 +00:00
gpt-engineer-app[bot]
32a6832b84 Fix data loading issues
Addresses issues where budget data is missing on expense and analytics pages, and where transactions are being automatically created.
2025-03-16 08:10:31 +00:00
gpt-engineer-app[bot]
c5a5a20d36 Refactor data initialization process
Review and adjust the data initialization logic to ensure proper functionality.
2025-03-16 07:52:45 +00:00
gpt-engineer-app[bot]
a0866492ac Fix NaN percentage display
Ensure percentage displays 0 instead of NaN when budget target is zero.
2025-03-15 23:11:27 +00:00
gpt-engineer-app[bot]
d798632d05 Fix data initialization issue
The data initialization logic was not properly clearing existing data, leading to incorrect budget values. This commit ensures that all relevant data is cleared upon initialization.
2025-03-15 23:08:06 +00:00
gpt-engineer-app[bot]
f8abebcac6 Clear persistent budget data
Clear persistent budget data to ensure a clean state.
2025-03-15 23:03:44 +00:00
gpt-engineer-app[bot]
2ba8fdc31b Clear persistent data
Clear data that persists and is displayed in monthly graphs for analysis.
2025-03-15 22:59:37 +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]
af52ec897f Execute SQL queries
Run the provided SQL queries to create tables.
2025-03-15 16:34:20 +00:00
gpt-engineer-app[bot]
55958e9362 Update error message
Update the error message displayed during sign-up.
2025-03-15 15:52:33 +00:00
gpt-engineer-app[bot]
348194ccec Investigate login/signup failure
Investigate and address the "Failed to fetch" error during signup and login failures.
2025-03-15 15:48:52 +00:00
gpt-engineer-app[bot]
1c3c4f37e0 Update CORS proxy configuration 2025-03-15 15:41:32 +00:00
gpt-engineer-app[bot]
9e7cd1f074 Update default API URL
Update the default Supabase API URL to http://a11.ism.kr.
2025-03-15 15:20:26 +00:00
gpt-engineer-app[bot]
60adc4ce1f Remove offline mode
The offline mode was removed to focus on resolving connection issues instead of providing a workaround.
2025-03-15 15:06:37 +00:00
gpt-engineer-app[bot]
e52ca26cef Investigate login/register 404 errors
Investigate and address persistent 404 errors occurring during login and registration processes.
2025-03-15 15:01:48 +00:00
gpt-engineer-app[bot]
4a39c61976 Fix import path in Register
Corrected the import path for auth.utils in Register.tsx to resolve module not found error.
2025-03-15 13:51:31 +00:00
gpt-engineer-app[bot]
30d214b367 Refactor signIn and signUp
Refactor signIn.ts and signUp.ts files to improve maintainability.
2025-03-15 13:50:46 +00:00
gpt-engineer-app[bot]
5b73eddd4f Refactor auth.utils.ts
Refactor auth.utils.ts into smaller modules for better organization and maintainability. Split functions into networkUtils.ts, responseUtils.ts, and toastUtils.ts based on their purpose.
2025-03-15 13:48:29 +00:00
gpt-engineer-app[bot]
9ab2bf722a Refactor useLogin hook
Refactor the useLogin hook to separate login and table setup logic for better maintainability.
2025-03-15 13:11:33 +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