Commit Graph

76 Commits

Author SHA1 Message Date
gpt-engineer-app[bot]
281e459f14 Fix recent transactions deletion
Fixes an issue where deleting transactions from the recent expenses section of the homepage resulted in a malfunction.
2025-03-18 05:46:05 +00:00
gpt-engineer-app[bot]
82ab8e3504 Reduce token usage
The prompt indicated that the previous implementation was consuming too many tokens. This commit aims to reduce token usage.
2025-03-18 05:42:34 +00:00
gpt-engineer-app[bot]
915967a9ac Fix deletion UI freeze
Addresses the issue where the UI becomes unresponsive after deleting a transaction.
2025-03-18 05:39:29 +00:00
gpt-engineer-app[bot]
152586cd1b Investigate transaction deletion issue
Further investigate the issue where deleting transactions causes the application to freeze.
2025-03-18 05:17:41 +00:00
gpt-engineer-app[bot]
2b8069a150 Review expense history page 2025-03-18 04:12:54 +00:00
gpt-engineer-app[bot]
a0074c2d1d Fix: Resolve duplicate function definition
The `deleteTransactionFromSupabase` function was defined in both `deleteTransactionStorage.ts` and `supabaseUtils.ts`. This commit removes the duplicate definition from `deleteTransactionStorage.ts` to resolve the error.
2025-03-18 04:07:57 +00:00
gpt-engineer-app[bot]
1dcd63cb12 Fix TypeScript errors
Fixes TypeScript errors related to type assignments and declaration conflicts. Specifically, addresses the type mismatch in `TransactionEditDialog.tsx` and declaration conflicts in `deleteTransactionStorage.ts`.
2025-03-18 04:07:08 +00:00
gpt-engineer-app[bot]
1fc2ee8a15 Fix transaction deletion issue
Addresses the issue where deleting transactions would sometimes cause the application to freeze.
2025-03-18 04:05:23 +00:00
gpt-engineer-app[bot]
a63c8f1b16 Fix: Resolve "useEffect" error
The code was throwing a "Cannot find name 'useEffect'" error. This commit fixes the error by importing the useEffect hook from react.
2025-03-18 03:53:15 +00:00
gpt-engineer-app[bot]
27b4e3274e Fix transaction deletion issue
Addresses the issue where deleting a transaction in the transaction history would cause the application to freeze.
2025-03-18 03:51:17 +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]
5bf8ff6e3f Fix toast text alignment
The text in the toast notification was left-aligned instead of centered. This commit fixes the alignment issue.
2025-03-18 01:56:46 +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]
b96e0877b7 Refactor useSyncSettings hook
Refactors the useSyncSettings hook into smaller, more manageable modules to improve code organization and maintainability. The functionality of the hook remains unchanged.
2025-03-18 01:24:31 +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]
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]
71aebf8b5b Format dates for synchronization
Use ISO format for data synchronization and user-friendly format for display.
2025-03-17 23:47:05 +00:00
gpt-engineer-app[bot]
ce12e99f6d Fix transaction deletion issue
Addresses an issue where the application becomes unresponsive after deleting a transaction.
2025-03-17 23:41:03 +00:00
gpt-engineer-app[bot]
196c071b53 Fix undefined isCanceled variable
The variable `isCanceled` was not defined in the scope of the `setTimeout` callback within `deleteTransactionCore.ts`, leading to an error. This commit defines `isCanceled` within the scope to resolve the issue.
2025-03-17 23:38:44 +00:00
gpt-engineer-app[bot]
783dd9ce99 Fix transaction deletion issue
Addresses the issue where the transaction history page becomes unresponsive after deleting a transaction.
2025-03-17 23:37:06 +00:00
gpt-engineer-app[bot]
d48b866b3a Fix month display in transactions
Corrected the month display in the transactions list to remove the duplicate month number.
2025-03-17 23:33:46 +00:00
gpt-engineer-app[bot]
042965461e Fix: Resolve issue with transaction display
Addresses a bug where transactions were not displayed on the transaction history page and expense amounts were showing as zero.
2025-03-17 23:32:02 +00:00
gpt-engineer-app[bot]
a9974f9877 Refactor deleteTransaction hook
Refactors the `deleteTransaction` hook into smaller, more manageable units to improve code maintainability.
2025-03-17 23:25:30 +00:00
gpt-engineer-app[bot]
f1f9227abf Refactor Transactions page
Refactors the Transactions page into smaller, more manageable components to improve code organization and maintainability. The functionality remains the same.
2025-03-17 23:24:12 +00:00
gpt-engineer-app[bot]
dea8b9f8ba Fix type errors in filtering
Fixes type errors related to transaction filtering and property assignments.
2025-03-17 23:22:13 +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
gpt-engineer-app[bot]
88cc1af139 Refactor useTransactionsFiltering hook
Refactor the useTransactionsFiltering hook into smaller, more manageable units without changing functionality.
2025-03-17 22:41:30 +00:00
gpt-engineer-app[bot]
9db57e10db Refactor useTransactionsOperations hook
Refactor the useTransactionsOperations.ts file into smaller modules for better code organization and maintainability, without changing any functionality.
2025-03-17 16:39:10 +00:00
gpt-engineer-app[bot]
a53717c502 Fix issue deleting transactions
Fixes an issue where deleting a transaction on the transaction history screen would cause the application to freeze.
2025-03-17 16:37:34 +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]
1d911153a7 Refactor SyncSettings component
Refactor SyncSettings component into smaller components and extract logic into a separate hook.
2025-03-16 10:40:07 +00:00
gpt-engineer-app[bot]
14c3fac824 Fix toast and sync settings
- Fix issue where toast notifications were not disappearing.
- Ensure sync settings are turned off upon logout.
2025-03-16 10:37:26 +00:00
gpt-engineer-app[bot]
8b7defb576 Refactor DataResetSection component
Refactor DataResetSection component into smaller components and extract logic into a separate hook for better maintainability.
2025-03-16 10:20:42 +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]
3f22e6c484 Refactor useToast hook into modules
The useToast hook was refactored into smaller, more manageable modules.
2025-03-16 09:48:44 +00:00
gpt-engineer-app[bot]
61acb461e0 Refactor useToast hook
The useToast hook was refactored into smaller, more manageable files to improve code organization and maintainability.
2025-03-16 09:47:29 +00:00
gpt-engineer-app[bot]
cd6c92d7de Refactor toast duplicate prevention
Refactor the toast wrapper to improve the logic for preventing duplicate toast messages.
2025-03-16 09:41:07 +00:00
gpt-engineer-app[bot]
d45e1bbf78 Refactor useTransactions hook
Refactor the useTransactions hook into smaller, more manageable files to improve code organization and maintainability. All existing functionality is preserved.
2025-03-16 09:39:56 +00:00
gpt-engineer-app[bot]
662cacbc99 Prevent duplicate toast notifications
The application was displaying duplicate toast notifications due to events being triggered multiple times. This commit prevents duplicate notifications.
2025-03-16 09:38:39 +00:00
gpt-engineer-app[bot]
2a70aa18b7 Fix TS2353 error in use-toast.ts
The 'open' property was not defined in the ToasterToast type, causing a TypeScript error. Updated the ToasterToast type definition to include the 'open' property.
2025-03-16 09:34:35 +00:00
gpt-engineer-app[bot]
2851f8d03c Fix: Resolve toast notification issue
The toast notifications were not displaying. This commit addresses the problem.
2025-03-16 09:33:24 +00:00
gpt-engineer-app[bot]
f7ad2b6d42 Fix import error in use-toast
The module '@/components/ui/use-toast' does not export 'useToastStore'. Remove the import.
2025-03-16 09:18:50 +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]
7ab79d125e Fix toast and data reset issues
- Resolved issue where budget creation toast appeared before expense creation toast.
- Fixed data reset causing a redirect to the login screen.
2025-03-16 09:13:08 +00:00
gpt-engineer-app[bot]
468bb79c9e Refactor useTransactions hook
Splits the useTransactions hook into smaller, more manageable files for improved code organization and maintainability. The original functionality of the hook remains unchanged.
2025-03-16 09:03:38 +00:00
gpt-engineer-app[bot]
da9120ba61 Fix analytics graph and toast
- Corrected analytics graph to only display budget data when budget is entered.
- Fixed issue where expense toast notifications were appearing twice.
2025-03-16 08:56:39 +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