Commit Graph

101 Commits

Author SHA1 Message Date
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
gpt-engineer-app[bot]
477e1ccbc0 Refactor: Split useTransactions hook
Splits the `useTransactions` hook into smaller, more manageable files for improved code organization and maintainability. No functional changes are included.
2025-03-15 10:22:51 +00:00
gpt-engineer-app[bot]
6cda809697 Reverted to edit edt-ac485f97-7774-4a29-9d0a-ec4295ecbab8: "Configure Supabase environment variables
Sets Supabase URL and anon key using environment variables."
2025-03-15 06:42:32 +00:00
gpt-engineer-app[bot]
b25add0cff Investigate Supabase API key issue
The prompt indicates a problem with the Supabase API key, so this commit investigates and addresses the issue.
2025-03-15 06:37:02 +00:00
gpt-engineer-app[bot]
38e2ebcd50 Add supabase functionality test
This commit adds a test to verify that Supabase is functioning correctly.
2025-03-15 06:33:29 +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
gpt-engineer-app[bot]
1ad6e5b685 Refactor form component
Refactor the form component to use a hybrid approach.
2025-03-15 05:09:25 +00:00